Copyright | (c) Finlay Thompson, 2015 |
---|---|
License | BSD3 |
Maintainer | finlay.thompson@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
- type UserOrganisations = "user" :> ("orgs" :> Get `[JSON]` [Organisation])
- type OrganisationTeams = "orgs" :> (Capture "org" OrgLogin :> ("teams" :> Get `[JSON]` [Team]))
- type TeamMembers = "teams" :> (Capture "id" TeamId :> ("members" :> Get `[JSON]` [Member]))
- type TeamRepositories = "teams" :> (Capture "id" TeamId :> ("repos" :> Get `[JSON]` [Repository]))
- type GetTeam = "teams" :> (Capture "id" TeamId :> Get `[JSON]` Team)
Documentation
type UserOrganisations = "user" :> ("orgs" :> Get `[JSON]` [Organisation]) Source
type OrganisationTeams = "orgs" :> (Capture "org" OrgLogin :> ("teams" :> Get `[JSON]` [Team])) Source
type TeamRepositories = "teams" :> (Capture "id" TeamId :> ("repos" :> Get `[JSON]` [Repository])) Source