See the Organization Teams API documentation for more information.
Constructors
-
Teams
Client(IApi Initializes a new GitHub Orgs Team API client.Connection)
Methods
-
Add
Or Adds a User to a Team.Edit Membership(Int32, String, Update Team Membership) -
Add
Repository(Int32, Add a repository to the teamString, String) -
Add
Repository(Int32, Add a repository to the teamString, String, Repository Permission Request) -
Create(String,
New Returns newly created Team for the current org.Team) - Delete(Int32) Delte a team - must have owner permissions to this
- Get(Int32) Gets a single Team by identifier.
-
Get
All(String) Returns all Teams for the current org. -
Get
All(String, Returns all Teams for the current org.Api Options) -
Get
All Returns all child teams of the given team.Child Teams(Int32) -
Get
All Returns all child teams of the given team.Child Teams(Int32, Api Options) -
Get
All Returns all Teams for the current user.For Current() -
Get
All Returns all Teams for the current user.For Current(Api Options) -
Get
All Returns all members of the given team.Members(Int32) -
Get
All Returns all members of the given team.Members(Int32, Api Options) -
Get
All Returns all members with the specified role in the given team of the given role.Members(Int32, Team Members Request) -
Get
All Returns all members with the specified role in the given team of the given role.Members(Int32, Team Members Request, Api Options) -
Get
All List all pending invitations for the given team.Pending Invitations(Int32) -
Get
All List all pending invitations for the given team.Pending Invitations(Int32, Api Options) -
Get
All Returns all team's repositories.Repositories(Int32) -
Get
All Returns all team's repositories.Repositories(Int32, Api Options) -
Get
Membership Gets whether the user with the given login is a member of the team with the given id. A NotFoundException is thrown if the user is not a member.Details(Int32, String) -
Is
Repository Gets whether or not the given repository is managed by the given team.Managed By Team(Int32, String, String) -
Remove
Membership(Int32, Removes a User from a Team.String) -
Remove
Repository(Int32, Remove a repository from the teamString, String) -
Update(Int32,
Update Returns updated Team for the current org.Team)