Safe Haskell | None |
---|---|
Language | Haskell2010 |
GitHub.Endpoints.Repos.Invitations
Description
The repo invitations API as described on https://developer.github.com/v3/repos/invitations/.
Synopsis
- listInvitationsOnR :: forall (k :: RW). Name Owner -> Name Repo -> FetchCount -> GenRequest ('MtJSON :: MediaType Type) k (Vector RepoInvitation)
- listInvitationsForR :: forall (k :: RW). FetchCount -> Request k (Vector RepoInvitation)
- acceptInvitationFromR :: Id RepoInvitation -> GenRequest ('MtUnit :: MediaType Type) 'RW ()
Documentation
listInvitationsOnR :: forall (k :: RW). Name Owner -> Name Repo -> FetchCount -> GenRequest ('MtJSON :: MediaType Type) k (Vector RepoInvitation) Source #
List open invitations of a repository See https://developer.github.com/v3/repos/invitations/#list-invitations-for-a-repository
listInvitationsForR :: forall (k :: RW). 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 :: MediaType Type) 'RW () Source #
Accept a repository invitation See https://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation