License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The Owner teams API as described on http://developer.github.com/v3/orgs/teams/.
Synopsis
- teamsOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleTeam)
- teamInfoForR :: Id Team -> Request k Team
- createTeamForR :: Name Organization -> CreateTeam -> Request 'RW Team
- editTeamR :: Id Team -> EditTeam -> Request 'RW Team
- deleteTeamR :: Id Team -> GenRequest 'MtUnit 'RW ()
- listTeamMembersR :: Id Team -> TeamMemberRole -> FetchCount -> Request 'RA (Vector SimpleUser)
- listTeamReposR :: Id Team -> FetchCount -> Request k (Vector Repo)
- addOrUpdateTeamRepoR :: Id Team -> Name Organization -> Name Repo -> Permission -> GenRequest 'MtUnit 'RW ()
- teamMembershipInfoForR :: Id Team -> Name Owner -> Request k TeamMembership
- addTeamMembershipForR :: Id Team -> Name Owner -> Role -> Request 'RW TeamMembership
- deleteTeamMembershipForR :: Id Team -> Name Owner -> GenRequest 'MtUnit 'RW ()
- listTeamsCurrentR :: FetchCount -> Request 'RA (Vector Team)
- module GitHub.Data
Documentation
teamsOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleTeam) Source #
List teams. See https://developer.github.com/v3/orgs/teams/#list-teams
teamInfoForR :: Id Team -> Request k Team Source #
Query team. See https://developer.github.com/v3/orgs/teams/#get-team
createTeamForR :: Name Organization -> CreateTeam -> Request 'RW Team Source #
Create team. See https://developer.github.com/v3/orgs/teams/#create-team
editTeamR :: Id Team -> EditTeam -> Request 'RW Team Source #
Edit team. See https://developer.github.com/v3/orgs/teams/#edit-team
deleteTeamR :: Id Team -> GenRequest 'MtUnit 'RW () Source #
listTeamMembersR :: Id Team -> TeamMemberRole -> FetchCount -> Request 'RA (Vector SimpleUser) Source #
List team members.
See https://developer.github.com/v3/orgs/teams/#list-team-members
listTeamReposR :: Id Team -> FetchCount -> Request k (Vector Repo) Source #
Query team repositories. See https://developer.github.com/v3/orgs/teams/#list-team-repos
addOrUpdateTeamRepoR :: Id Team -> Name Organization -> Name Repo -> Permission -> GenRequest 'MtUnit 'RW () Source #
Add or update a team repository. See https://developer.github.com/v3/orgs/teams/#add-or-update-team-repository
teamMembershipInfoForR :: Id Team -> Name Owner -> Request k TeamMembership Source #
Query team membership. See <https://developer.github.com/v3/orgs/teams/#get-team-membership
addTeamMembershipForR :: Id Team -> Name Owner -> Role -> Request 'RW TeamMembership Source #
Add team membership. See https://developer.github.com/v3/orgs/teams/#add-team-membership
deleteTeamMembershipForR :: Id Team -> Name Owner -> GenRequest 'MtUnit 'RW () Source #
Remove team membership. See https://developer.github.com/v3/orgs/teams/#remove-team-membership
listTeamsCurrentR :: FetchCount -> Request 'RA (Vector Team) Source #
List user teams. See https://developer.github.com/v3/orgs/teams/#list-user-teams
module GitHub.Data