about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-23 10:38:36 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-23 10:38:36 +0200
commit110fc250c2835338f06563793df3f22099cd084e (patch)
tree2c6fb119289e70a1ad6403c20abc8564ae859781
parentmodularized version of github API (diff)
downloadapi-description-110fc250c2835338f06563793df3f22099cd084e.tar.gz
my_information doesn't need username
-rw-r--r--services/github.json3
-rw-r--r--services/github/user.json3
2 files changed, 2 insertions, 4 deletions
diff --git a/services/github.json b/services/github.json
index fc84f07..e480639 100644
--- a/services/github.json
+++ b/services/github.json
@@ -83,10 +83,9 @@
       },
       "my_information" : {
          "required_params" : [
-            "username",
             "format"
          ],
-         "path" : "/:format/user/show/:username",
+         "path" : "/:format/user/show",
          "method" : "GET",
          "authentication" : true
       },
diff --git a/services/github/user.json b/services/github/user.json
index 98a488c..5b35765 100644
--- a/services/github/user.json
+++ b/services/github/user.json
@@ -20,10 +20,9 @@
       },
       "my_information" : {
          "required_params" : [
-            "username",
             "format"
          ],
-         "path" : "/:format/user/show/:username",
+         "path" : "/:format/user/show",
          "method" : "GET",
          "authentication" : true
       },