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.
avatarUrl(size: Int = 400): URI
A URL pointing to the team's avatar.
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
userLogins: [String!]
User logins to filter by
immediateOnly: Boolean = true
Whether to list immediate child teams or all descendant child teams.
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.
discussions(after: String, before: String, first: Int, last: Int, isPinned: Boolean, orderBy: TeamDiscussionOrder): TeamDiscussionConnection!
A list of team discussions.
Args
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
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
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
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
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.