summaryrefslogtreecommitdiff
path: root/services/github/commit.json
blob: 8fe482375cecd10f844586027b1997c01303bb57 (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
40
41
42
43
44
{
   "base_url" : "http://github.com/api/v2/",
   "version" : "0.3",
   "methods" : {
      "get_commits" : {
         "path" : "/:format/commits/list/:user/:repo/:branch",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo",
            "branch"
         ]
      },
      "get_file_commits" : {
         "path" : "/:format/commits/list/:user/:repo/:branch/:path",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo",
            "branch",
            "path"
         ]
      },
      "get_commit_info" : {
         "path" : "/:format/commits/show/:user/:repo/:sha",
         "method" : "GET",
         "required_params" : [
            "format",
            "user",
            "repo",
            "sha"
         ]
      }
   },
   "expected_status" : [ 200 ],
   "name" : "GitHub",
   "authority" : "http://github.com/SPORE",
   "meta" : {
      "documentation" : "http://develop.github.com/",
      "module" : "commit"
   }
}