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
after String

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

before String

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

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

childTeams (TeamConnection!)

List of child teams belonging to this team

Argument Type Description
after String

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

before String

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

first Int

Returns the first n elements from the list.

immediateOnly Boolean

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

last Int

Returns the last n elements from the list.

orderBy TeamOrder

Order for connection

userLogins [String!]

User logins to filter by

invitations (OrganizationInvitationConnection)

A list of pending invitations for users to this team

Argument Type Description
after String

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

before String

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

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

members (TeamMemberConnection!)

A list of users who are members of this team.

Argument Type Description
after String

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

before String

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

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

membership TeamMembershipType

Filter by membership type

query String

The search string to look for.

role TeamMemberRole

Filter by team member role

repositories (TeamRepositoryConnection!)

A list of repositories this team has access to.

Argument Type Description
after String

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

before String

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

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy TeamRepositoryOrder

Order for the connection.

query String

The search string to look for.

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

id (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.