Safe Haskell | None |
---|---|
Language | Haskell2010 |
Execute the result of these functions using runGitHub
or runGitHub'
- membersForOrganization :: Text -> GitHub [Member]
- membersForTeam :: Integer -> GitHub [Member]
- teamsForOrganization :: Text -> GitHub [Team]
- addMemberToTeam :: Text -> Integer -> GitHub StatusInTeam
- deleteMemberFromTeam :: Text -> Integer -> GitHub DidDelete
- deleteTeamFromOrganization :: Integer -> GitHub DidDelete
- publicKeysForUser :: Text -> GitHub [PublicKey]
- addTeamToOrganization :: Text -> Text -> Text -> GitHub Team
- userForUsername :: Text -> GitHub Member
- addPublicKey :: Text -> Text -> GitHub PublicKey
Documentation
Returns a list of members of an organization with the given name.
Returns a list of members of a team with the given team ID.
Returns a list of teams for the organization with the given name
:: Text | The GitHub username to add to a team |
-> Integer | The Team ID |
-> GitHub StatusInTeam |
Adds a member to a team, might invite or add the member. Refer to StatusInTeam
Deletes a member with the given name from a team with the given ID. Might or might not delete
deleteTeamFromOrganization Source
Deletes a team from an organization using its team ID.
Returns the public keys of the user with the given name