summaryrefslogtreecommitdiff
path: root/eg/github.yaml
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-08-31 15:40:13 +0200
committerfranck cuny <franck@lumberjaph.net>2010-08-31 15:40:13 +0200
commit945412cd8fad832f7bea42ac3191867287a9a3c0 (patch)
treef6b70e8fce7eefaa2ad01f8d1d3f3ed053d50af6 /eg/github.yaml
downloadnet-http-api-spec-945412cd8fad832f7bea42ac3191867287a9a3c0.tar.gz
initial import
Diffstat (limited to '')
-rw-r--r--eg/github.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/eg/github.yaml b/eg/github.yaml
new file mode 100644
index 0000000..c28e370
--- /dev/null
+++ b/eg/github.yaml
@@ -0,0 +1,19 @@
+declare:
+ api_base_url: http://github.com/api/v2/
+ api_format: JSON
+ api_format_mode: content-type
+methods:
+ user_information:
+ method: GET
+ path: /user/show/:username
+ params:
+ - username
+ required:
+ - username
+ user_following:
+ method: GET
+ path: /user/show/:user/followers
+ params:
+ - user
+ required:
+ - user