summaryrefslogtreecommitdiff
path: root/services/github/gist.json
blob: 3cc7614658dcee792dc2fcffe224f9433a2bf54d (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
34
35
36
37
38
39
{
   "base_url" : "http://gist.github.com/api/v1/",
   "version" : "0.4",
   "methods" : {
      "get_gist_info" : {
         "path" : "/:format/:gist_id",
         "method" : "GET",
         "required_params" : [
            "format",
            "gist_id"
         ]
      },
      "get_gist_content" : {
         "base_url" : "http://gist.github.com/",
         "path" : "/raw/:gist_id/:filename",
         "method" : "GET",
         "required_params" : [
            "gist_id",
            "filename"
         ]
      },
      "list_gists" : {
         "path" : "/:format/gists/:login",
         "method" : "GET",
         "required_params" : [
            "format",
            "login"
         ]
      }
   },
   "expected_status" : [ 200 ],
   "name" : "GitHub",
   "authority" : "http://github.com/SPORE",
   "meta" : {
      "documentation" : "http://develop.github.com/",
      "module" : "gist",
      "enable_if" : "get_gist_content"
   }
}