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",