License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The organization members API as described on http://developer.github.com/v3/orgs/members/.
Synopsis
- membersOf :: Name Organization -> IO (Either Error (Vector SimpleUser))
- membersOf' :: Maybe Auth -> Name Organization -> IO (Either Error (Vector SimpleUser))
- membersOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleUser)
- membersOfWithR :: Name Organization -> OrgMemberFilter -> OrgMemberRole -> FetchCount -> Request k (Vector SimpleUser)
- isMemberOf :: Name User -> Name Organization -> IO (Either Error Bool)
- isMemberOf' :: Maybe Auth -> Name User -> Name Organization -> IO (Either Error Bool)
- isMemberOfR :: Name User -> Name Organization -> GenRequest MtStatus rw Bool
- orgInvitationsR :: Name Organization -> FetchCount -> Request RA (Vector Invitation)
- module GitHub.Data
Documentation
membersOf :: Name Organization -> IO (Either Error (Vector SimpleUser)) Source #
All the users who are members of the specified organization, | without authentication.
membersOf "thoughtbot"
membersOf' :: Maybe Auth -> Name Organization -> IO (Either Error (Vector SimpleUser)) Source #
All the users who are members of the specified organization, | with or without authentication.
membersOf' (Just $ OAuth "token") "thoughtbot"
membersOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleUser) Source #
All the users who are members of the specified organization.
See https://developer.github.com/v3/orgs/members/#members-list
membersOfWithR :: Name Organization -> OrgMemberFilter -> OrgMemberRole -> FetchCount -> Request k (Vector SimpleUser) Source #
membersOfR
with filters.
See https://developer.github.com/v3/orgs/members/#members-list
isMemberOf :: Name User -> Name Organization -> IO (Either Error Bool) Source #
Check if a user is a member of an organization, | without authentication.
isMemberOf "phadej" "haskell-infra"
isMemberOf' :: Maybe Auth -> Name User -> Name Organization -> IO (Either Error Bool) Source #
Check if a user is a member of an organization, | with or without authentication.
isMemberOf' (Just $ OAuth "token") "phadej" "haskell-infra"
isMemberOfR :: Name User -> Name Organization -> GenRequest MtStatus rw Bool Source #
Check if a user is a member of an organization.
See https://developer.github.com/v3/orgs/members/#check-membership
orgInvitationsR :: Name Organization -> FetchCount -> Request RA (Vector Invitation) Source #
List pending organization invitations
See https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations
module GitHub.Data