Safe Haskell | None |
---|---|
Language | Haskell2010 |
Convenience functions for some common operations with teams. Execute the result of these
functions using runGitHub
or runGitHub'
- addUserToTeam :: Text -> Text -> Text -> GitHub StatusInTeam
- membersOfTeamInOrganization :: Text -> Text -> GitHub [Member]
- keysOfTeamInOrganization :: Text -> Text -> GitHub [MemberWithKey]
- teamForTeamNameInOrg :: Text -> Text -> GitHub Team
Documentation
:: Text | GitHub username |
-> Text | GitHub organization name |
-> Text | GitHub team name |
-> GitHub StatusInTeam |
Adds a user with nameOfUser
to the team named nameOfTeam
within the organization named nameOfOrg
membersOfTeamInOrganization Source
Gets all the members of the organization
keysOfTeamInOrganization Source
:: Text | GitHub organization name |
-> Text | GitHub team name |
-> GitHub [MemberWithKey] |
Retrieves a list of members in a given team within an organization together with their public keys