Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The repo collaborators API as described on http://developer.github.com/v3/repos/collaborators/.
Synopsis
- collaboratorsOnR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser)
- collaboratorPermissionOnR :: Name Owner -> Name Repo -> Name User -> GenRequest 'MtJSON rw CollaboratorWithPermission
- isCollaboratorOnR :: Name Owner -> Name Repo -> Name User -> GenRequest 'MtStatus rw Bool
- addCollaboratorR :: Name Owner -> Name Repo -> Name User -> GenRequest 'MtJSON 'RW (Maybe RepoInvitation)
- module GitHub.Data
Documentation
collaboratorsOnR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser) Source #
List collaborators. See https://developer.github.com/v3/repos/collaborators/#list-collaborators
collaboratorPermissionOnR Source #
:: Name Owner | Repository owner |
-> Name Repo | Repository name |
-> Name User | Collaborator to check permissions of. |
-> GenRequest 'MtJSON rw CollaboratorWithPermission |
Review a user's permission level. https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level
:: Name Owner | Repository owner |
-> Name Repo | Repository name |
-> Name User | Collaborator? |
-> GenRequest 'MtStatus rw Bool |
Check if a user is a collaborator. See https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-collaborator
:: Name Owner | Repository owner |
-> Name Repo | Repository name |
-> Name User | Collaborator to add |
-> GenRequest 'MtJSON 'RW (Maybe RepoInvitation) |
Invite a user as a collaborator. See https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator
module GitHub.Data