Team

A team of users in an organization.

Implements

Connections

ancestors (TeamConnection)
A list of teams that are ancestors of this team.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

childTeams (TeamConnection)
List of child teams belonging to this team
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

orderBy TeamOrder

Order for connection

userLogins [String!]

User logins to filter by

immediateOnly Boolean

Whether to list immediate child teams or all descendant child teams.

members (TeamMemberConnection)
A list of users who are members of this team.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

query String

The search string to look for.

membership TeamMembershipType

Filter by membership type

role TeamMemberRole

Filter by team member role

repositories (TeamRepositoryConnection)
A list of repositories this team has access to.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

query String

The search string to look for.

orderBy TeamRepositoryOrder

Order for the connection.

Fields

combinedSlug (String!)

The slug corresponding to the organization and team.

createdAt (DateTime!)

Identifies the date and time when the object was created.

description (String)

The description of the team.

editTeamResourcePath (URI!)

The HTTP path for editing this team

editTeamUrl (URI!)

The HTTP URL for editing this team

invitations (OrganizationInvitationConnection)

A list of pending invitations for users to this team

Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

membersResourcePath (URI!)

The HTTP path for the team' members

membersUrl (URI!)

The HTTP URL for the team' members

name (String!)

The name of the team.

newTeamResourcePath (URI!)

The HTTP path creating a new team

newTeamUrl (URI!)

The HTTP URL creating a new team

organization (Organization!)

The organization that owns this team.

parentTeam (Team)

The parent team of the team.

privacy (TeamPrivacy!)

The level of privacy the team has.

repositoriesResourcePath (URI!)

The HTTP path for this team's repositories

repositoriesUrl (URI!)

The HTTP URL for this team's repositories

resourcePath (URI!)

The HTTP path for this team

slug (String!)

The slug corresponding to the team.

teamsResourcePath (URI!)

The HTTP path for this team's teams

teamsUrl (URI!)

The HTTP URL for this team's teams

updatedAt (DateTime!)
Deprecation notice

General type updated timestamps will eventually be replaced by other field specific timestamps.

Identifies the date and time when the object was last updated.

url (URI!)

The HTTP URL for this team

viewerCanAdminister (Boolean!)

Team is adminable by the viewer.