diff options
Diffstat (limited to 'services/github/object.json')
| -rw-r--r-- | services/github/object.json | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/services/github/object.json b/services/github/object.json new file mode 100644 index 0000000..56ce32f --- /dev/null +++ b/services/github/object.json @@ -0,0 +1,77 @@ +{ + "base_url" : "http://github.com/api/v2/", + "version" : "0.3", + "methods" : { + "get_tree" : { + "path" : "/:format/tree/show/:user/:repo/:tree_sha", + "method" : "GET", + "required_params" : [ + "format", + "user", + "repo", + "tree_sha" + ] + }, + "get_blob" : { + "path" : "/:format/blob/show/:user/:repo/:tree_sha/:path", + "method" : "GET", + "required_params" : [ + "format", + "user", + "repo", + "tree_sha", + "path" + ], + "optional_params" : [ + "meta" + ] + }, + "get_blobs" : { + "path" : "/:format/blob/all/:user/:repo/:tree_sha", + "method" : "GET", + "required_params" : [ + "format", + "user", + "repo", + "sha" + ] + }, + "get_full_blobs" : { + "path" : "/:format/blob/full/:user/:repo/:tree_sha", + "method" : "GET", + "required_params" : [ + "format", + "user", + "repo", + "tree_sha" + ] + }, + "get_full_tree" : { + "path" : "/:format/tree/full/:user/:repo/:tree_sha", + "method" : "GET", + "required_params" : [ + "format", + "user", + "repo", + "tree_sha" + ] + }, + "get_raw_blob" : { + "path" : "/:format/blob/show/:user/:repo/:sha", + "method" : "GET", + "required_params" : [ + "format", + "user", + "repo", + "sha" + ] + } + }, + "expected_status" : [ 200 ], + "name" : "GitHub", + "authority" : "http://github.com/SPORE", + "meta" : { + "documentation" : "http://develop.github.com/", + "module" : "object" + } +} |
