diff options
| author | Francois Perrad <francois.perrad@gadz.org> | 2010-10-26 15:34:41 +0200 |
|---|---|---|
| committer | Francois Perrad <francois.perrad@gadz.org> | 2010-10-26 15:34:41 +0200 |
| commit | 70299c8d48ba01c4052554e4fa895e7e59d6fc08 (patch) | |
| tree | 4f0efeea3b244d89e464ad2507afa7032acbc9fa /services/github/object.json | |
| parent | spore2dot: refactor without read_from_json() (diff) | |
| download | api-description-70299c8d48ba01c4052554e4fa895e7e59d6fc08.tar.gz | |
Github: API completed
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" + } +} |
