License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The repo invitations API as described on https://developer.github.com/v3/repos/invitations/.
Synopsis
- listInvitationsOnR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON k (Vector RepoInvitation)
- listInvitationsForR :: FetchCount -> Request k (Vector RepoInvitation)
- acceptInvitationFromR :: Id RepoInvitation -> GenRequest 'MtUnit 'RW ()
Documentation
listInvitationsOnR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON k (Vector RepoInvitation) Source #
List open invitations of a repository See https://developer.github.com/v3/repos/invitations/#list-invitations-for-a-repository
listInvitationsForR :: FetchCount -> Request k (Vector RepoInvitation) Source #
List a user's repository invitations See https://developer.github.com/v3/repos/invitations/#list-a-users-repository-invitations
acceptInvitationFromR :: Id RepoInvitation -> GenRequest 'MtUnit 'RW () Source #
Accept a repository invitation See https://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation