about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-26 16:26:04 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-26 16:26:04 +0200
commit9c2f13426e1153139b4fac6118f434f1b87e10f9 (patch)
tree0986deaa9797140086834ec199223665dd009453
parentspore2dot: fix authentication (diff)
downloadapi-description-9c2f13426e1153139b4fac6118f434f1b87e10f9.tar.gz
Github: some methods return raw data
-rw-r--r--services/github/gist.json3
-rw-r--r--services/github/object.json3
2 files changed, 4 insertions, 2 deletions
diff --git a/services/github/gist.json b/services/github/gist.json
index 5534f61..c10949f 100644
--- a/services/github/gist.json
+++ b/services/github/gist.json
@@ -33,6 +33,7 @@
    "authority" : "http://github.com/SPORE",
    "meta" : {
       "documentation" : "http://develop.github.com/",
-      "module" : "gist"
+      "module" : "gist",
+      "enable_if" : "get_gist_content"
    }
 }
diff --git a/services/github/object.json b/services/github/object.json
index 56ce32f..8891242 100644
--- a/services/github/object.json
+++ b/services/github/object.json
@@ -72,6 +72,7 @@
    "authority" : "http://github.com/SPORE",
    "meta" : {
       "documentation" : "http://develop.github.com/",
-      "module" : "object"
+      "module" : "object",
+      "enable_if" : "get_raw_blob"
    }
 }