diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-08-31 15:40:13 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-08-31 15:40:13 +0200 |
| commit | 945412cd8fad832f7bea42ac3191867287a9a3c0 (patch) | |
| tree | f6b70e8fce7eefaa2ad01f8d1d3f3ed053d50af6 /eg/github.json | |
| download | net-http-api-spec-945412cd8fad832f7bea42ac3191867287a9a3c0.tar.gz | |
initial import
Diffstat (limited to 'eg/github.json')
| -rw-r--r-- | eg/github.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/eg/github.json b/eg/github.json new file mode 100644 index 0000000..52513d1 --- /dev/null +++ b/eg/github.json @@ -0,0 +1,31 @@ +{ + "declare" : { + "api_base_url" : "http://github.com/api/v2/", + "api_format_mode" : "content-type", + "api_format" : "json" + }, + "methods" : { + "user_information" : { + "params" : [ + "username", + "format" + ], + "required" : [ + "username", + "format" + ], + "path" : "/:format/user/show/:username", + "method" : "GET" + }, + "user_following" : { + "params" : [ + "user" + ], + "required" : [ + "user" + ], + "path" : "/user/show/:user/followers", + "method" : "GET" + } + } +} |
