summary refs log tree commit diff
path: root/eg/github.json
blob: 44a295e215103a515840529cf56892143143f704 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
   "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",
            "format"
         ],
         "required" : [
            "user",
            "format"
         ],
         "path" : "/:format/user/show/:user/followers",
         "method" : "GET"
      }
   }
}