diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-10-17 17:33:55 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-10-17 17:33:55 +0200 |
| commit | 8d4761846e852d1147b982ca6c4d0199ee5746cf (patch) | |
| tree | 29b5d1b4ec5f10ff1641063f1e2968dc6b61206c /services/github.json | |
| parent | update all description to reflect recent changes in specifications (diff) | |
| download | api-description-8d4761846e852d1147b982ca6c4d0199ee5746cf.tar.gz | |
update description to current specification
Diffstat (limited to 'services/github.json')
| -rw-r--r-- | services/github.json | 210 |
1 files changed, 84 insertions, 126 deletions
diff --git a/services/github.json b/services/github.json index 2e5b161..fc84f07 100644 --- a/services/github.json +++ b/services/github.json @@ -1,226 +1,184 @@ { - "api_base_url" : "http://github.com/api/v2/", + "base_url" : "http://github.com/api/v2/", "version" : "0.2", "methods" : { "follow" : { - "params" : { - "required" : [ - "user", - "format" - ] - }, + "required_params" : [ + "user", + "format" + ], "path" : "/:format/user/follow/:user", "method" : "POST", "authentication" : true }, "user_search" : { - "params" : { - "required" : [ - "format", - "search" - ] - }, + "required_params" : [ + "format", + "search" + ], "path" : "/:format/user/search/:search", "method" : "GET" }, "unfollow" : { - "params" : { - "required" : [ - "user", - "format" - ] - }, + "required_params" : [ + "user", + "format" + ], "path" : "/:format/user/unfollow/:user", "method" : "POST", "authentication" : true }, "unwatch_repo" : { - "params" : { - "required" : [ - "format", - "user", - "repo" - ] - }, + "required_params" : [ + "format", + "user", + "repo" + ], "path" : "/:format/repos/unwatch/:user/:repo", "method" : "GET", "authentication" : true }, "user_information" : { - "params" : { - "required" : [ - "username", - "format" - ] - }, + "required_params" : [ + "username", + "format" + ], "path" : "/:format/user/show/:username", "method" : "GET" }, "list_public_keys" : { - "params" : { - "required" : [ - "format" - ] - }, + "required_params" : [ + "format" + ], "path" : "/:format/user/keys", "method" : "GET", "authentication" : true }, "repos_info" : { - "params" : { - "required" : [ - "format", - "user", - "repo" - ] - }, + "required_params" : [ + "format", + "user", + "repo" + ], "path" : "/:format/repos/:user/:repo", "method" : "GET" }, "add_public_key" : { - "params" : { - "required" : [ - "format" - ] - }, + "required_params" : [ + "format" + ], "path" : "/:format/user/key/add", "method" : "POST", "authentication" : true }, "fork_repos" : { - "params" : { - "required" : [ - "format", - "user", - "repo" - ] - }, + "required_params" : [ + "format", + "user", + "repo" + ], "path" : "/:format/repos/fork/:user/:repo", "method" : "GET", "authentication" : true }, "my_information" : { - "params" : { - "required" : [ - "username", - "format" - ] - }, + "required_params" : [ + "username", + "format" + ], "path" : "/:format/user/show/:username", "method" : "GET", "authentication" : true }, "list_all_repos" : { - "params" : { - "required" : [ - "format", - "user", - "repo" - ] - }, + "required_params" : [ + "format", + "user", + "repo" + ], "path" : "/:format/repos/show/:user", "method" : "GET" }, "repos_search" : { - "params" : { - "required" : [ - "format", - "q" - ] - }, + "required_params" : [ + "format", + "q" + ], "path" : "/:format/repos/search/:q", "method" : "GET" }, "update_profile" : { - "params" : { - "required" : [ - "username", - "format" - ] - }, + "required_params" : [ + "username", + "format" + ], "path" : "/:format/user/show/:username", "method" : "POST", "authentication" : true }, "watch_repo" : { - "params" : { - "required" : [ - "format", - "user", - "repo" - ] - }, + "required_params" : [ + "format", + "user", + "repo" + ], "path" : "/:format/repos/watch/:user/:repo", "method" : "GET", "authentication" : true }, "create_repo" : { - "params" : { - "required" : [ - "format" - ] - }, + "required_params" : [ + "format" + ], "path" : "/:format/repos/create", "method" : "POST", "authentication" : true }, "user_following" : { - "params" : { - "required" : [ - "user", - "format" - ] - }, + "required_params" : [ + "user", + "format" + ], "path" : "/:format/user/show/:user/following", "method" : "GET" }, "set_repo_info" : { - "params" : { - "required" : [ - "format", - "user", - "repo" - ] - }, + "required_params" : [ + "format", + "user", + "repo" + ], "path" : "/:format/repos/show/:user/:repo", "method" : "POST", "authentication" : true }, "watched_repos" : { - "params" : { - "required" : [ - "format", - "user" - ] - }, + "required_params" : [ + "format", + "user" + ], "path" : "/:format/user/watched/:user", "method" : "GET" }, "user_followers" : { - "params" : { - "required" : [ - "user", - "format" - ] - }, + "required_params" : [ + "user", + "format" + ], "path" : "/:format/user/show/:user/followers", "method" : "GET" }, "del_public_key" : { - "params" : { - "required" : [ - "format" - ] - }, + "required_params" : [ + "format" + ], "path" : "/:format/user/key/remove", "method" : "POST", "authentication" : true } }, "name" : "GitHub", - "author" : [ - "franck cuny <franck@lumberjaph.net>" - ], + "authority" : "GITHUB:franckcuny", "meta" : { "documentation" : "http://develop.github.com/" } |
