From 176f5ac67277e6ef190d09979fbb902193c8cfeb Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 28 Oct 2010 14:36:17 +0200 Subject: Github: rename some methods s/^get_/list_/; --- services/github/repository.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'services/github/repository.json') diff --git a/services/github/repository.json b/services/github/repository.json index 85c5246..d106c56 100644 --- a/services/github/repository.json +++ b/services/github/repository.json @@ -1,6 +1,6 @@ { "base_url" : "http://github.com/api/v2/", - "version" : "0.3", + "version" : "0.4", "methods" : { "repo_search" : { "path" : "/:format/repos/search/:q", @@ -47,7 +47,7 @@ ], "authentication" : true }, - "get_repos" : { + "list_repos" : { "path" : "/:format/repos/show/:user", "method" : "GET", "required_params" : [ @@ -135,7 +135,7 @@ ], "authentication" : true }, - "get_repo_keys" : { + "list_repo_keys" : { "path" : "/:format/repos/keys/:user/:repo", "method" : "GET", "required_params" : [ @@ -175,7 +175,7 @@ ], "authentication" : true }, - "get_collaborators" : { + "list_collaborators" : { "path" : "/:format/repos/show/:user/:repo/collaborators", "method" : "GET", "required_params" : [ @@ -207,7 +207,7 @@ ], "authentication" : true }, - "get_pushable" : { + "list_pushable" : { "path" : "/:format/repos/pushable", "method" : "GET", "required_params" : [ @@ -215,7 +215,7 @@ ], "authentication" : true }, - "get_contributors" : { + "list_contributors" : { "path" : "/:format/repos/show/:user/:repo/contributors", "method" : "GET", "required_params" : [ @@ -224,7 +224,7 @@ "repo" ] }, - "get_anon_contributors" : { + "list_anon_contributors" : { "path" : "/:format/repos/show/:user/:repo/contributors/anon", "method" : "GET", "required_params" : [ @@ -233,7 +233,7 @@ "repo" ] }, - "get_watchers" : { + "list_watchers" : { "path" : "/:format/repos/show/:user/:repo/watchers", "method" : "GET", "required_params" : [ @@ -242,7 +242,7 @@ "repo" ] }, - "get_network" : { + "list_network" : { "path" : "/:format/repos/show/:user/:repo/network", "method" : "GET", "required_params" : [ @@ -251,7 +251,7 @@ "repo" ] }, - "get_languages" : { + "list_languages" : { "path" : "/:format/repos/show/:user/:repo/languages", "method" : "GET", "required_params" : [ @@ -260,7 +260,7 @@ "repo" ] }, - "get_tags" : { + "list_tags" : { "path" : "/:format/repos/show/:user/:repo/tags", "method" : "GET", "required_params" : [ @@ -269,7 +269,7 @@ "repo" ] }, - "get_branches" : { + "list_branches" : { "path" : "/:format/repos/show/:user/:repo/branches", "method" : "GET", "required_params" : [ -- cgit v1.2.3