diff options
author | franck cuny <franck@lumberjaph.net> | 2010-09-13 16:15:17 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-09-13 16:15:17 +0200 |
commit | 5afc75f0688077ebe248dbda636957d0096c6992 (patch) | |
tree | e608eb5db831300a9f39156e86d42fc631474c57 | |
parent | update twitter api (diff) | |
download | api-description-5afc75f0688077ebe248dbda636957d0096c6992.tar.gz |
update github
-rw-r--r-- | services/github.json | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/services/github.json b/services/github.json index 2e9b4eb..d76efa0 100644 --- a/services/github.json +++ b/services/github.json @@ -2,6 +2,42 @@ "api_base_url" : "http://github.com/api/v2/", "version" : "0.1", "methods" : { + "follow" : { + "required" : [ + "user", + "format" + ], + "path" : "/:format/user/follow/:user", + "method" : "POST", + "authentication" : "1" + }, + "user_search" : { + "required" : [ + "format", + "search" + ], + "path" : "/:format/user/search/:search", + "method" : "GET" + }, + "unfollow" : { + "required" : [ + "user", + "format" + ], + "path" : "/:format/user/unfollow/:user", + "method" : "POST", + "authentication" : "1" + }, + "unwatch_repo" : { + "required" : [ + "format", + "user", + "repo" + ], + "path" : "/:format/repos/unwatch/:user/:repo", + "method" : "GET", + "authentication" : "1" + }, "user_information" : { "required" : [ "username", @@ -10,13 +46,135 @@ "path" : "/:format/user/show/:username", "method" : "GET" }, + "list_public_keys" : { + "required" : [ + "format" + ], + "path" : "/:format/user/keys", + "method" : "GET", + "authentication" : "1" + }, + "repos_info" : { + "required" : [ + "format", + "user", + "repo" + ], + "path" : "/:format/repos/:user/:repo", + "method" : "GET" + }, + "add_public_key" : { + "required" : [ + "format" + ], + "path" : "/:format/user/key/add", + "method" : "POST", + "authentication" : "1" + }, + "fork_repos" : { + "required" : [ + "format", + "user", + "repo" + ], + "path" : "/:format/repos/fork/:user/:repo", + "method" : "GET", + "authentication" : "1" + }, + "my_information" : { + "required" : [ + "username", + "format" + ], + "path" : "/:format/user/show/:username", + "method" : "GET", + "authentication" : "1" + }, + "list_all_repos" : { + "required" : [ + "format", + "user", + "repo" + ], + "path" : "/:format/repos/show/:user", + "method" : "GET" + }, + "repos_search" : { + "required" : [ + "format", + "q" + ], + "path" : "/:format/repos/search/:q", + "method" : "GET" + }, + "update_profile" : { + "required" : [ + "username", + "format" + ], + "path" : "/:format/user/show/:username", + "method" : "POST", + "authentication" : "1" + }, + "watch_repo" : { + "required" : [ + "format", + "user", + "repo" + ], + "path" : "/:format/repos/watch/:user/:repo", + "method" : "GET", + "authentication" : "1" + }, + "create_repo" : { + "required" : [ + "format" + ], + "path" : "/:format/repos/create", + "method" : "POST", + "authentication" : "1" + }, "user_following" : { "required" : [ "user", "format" ], + "path" : "/:format/user/show/:user/following", + "method" : "GET" + }, + "set_repo_info" : { + "required" : [ + "format", + "user", + "repo" + ], + "path" : "/:format/repos/show/:user/:repo", + "method" : "POST", + "authentication" : "1" + }, + "watched_repos" : { + "required" : [ + "format", + "user" + ], + "path" : "/:format/user/watched/:user", + "method" : "GET" + }, + "user_followers" : { + "required" : [ + "user", + "format" + ], "path" : "/:format/user/show/:user/followers", "method" : "GET" + }, + "del_public_key" : { + "required" : [ + "format" + ], + "path" : "/:format/user/key/remove", + "method" : "POST", + "authentication" : "1" } }, "name" : "GitHub", |