From 70299c8d48ba01c4052554e4fa895e7e59d6fc08 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Tue, 26 Oct 2010 15:34:41 +0200 Subject: Github: API completed --- services/github/commit.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 services/github/commit.json (limited to 'services/github/commit.json') diff --git a/services/github/commit.json b/services/github/commit.json new file mode 100644 index 0000000..8fe4823 --- /dev/null +++ b/services/github/commit.json @@ -0,0 +1,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" + } +} -- cgit v1.2.3