Object GitHub::Team

A team of users in an organization.

Fields

ancestors(after: String, before: String, first: Int, last: Int): TeamConnection!

A list of teams that are ancestors of this team.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

avatarUrl(size: Int = 400): URI

A URL pointing to the team's avatar.

Args

size: Int = 400

The size in pixels of the resulting square image.

childTeams(orderBy: TeamOrder, userLogins: [String!], immediateOnly: Boolean = true, after: String, before: String, first: Int, last: Int): TeamConnection!

List of child teams belonging to this team

Args

orderBy: TeamOrder

Order for connection

userLogins: [String!]

User logins to filter by

immediateOnly: Boolean = true

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

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

combinedSlug: String!

The slug corresponding to the organization and team.

createdAt: DateTime!

Identifies the date and time when the object was created.

databaseId: Int

Identifies the primary key from the database.

description: String

The description of the team.

discussion(number: Int!): TeamDiscussion

Find a team discussion by its number.

Args

number: Int!

The sequence number of the discussion to find.

discussions(after: String, before: String, first: Int, last: Int, isPinned: Boolean, orderBy: TeamDiscussionOrder): TeamDiscussionConnection!

A list of team discussions.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

isPinned: Boolean

If provided, filters discussions according to whether or not they are pinned.

orderBy: TeamDiscussionOrder

Order for connection

discussionsResourcePath: URI!

The HTTP path for team discussions

discussionsUrl: URI!

The HTTP URL for team discussions

editTeamResourcePath: URI!

The HTTP path for editing this team

editTeamUrl: URI!

The HTTP URL for editing this team

id: ID!

invitations(after: String, before: String, first: Int, last: Int): OrganizationInvitationConnection

A list of pending invitations for users to this team

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

memberStatuses(after: String, before: String, first: Int, last: Int, orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC}): UserStatusConnection!

Get the status messages members of this entity have set that are either public or visible only to the organization.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC}

Ordering options for user statuses returned from the connection.

members(after: String, before: String, first: Int, last: Int, query: String, membership: TeamMembershipType = ALL, role: TeamMemberRole, orderBy: TeamMemberOrder): TeamMemberConnection!

A list of users who are members of this team.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

query: String

The search string to look for.

membership: TeamMembershipType = ALL

Filter by membership type

role: TeamMemberRole

Filter by team member role

orderBy: TeamMemberOrder

Order for the connection.

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.

repositories(after: String, before: String, first: Int, last: Int, query: String, orderBy: TeamRepositoryOrder): TeamRepositoryConnection!

A list of repositories this team has access to.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

query: String

The search string to look for.

orderBy: TeamRepositoryOrder

Order for the connection.

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!

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.

viewerCanSubscribe: Boolean!

Check if the viewer is able to change their subscription status for the repository.

viewerSubscription: SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

Uses

OrgRestoreMemberMembershipTeamAuditEntryData.team

Organization.team

Team.parentTeam

TeamAddMemberAuditEntry.team

TeamAddRepositoryAuditEntry.team

TeamChangeParentTeamAuditEntry.parentTeam

TeamChangeParentTeamAuditEntry.parentTeamWas

TeamChangeParentTeamAuditEntry.team

TeamConnection.nodes

TeamDiscussion.team

TeamEdge.node

TeamRemoveMemberAuditEntry.team

TeamRemoveRepositoryAuditEntry.team

TeamAuditEntryData.team

PermissionGranter

PushAllowanceActor

RequestedReviewer

ReviewDismissalAllowanceActor

MemberStatusable

Node

Subscribable