From faff7314842bc6d63ae3bcc748b81dd66273941b Mon Sep 17 00:00:00 2001 From: Andreas Marienborg Date: Thu, 3 Feb 2011 10:44:41 +0100 Subject: Start of organizations API description --- services/github/organization.json | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 services/github/organization.json (limited to 'services') diff --git a/services/github/organization.json b/services/github/organization.json new file mode 100644 index 0000000..3907ed0 --- /dev/null +++ b/services/github/organization.json @@ -0,0 +1,58 @@ +{ + "base_url" : "http://github.com/api/v2/", + "version" : "0.1", + "methods" : { + "get_organization" : { + "path" : "/:format/organizations/:org", + "method" : "GET", + "required_params" : [ + "format", + "org" + ] + }, + "get_organization_teams" : { + "path" : "/:format/organizations/:org/teams", + "method" : "GET", + "required_params" : [ + "format", + "org" + ], + "authentication" : true + }, + "get_organization_repositories" : { + "path" : "/:format/organizations/:org/repositories", + "method" : "GET", + "required_params" : [ + "format", + "org" + ], + "authentication" : true + }, + "get_team_members" : { + "path" : "/:format/teams/:team/members", + "method" : "GET", + "requires_params" : [ + "format", + "team" + ], + "authentication" : true + }, + "get_team_repositories" : { + "path" : "/:format/teams/:team/repositories", + "method" : "GET", + "required_params" : [ + "format", + "team" + ], + "authentication" : true + } + }, + "expected_status" : [ 200 ], + "name" : "GitHub", + "authority" : "http://github.com/SPORE", + "meta" : { + "documentation" : "http://develop.github.com/", + "module" : "organization" + } +} + -- cgit v1.2.3