| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Octohat
Description
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
Arguments
| :: 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
Arguments
| :: 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