{ "base_url" : "http://github.com/api/v2/", "version" : "0.4", "methods" : { "repo_search" : { "path" : "/:format/repos/search/:q", "method" : "GET", "required_params" : [ "format", "q" ], "optional_params" : [ "start_page", "language" ] }, "get_repo_info" : { "path" : "/:format/repos/:user/:repo", "method" : "GET", "required_params" : [ "format", "user", "repo" ] }, "update_repo" : { "path" : "/:format/repos/show/:user/:repo", "method" : "POST", "form-data" : { "values[description]" : ":description", "values[homepage]" : ":homepage", "values[has_wiki]" : ":has_wiki", "values[has_issues]" : ":has_issues", "values[has_download]" : ":has_download" }, "required_params" : [ "format", "user", "repo" ], "optional_params" : [ "description", "homepage", "has_wiki", "has_issues", "has_download" ], "authentication" : true }, "list_repos" : { "path" : "/:format/repos/show/:user", "method" : "GET", "required_params" : [ "format", "user" ] }, "watch" : { "path" : "/:format/repos/watch/:user/:repo", "method" : "GET", "required_params" : [ "format", "user", "repo" ], "authentication" : true }, "unwatch" : { "path" : "/:format/repos/unwatch/:user/:repo", "method" : "GET", "required_params" : [ "format", "user", "repo" ], "authentication" : true }, "fork" : { "path" : "/:format/repos/fork/:user/:repo", "method" : "GET", "required_params" : [ "format", "user", "repo" ], "authentication" : true }, "create_repo" : { "path" : "/:format/repos/create", "method" : "POST", "form-data" : { "name" : ":name", "description" : ":description", "homepage" : ":homepage", "public" : ":public" }, "required_params" : [ "format", "name" ], "optional_params" : [ "description", "homepage", "public" ], "authentication" : true }, "delete_repo" : { "path" : "/:format/repos/delete/:user/:repo", "method" : "POST", "required_params" : [ "format", "user", "repo" ], "authentication" : true }, "set_private" : { "path" : "/:format/repos/set/private/:user/:repo", "method" : "POST", "required_params" : [ "format", "user", "repo" ], "authentication" : true }, "set_public" : { "path" : "/:format/repos/set/public/:user/:repo", "method" : "POST", "required_params" : [ "format", "user", "repo" ], "authentication" : true }, "list_repo_keys" : { "path" : "/:format/repos/keys/:user/:repo", "method" : "GET", "required_params" : [ "format", "user", "repo" ], "authentication" : true }, "add_repo_key" : { "path" : "/:format/repos/key/:user/:repo/add", "method" : "POST", "form-data" : { "title" : ":title", "key" : ":key" }, "required_params" : [ "format", "user", "repo", "title", "key" ], "authentication" : true }, "remove_repo_key" : { "path" : "/:format/repos/key/:user/:repo/remove", "method" : "POST", "form-data" : { "id" : ":id" }, "required_params" : [ "format", "user", "repo", "id" ], "authentication" : true }, "list_collaborators" : { "path" : "/:format/repos/show/:user/:repo/collaborators", "method" : "GET", "required_params" : [ "format", "user", "repo" ], "authentication" : true }, "add_collaborator" : { "path" : "/:format/repos/collaborators/:user/:repo/add/:collaborator", "method" : "POST", "required_params" : [ "format", "user", "repo", "collaborator" ], "authentication" : true }, "remove_collaborator" : { "path" : "/:format/repos/collaborators/:user/:repo/remove/:collaborator", "method" : "POST", "required_params" : [ "format", "user", "repo", "collaborator" ], "authentication" : true }, "list_pushable" : { "path" : "/:format/repos/pushable", "method" : "GET", "required_params" : [ "format" ], "authentication" : true }, "list_contributors" : { "path" : "/:format/repos/show/:user/:repo/contributors", "method" : "GET", "required_params" : [ "format", "user", "repo" ] }, "list_anon_contributors" : { "path" : "/:format/repos/show/:user/:repo/contributors/anon", "method" : "GET", "required_params" : [ "format", "user", "repo" ] }, "list_watchers" : { "path" : "/:format/repos/show/:user/:repo/watchers", "method" : "GET", "required_params" : [ "format", "user", "repo" ] }, "list_network" : { "path" : "/:format/repos/show/:user/:repo/network", "method" : "GET", "required_params" : [ "format", "user", "repo" ] }, "list_languages" : { "path" : "/:format/repos/show/:user/:repo/languages", "method" : "GET", "required_params" : [ "format", "user", "repo" ] }, "list_tags" : { "path" : "/:format/repos/show/:user/:repo/tags", "method" : "GET", "required_params" : [ "format", "user", "repo" ] }, "list_branches" : { "path" : "/:format/repos/show/:user/:repo/branches", "method" : "GET", "required_params" : [ "format", "user", "repo" ] } }, "expected_status" : [ 200 ], "name" : "GitHub", "authority" : "http://github.com/SPORE", "meta" : { "documentation" : "http://develop.github.com/", "module" : "repository" } }