Skip to content

Commit

Permalink
Start of organizations API description
Browse files Browse the repository at this point in the history
  • Loading branch information
omega committed Feb 3, 2011
1 parent dff873c commit faff731
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions 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"
}
}

0 comments on commit faff731

Please sign in to comment.