about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-28 14:36:17 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-28 14:36:17 +0200
commit176f5ac67277e6ef190d09979fbb902193c8cfeb (patch)
tree9ab9fe48f3a498d2b743c9d49f56e9269f508d3c
parentGithub/network: missing params (diff)
downloadapi-description-176f5ac67277e6ef190d09979fbb902193c8cfeb.tar.gz
Github: rename some methods
s/^get_/list_/;
-rw-r--r--services/github.json58
-rw-r--r--services/github.pngbin199198 -> 192731 bytes
-rw-r--r--services/github/commit.json6
-rw-r--r--services/github/gist.json4
-rw-r--r--services/github/github.pngbin195024 -> 196502 bytes
-rw-r--r--services/github/issue.json10
-rw-r--r--services/github/network.json4
-rw-r--r--services/github/object.json10
-rw-r--r--services/github/repository.json24
-rw-r--r--services/github/user.json12
10 files changed, 64 insertions, 64 deletions
diff --git a/services/github.json b/services/github.json
index e5afd53..a58481a 100644
--- a/services/github.json
+++ b/services/github.json
@@ -1,6 +1,6 @@
 {
    "base_url" : "http://github.com/api/v2/",
-   "version" : "0.3",
+   "version" : "0.4",
    "methods" : {
       "user_search" : {
          "path" : "/:format/user/search/:search",
@@ -49,7 +49,7 @@
          ],
          "authentication" : true
       },
-      "get_following" : {
+      "list_following" : {
          "path" : "/:format/user/show/:user/following",
          "method" : "GET",
          "required_params" : [
@@ -57,7 +57,7 @@
             "user"
          ]
       },
-      "get_followers" : {
+      "list_followers" : {
          "path" : "/:format/user/show/:user/followers",
          "method" : "GET",
          "required_params" : [
@@ -83,7 +83,7 @@
          ],
          "authentication" : true
       },
-      "get_watched_repos" : {
+      "list_watched_repos" : {
          "path" : "/:format/repos/watched/:user",
          "method" : "GET",
          "required_params" : [
@@ -91,7 +91,7 @@
             "user"
          ]
       },
-      "get_keys" : {
+      "list_keys" : {
          "path" : "/:format/user/keys",
          "method" : "GET",
          "required_params" : [
@@ -125,7 +125,7 @@
          ],
          "authentication" : true
       },
-      "get_emails" : {
+      "list_emails" : {
          "path" : "/:format/user/emails",
          "method" : "GET",
          "required_params" : [
@@ -169,7 +169,7 @@
             "search_term"
          ]
       },
-      "get_issues" : {
+      "list_issues" : {
          "path" : "/:format/issues/list/:user/:repo/:state",
          "method" : "GET",
          "required_params" : [
@@ -179,7 +179,7 @@
             "state"
          ]
       },
-      "get_issues_by_label" : {
+      "list_issues_by_label" : {
          "path" : "/:format/issues/list/:user/:repo/label/:label",
          "method" : "GET",
          "required_params" : [
@@ -199,7 +199,7 @@
             "number"
          ]
       },
-      "get_comments" : {
+      "list_comments" : {
          "path" : "/:format/issues/comments/:user/:repo/:number",
          "method" : "GET",
          "required_params" : [
@@ -268,7 +268,7 @@
          ],
          "authentication" : true
       },
-      "get_labels" : {
+      "list_labels" : {
          "path" : "/:format/issues/labels/:user/:repo",
          "method" : "GET",
          "required_params" : [
@@ -335,7 +335,7 @@
             "filename"
          ]
       },
-      "get_gists" : {
+      "list_gists" : {
          "base_url" : "http://gist.github.com/api/v1/",
          "path" : "/:format/gists/:login",
          "method" : "GET",
@@ -353,7 +353,7 @@
             "repo"
          ]
       },
-      "get_network_data" : {
+      "list_network_data" : {
          "path" : "/:user/:repo/network_data_chunk",
          "method" : "GET",
          "required_params" : [
@@ -412,7 +412,7 @@
          ],
          "authentication" : true
       },
-      "get_repos" : {
+      "list_repos" : {
          "path" : "/:format/repos/show/:user",
          "method" : "GET",
          "required_params" : [
@@ -500,7 +500,7 @@
          ],
          "authentication" : true
       },
-      "get_repo_keys" : {
+      "list_repo_keys" : {
          "path" : "/:format/repos/keys/:user/:repo",
          "method" : "GET",
          "required_params" : [
@@ -540,7 +540,7 @@
          ],
          "authentication" : true
       },
-      "get_collaborators" : {
+      "list_collaborators" : {
          "path" : "/:format/repos/show/:user/:repo/collaborators",
          "method" : "GET",
          "required_params" : [
@@ -572,7 +572,7 @@
          ],
          "authentication" : true
       },
-      "get_pushable" : {
+      "list_pushable" : {
          "path" : "/:format/repos/pushable",
          "method" : "GET",
          "required_params" : [
@@ -580,7 +580,7 @@
          ],
          "authentication" : true
       },
-      "get_contributors" : {
+      "list_contributors" : {
          "path" : "/:format/repos/show/:user/:repo/contributors",
          "method" : "GET",
          "required_params" : [
@@ -589,7 +589,7 @@
             "repo"
          ]
       },
-      "get_anon_contributors" : {
+      "list_anon_contributors" : {
          "path" : "/:format/repos/show/:user/:repo/contributors/anon",
          "method" : "GET",
          "required_params" : [
@@ -598,7 +598,7 @@
             "repo"
          ]
       },
-      "get_watchers" : {
+      "list_watchers" : {
          "path" : "/:format/repos/show/:user/:repo/watchers",
          "method" : "GET",
          "required_params" : [
@@ -607,7 +607,7 @@
             "repo"
          ]
       },
-      "get_network" : {
+      "list_network" : {
          "path" : "/:format/repos/show/:user/:repo/network",
          "method" : "GET",
          "required_params" : [
@@ -616,7 +616,7 @@
             "repo"
          ]
       },
-      "get_languages" : {
+      "list_languages" : {
          "path" : "/:format/repos/show/:user/:repo/languages",
          "method" : "GET",
          "required_params" : [
@@ -625,7 +625,7 @@
             "repo"
          ]
       },
-      "get_tags" : {
+      "list_tags" : {
          "path" : "/:format/repos/show/:user/:repo/tags",
          "method" : "GET",
          "required_params" : [
@@ -634,7 +634,7 @@
             "repo"
          ]
       },
-      "get_branches" : {
+      "list_branches" : {
          "path" : "/:format/repos/show/:user/:repo/branches",
          "method" : "GET",
          "required_params" : [
@@ -644,7 +644,7 @@
          ]
       },
 
-      "get_commits" : {
+      "list_commits" : {
          "path" : "/:format/commits/list/:user/:repo/:branch",
          "method" : "GET",
          "required_params" : [
@@ -654,7 +654,7 @@
             "branch"
          ]
       },
-      "get_file_commits" : {
+      "list_file_commits" : {
          "path" : "/:format/commits/list/:user/:repo/:branch/:path",
          "method" : "GET",
          "required_params" : [
@@ -676,7 +676,7 @@
          ]
       },
 
-      "get_tree" : {
+      "list_tree" : {
          "path" : "/:format/tree/show/:user/:repo/:tree_sha",
          "method" : "GET",
          "required_params" : [
@@ -700,7 +700,7 @@
             "meta"
          ]
       },
-      "get_blobs" : {
+      "list_blobs" : {
          "path" : "/:format/blob/all/:user/:repo/:tree_sha",
          "method" : "GET",
          "required_params" : [
@@ -710,7 +710,7 @@
             "sha"
          ]
       },
-      "get_full_blobs" : {
+      "list_full_blobs" : {
          "path" : "/:format/blob/full/:user/:repo/:tree_sha",
          "method" : "GET",
          "required_params" : [
@@ -720,7 +720,7 @@
             "tree_sha"
          ]
       },
-      "get_full_tree" : {
+      "list_full_tree" : {
          "path" : "/:format/tree/full/:user/:repo/:tree_sha",
          "method" : "GET",
          "required_params" : [
diff --git a/services/github.png b/services/github.png
index 96ff922..d128b2c 100644
--- a/services/github.png
+++ b/services/github.png
Binary files differdiff --git a/services/github/commit.json b/services/github/commit.json
index 8fe4823..3abd9e8 100644
--- a/services/github/commit.json
+++ b/services/github/commit.json
@@ -1,8 +1,8 @@
 {
    "base_url" : "http://github.com/api/v2/",
-   "version" : "0.3",
+   "version" : "0.4",
    "methods" : {
-      "get_commits" : {
+      "list_commits" : {
          "path" : "/:format/commits/list/:user/:repo/:branch",
          "method" : "GET",
          "required_params" : [
@@ -12,7 +12,7 @@
             "branch"
          ]
       },
-      "get_file_commits" : {
+      "list_file_commits" : {
          "path" : "/:format/commits/list/:user/:repo/:branch/:path",
          "method" : "GET",
          "required_params" : [
diff --git a/services/github/gist.json b/services/github/gist.json
index c10949f..3cc7614 100644
--- a/services/github/gist.json
+++ b/services/github/gist.json
@@ -1,6 +1,6 @@
 {
    "base_url" : "http://gist.github.com/api/v1/",
-   "version" : "0.3",
+   "version" : "0.4",
    "methods" : {
       "get_gist_info" : {
          "path" : "/:format/:gist_id",
@@ -19,7 +19,7 @@
             "filename"
          ]
       },
-      "get_gists" : {
+      "list_gists" : {
          "path" : "/:format/gists/:login",
          "method" : "GET",
          "required_params" : [
diff --git a/services/github/github.png b/services/github/github.png
index 1d2b070..103c83e 100644
--- a/services/github/github.png
+++ b/services/github/github.png
Binary files differdiff --git a/services/github/issue.json b/services/github/issue.json
index f574c01..e269a24 100644
--- a/services/github/issue.json
+++ b/services/github/issue.json
@@ -1,6 +1,6 @@
 {
    "base_url" : "http://github.com/api/v2/",
-   "version" : "0.3",
+   "version" : "0.4",
    "methods" : {
       "issue_search" : {
          "path" : "/:format/issues/search/:user/:repo/:state/:search_term",
@@ -13,7 +13,7 @@
             "search_term"
          ]
       },
-      "get_issues" : {
+      "list_issues" : {
          "path" : "/:format/issues/list/:user/:repo/:state",
          "method" : "GET",
          "required_params" : [
@@ -23,7 +23,7 @@
             "state"
          ]
       },
-      "get_issues_by_label" : {
+      "list_issues_by_label" : {
          "path" : "/:format/issues/list/:user/:repo/label/:label",
          "method" : "GET",
          "required_params" : [
@@ -43,7 +43,7 @@
             "number"
          ]
       },
-      "get_comments" : {
+      "list_comments" : {
          "path" : "/:format/issues/comments/:user/:repo/:number",
          "method" : "GET",
          "required_params" : [
@@ -112,7 +112,7 @@
          ],
          "authentication" : true
       },
-      "get_labels" : {
+      "list_labels" : {
          "path" : "/:format/issues/labels/:user/:repo",
          "method" : "GET",
          "required_params" : [
diff --git a/services/github/network.json b/services/github/network.json
index fc765d7..bb8792d 100644
--- a/services/github/network.json
+++ b/services/github/network.json
@@ -1,6 +1,6 @@
 {
    "base_url" : "http://github.com/api/v2/",
-   "version" : "0.3",
+   "version" : "0.4",
    "methods" : {
       "get_network_meta" : {
          "path" : "/:user/:repo/network_meta",
@@ -10,7 +10,7 @@
             "repo"
          ]
       },
-      "get_network_data" : {
+      "list_network_data" : {
          "path" : "/:user/:repo/network_data_chunk",
          "method" : "GET",
          "required_params" : [
diff --git a/services/github/object.json b/services/github/object.json
index 8891242..08ece21 100644
--- a/services/github/object.json
+++ b/services/github/object.json
@@ -1,8 +1,8 @@
 {
    "base_url" : "http://github.com/api/v2/",
-   "version" : "0.3",
+   "version" : "0.4",
    "methods" : {
-      "get_tree" : {
+      "list_tree" : {
          "path" : "/:format/tree/show/:user/:repo/:tree_sha",
          "method" : "GET",
          "required_params" : [
@@ -26,7 +26,7 @@
             "meta"
          ]
       },
-      "get_blobs" : {
+      "list_blobs" : {
          "path" : "/:format/blob/all/:user/:repo/:tree_sha",
          "method" : "GET",
          "required_params" : [
@@ -36,7 +36,7 @@
             "sha"
          ]
       },
-      "get_full_blobs" : {
+      "list_full_blobs" : {
          "path" : "/:format/blob/full/:user/:repo/:tree_sha",
          "method" : "GET",
          "required_params" : [
@@ -46,7 +46,7 @@
             "tree_sha"
          ]
       },
-      "get_full_tree" : {
+      "list_full_tree" : {
          "path" : "/:format/tree/full/:user/:repo/:tree_sha",
          "method" : "GET",
          "required_params" : [
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" : [
diff --git a/services/github/user.json b/services/github/user.json
index 60a1875..5f5399e 100644
--- a/services/github/user.json
+++ b/services/github/user.json
@@ -1,6 +1,6 @@
 {
    "base_url" : "http://github.com/api/v2/",
-   "version" : "0.3",
+   "version" : "0.4",
    "methods" : {
       "user_search" : {
          "path" : "/:format/user/search/:search",
@@ -49,7 +49,7 @@
          ],
          "authentication" : true
       },
-      "get_following" : {
+      "list_following" : {
          "path" : "/:format/user/show/:user/following",
          "method" : "GET",
          "required_params" : [
@@ -57,7 +57,7 @@
             "user"
          ]
       },
-      "get_followers" : {
+      "list_followers" : {
          "path" : "/:format/user/show/:user/followers",
          "method" : "GET",
          "required_params" : [
@@ -83,7 +83,7 @@
          ],
          "authentication" : true
       },
-      "get_watched_repos" : {
+      "list_watched_repos" : {
          "path" : "/:format/repos/watched/:user",
          "method" : "GET",
          "required_params" : [
@@ -91,7 +91,7 @@
             "user"
          ]
       },
-      "get_keys" : {
+      "list_keys" : {
          "path" : "/:format/user/keys",
          "method" : "GET",
          "required_params" : [
@@ -125,7 +125,7 @@
          ],
          "authentication" : true
       },
-      "get_emails" : {
+      "list_emails" : {
          "path" : "/:format/user/emails",
          "method" : "GET",
          "required_params" : [