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/gist.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 services/github/gist.json (limited to 'services/github/gist.json') diff --git a/services/github/gist.json b/services/github/gist.json new file mode 100644 index 0000000..5534f61 --- /dev/null +++ b/services/github/gist.json @@ -0,0 +1,38 @@ +{ + "base_url" : "http://gist.github.com/api/v1/", + "version" : "0.3", + "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" + ] + }, + "get_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" + } +} -- cgit v1.2.3