Team
A team of users in an organization.
Implements
Connections
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 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. |
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 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. |
immediateOnly |
Boolean
|
Whether to list immediate child teams or all descendant child teams. The default value is |
last |
Int
|
Returns the last n elements from the list. |
orderBy |
TeamOrder
|
Order for connection |
userLogins |
[String!]
|
User logins to filter by |
TeamDiscussionConnection!)
This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Team discussions preview for more details.
Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.
A list of team discussions.
| Argument | Type | Description |
|---|---|---|
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. |
isPinned |
Boolean
|
If provided, filters discussions according to whether or not they are pinned. |
last |
Int
|
Returns the last n elements from the list. |
orderBy |
TeamDiscussionOrder
|
Order for connection |
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 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. |
UserStatusConnection!)
Get the status messages members of this entity have set that are either public or visible only to the organization.
| Argument | Type | Description |
|---|---|---|
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
|
Ordering options for user statuses returned from the connection. The default value is |
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 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. |
membership |
TeamMembershipType
|
Filter by membership type The default value is |
orderBy |
TeamMemberOrder
|
Order for the connection. |
query |
String
|
The search string to look for. |
role |
TeamMemberRole
|
Filter by team member role |
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 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 |
TeamRepositoryOrder
|
Order for the connection. |
query |
String
|
The search string to look for. |
Fields
URI)
A URL pointing to the team's avatar.
| Argument | Type | Description |
|---|---|---|
size |
Int
|
The size in pixels of the resulting square image. The default value is |
String!)
The slug corresponding to the organization and team.
DateTime!)
Identifies the date and time when the object was created.
String)
The description of the team.
TeamDiscussion)
This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Team discussions preview for more details.
Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.
Find a team discussion by its number.
| Argument | Type | Description |
|---|---|---|
number |
Int!
|
The sequence number of the discussion to find. |
URI!)
This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Team discussions preview for more details.
Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.
The HTTP path for team discussions
URI!)
This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Team discussions preview for more details.
Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.
The HTTP URL for team discussions
URI!)
The HTTP path for editing this team
URI!)
The HTTP URL for editing this team
ID!)
URI!)
The HTTP path for the team' members
URI!)
The HTTP URL for the team' members
String!)
The name of the team.
URI!)
The HTTP path creating a new team
URI!)
The HTTP URL creating a new team
Organization!)
The organization that owns this team.
Team)
The parent team of the team.
TeamPrivacy!)
The level of privacy the team has.
URI!)
The HTTP path for this team's repositories
URI!)
The HTTP URL for this team's repositories
URI!)
The HTTP path for this team
String!)
The slug corresponding to the team.
URI!)
The HTTP path for this team's teams
URI!)
The HTTP URL for this team's teams
DateTime!)
Identifies the date and time when the object was last updated.
URI!)
The HTTP URL for this team
Boolean!)
Team is adminable by the viewer.
Boolean!)
Check if the viewer is able to change their subscription status for the repository.
SubscriptionState)
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
-
Overview
-
Query
-
Mutations
- acceptEnterpriseAdministratorInvitation
- acceptTopicSuggestion
- addAssigneesToAssignable
- addComment
- addLabelsToLabelable
- addProjectCard
- addProjectColumn
- addPullRequestReview
- addPullRequestReviewComment
- addReaction
- addStar
- cancelEnterpriseAdminInvitation
- changeUserStatus
- clearLabelsFromLabelable
- cloneProject
- cloneTemplateRepository
- closeIssue
- closePullRequest
- convertProjectCardNoteToIssue
- createBranchProtectionRule
- createCheckRun
- createCheckSuite
- createContentAttachment
- createDeployment
- createDeploymentStatus
- createEnterpriseOrganization
- createIssue
- createLabel
- createProject
- createPullRequest
- createRef
- createRepository
- createTeamDiscussion
- createTeamDiscussionComment
- declineTopicSuggestion
- deleteBranchProtectionRule
- deleteIssue
- deleteIssueComment
- deleteLabel
- deleteProject
- deleteProjectCard
- deleteProjectColumn
- deletePullRequestReview
- deletePullRequestReviewComment
- deleteRef
- deleteTeamDiscussion
- deleteTeamDiscussionComment
- dismissPullRequestReview
- importProject
- inviteEnterpriseAdmin
- linkRepositoryToProject
- lockLockable
- markPullRequestReadyForReview
- mergeBranch
- mergePullRequest
- minimizeComment
- moveProjectCard
- moveProjectColumn
- pinIssue
- regenerateEnterpriseIdentityProviderRecoveryCodes
- removeAssigneesFromAssignable
- removeEnterpriseAdmin
- removeEnterpriseOrganization
- removeLabelsFromLabelable
- removeOutsideCollaborator
- removeReaction
- removeStar
- reopenIssue
- reopenPullRequest
- requestReviews
- rerequestCheckSuite
- resolveReviewThread
- submitPullRequestReview
- transferIssue
- unlinkRepositoryFromProject
- unlockLockable
- unmarkIssueAsDuplicate
- unminimizeComment
- unpinIssue
- unresolveReviewThread
- updateBranchProtectionRule
- updateCheckRun
- updateCheckSuitePreferences
- updateEnterpriseActionExecutionCapabilitySetting
- updateEnterpriseAdministratorRole
- updateEnterpriseAllowPrivateRepositoryForkingSetting
- updateEnterpriseDefaultRepositoryPermissionSetting
- updateEnterpriseMembersCanChangeRepositoryVisibilitySetting
- updateEnterpriseMembersCanCreateRepositoriesSetting
- updateEnterpriseMembersCanDeleteIssuesSetting
- updateEnterpriseMembersCanDeleteRepositoriesSetting
- updateEnterpriseMembersCanInviteCollaboratorsSetting
- updateEnterpriseMembersCanMakePurchasesSetting
- updateEnterpriseMembersCanUpdateProtectedBranchesSetting
- updateEnterpriseMembersCanViewDependencyInsightsSetting
- updateEnterpriseOrganizationProjectsSetting
- updateEnterpriseProfile
- updateEnterpriseRepositoryProjectsSetting
- updateEnterpriseTeamDiscussionsSetting
- updateEnterpriseTwoFactorAuthenticationRequiredSetting
- updateIssue
- updateIssueComment
- updateLabel
- updateProject
- updateProjectCard
- updateProjectColumn
- updatePullRequest
- updatePullRequestReview
- updatePullRequestReviewComment
- updateRef
- updateRepository
- updateSubscription
- updateTeamDiscussion
- updateTeamDiscussionComment
- updateTopics
-
Objects
- ActorLocation
- AddedToProjectEvent
- App
- AssignedEvent
- BaseRefChangedEvent
- BaseRefForcePushedEvent
- Blame
- BlameRange
- Blob
- Bot
- BranchProtectionRule
- BranchProtectionRuleConflict
- CheckAnnotation
- CheckAnnotationPosition
- CheckAnnotationSpan
- CheckRun
- CheckSuite
- ClosedEvent
- CodeOfConduct
- CommentDeletedEvent
- Commit
- CommitComment
- CommitCommentThread
- CommitContributionsByRepository
- ContentAttachment
- ContentReference
- ContributionCalendar
- ContributionCalendarDay
- ContributionCalendarMonth
- ContributionCalendarWeek
- ContributionsCollection
- ConvertedNoteToIssueEvent
- CreatedCommitContribution
- CreatedIssueContribution
- CreatedPullRequestContribution
- CreatedPullRequestReviewContribution
- CreatedRepositoryContribution
- CrossReferencedEvent
- DemilestonedEvent
- DependencyGraphDependency
- DependencyGraphManifest
- DeployKey
- DeployedEvent
- Deployment
- DeploymentEnvironmentChangedEvent
- DeploymentStatus
- Enterprise
- EnterpriseAdministratorInvitation
- EnterpriseBillingInfo
- EnterpriseIdentityProvider
- EnterpriseOwnerInfo
- EnterpriseRepositoryInfo
- EnterpriseServerInstallation
- EnterpriseServerUserAccount
- EnterpriseServerUserAccountEmail
- EnterpriseServerUserAccountsUpload
- EnterpriseUserAccount
- ExternalIdentity
- ExternalIdentitySamlAttributes
- ExternalIdentityScimAttributes
- GenericHovercardContext
- Gist
- GistComment
- GistFile
- GitActor
- GitHubMetadata
- GpgSignature
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- Hovercard
- Issue
- IssueComment
- IssueContributionsByRepository
- JoinedGitHubContribution
- Label
- LabeledEvent
- Language
- License
- LicenseRule
- LockedEvent
- Mannequin
- MarkedAsDuplicateEvent
- MarketplaceCategory
- MarketplaceListing
- MembersCanDeleteReposClearAuditEntry
- MembersCanDeleteReposDisableAuditEntry
- MembersCanDeleteReposEnableAuditEntry
- MentionedEvent
- MergedEvent
- Milestone
- MilestonedEvent
- MovedColumnsInProjectEvent
- OauthApplicationCreateAuditEntry
- OrgAddBillingManagerAuditEntry
- OrgAddMemberAuditEntry
- OrgBlockUserAuditEntry
- OrgConfigDisableCollaboratorsOnlyAuditEntry
- OrgConfigEnableCollaboratorsOnlyAuditEntry
- OrgDisableOauthAppRestrictionsAuditEntry
- OrgDisableSamlAuditEntry
- OrgDisableTwoFactorRequirementAuditEntry
- OrgEnableOauthAppRestrictionsAuditEntry
- OrgEnableSamlAuditEntry
- OrgEnableTwoFactorRequirementAuditEntry
- OrgInviteMemberAuditEntry
- OrgInviteToBusinessAuditEntry
- OrgOauthAppAccessApprovedAuditEntry
- OrgOauthAppAccessDeniedAuditEntry
- OrgOauthAppAccessRequestedAuditEntry
- OrgRemoveBillingManagerAuditEntry
- OrgRemoveMemberAuditEntry
- OrgRemoveOutsideCollaboratorAuditEntry
- OrgRestoreMemberAuditEntry
- OrgRestoreMemberMembershipOrganizationAuditEntryData
- OrgRestoreMemberMembershipRepositoryAuditEntryData
- OrgRestoreMemberMembershipTeamAuditEntryData
- OrgUnblockUserAuditEntry
- OrgUpdateDefaultRepositoryPermissionAuditEntry
- OrgUpdateMemberAuditEntry
- OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- Organization
- OrganizationIdentityProvider
- OrganizationInvitation
- OrganizationTeamsHovercardContext
- OrganizationsHovercardContext
- PageInfo
- PermissionSource
- PinnedEvent
- PinnedIssue
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- ProfileItemShowcase
- Project
- ProjectCard
- ProjectColumn
- PublicKey
- PullRequest
- PullRequestChangedFile
- PullRequestCommit
- PullRequestCommitCommentThread
- PullRequestContributionsByRepository
- PullRequestReview
- PullRequestReviewComment
- PullRequestReviewContributionsByRepository
- PullRequestReviewThread
- PullRequestRevisionMarker
- Push
- PushAllowance
- RateLimit
- Reaction
- ReactionGroup
- ReadyForReviewEvent
- Ref
- ReferencedEvent
- RegistryPackage
- RegistryPackageDependency
- RegistryPackageFile
- RegistryPackageStatistics
- RegistryPackageTag
- RegistryPackageVersion
- RegistryPackageVersionStatistics
- Release
- ReleaseAsset
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- RepoAccessAuditEntry
- RepoAddMemberAuditEntry
- RepoAddTopicAuditEntry
- RepoArchivedAuditEntry
- RepoChangeMergeSettingAuditEntry
- RepoConfigDisableAnonymousGitAccessAuditEntry
- RepoConfigDisableCollaboratorsOnlyAuditEntry
- RepoConfigDisableContributorsOnlyAuditEntry
- RepoConfigDisableSockpuppetDisallowedAuditEntry
- RepoConfigEnableAnonymousGitAccessAuditEntry
- RepoConfigEnableCollaboratorsOnlyAuditEntry
- RepoConfigEnableContributorsOnlyAuditEntry
- RepoConfigEnableSockpuppetDisallowedAuditEntry
- RepoConfigLockAnonymousGitAccessAuditEntry
- RepoConfigUnlockAnonymousGitAccessAuditEntry
- RepoCreateAuditEntry
- RepoDestroyAuditEntry
- RepoRemoveMemberAuditEntry
- RepoRemoveTopicAuditEntry
- Repository
- RepositoryInvitation
- RepositoryTopic
- RepositoryVisibilityChangeDisableAuditEntry
- RepositoryVisibilityChangeEnableAuditEntry
- RepositoryVulnerabilityAlert
- RestrictedContribution
- ReviewDismissalAllowance
- ReviewDismissedEvent
- ReviewRequest
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- ReviewStatusHovercardContext
- SavedReply
- SecurityAdvisory
- SecurityAdvisoryIdentifier
- SecurityAdvisoryPackage
- SecurityAdvisoryPackageVersion
- SecurityAdvisoryReference
- SecurityVulnerability
- SmimeSignature
- SponsorsListing
- Sponsorship
- Status
- StatusContext
- SubscribedEvent
- SuggestedReviewer
- Tag
- Team
- TeamAddMemberAuditEntry
- TeamAddRepositoryAuditEntry
- TeamChangeParentTeamAuditEntry
- TeamDiscussion
- TeamDiscussionComment
- TeamRemoveMemberAuditEntry
- TeamRemoveRepositoryAuditEntry
- TextMatch
- TextMatchHighlight
- Topic
- TransferredEvent
- Tree
- TreeEntry
- UnassignedEvent
- UnknownSignature
- UnlabeledEvent
- UnlockedEvent
- UnpinnedEvent
- UnsubscribedEvent
- User
- UserBlockedEvent
- UserContentEdit
- UserStatus
- ViewerHovercardContext
-
Interfaces
- Actor
- Assignable
- AuditEntry
- Closable
- Comment
- Contribution
- Deletable
- EnterpriseAuditEntryData
- GitObject
- GitSignature
- HovercardContext
- Labelable
- Lockable
- MemberStatusable
- Minimizable
- Node
- OauthApplicationAuditEntryData
- OrganizationAuditEntryData
- ProfileOwner
- ProjectOwner
- Reactable
- RegistryPackageOwner
- RegistryPackageSearch
- RepositoryAuditEntryData
- RepositoryInfo
- RepositoryNode
- RepositoryOwner
- Sponsorable
- Starrable
- Subscribable
- TeamAuditEntryData
- TopicAuditEntryData
- UniformResourceLocatable
- Updatable
- UpdatableComment
-
Enums
- ActionExecutionCapabilitySetting
- AuditLogOrderField
- CheckAnnotationLevel
- CheckConclusionState
- CheckRunType
- CheckStatusState
- CollaboratorAffiliation
- CommentAuthorAssociation
- CommentCannotUpdateReason
- CommitContributionOrderField
- ContributionOrderField
- DefaultRepositoryPermissionField
- DeploymentOrderField
- DeploymentState
- DeploymentStatusState
- EnterpriseAdministratorInvitationOrderField
- EnterpriseAdministratorRole
- EnterpriseDefaultRepositoryPermissionSettingValue
- EnterpriseEnabledDisabledSettingValue
- EnterpriseEnabledSettingValue
- EnterpriseMemberOrderField
- EnterpriseMembersCanCreateRepositoriesSettingValue
- EnterpriseMembersCanMakePurchasesSettingValue
- EnterpriseOrderField
- EnterpriseServerInstallationOrderField
- EnterpriseServerUserAccountEmailOrderField
- EnterpriseServerUserAccountOrderField
- EnterpriseServerUserAccountsUploadOrderField
- EnterpriseServerUserAccountsUploadSyncState
- EnterpriseUserAccountMembershipRole
- EnterpriseUserDeployment
- GistOrderField
- GistPrivacy
- GitSignatureState
- IdentityProviderConfigurationState
- IssueOrderField
- IssueState
- IssueTimelineItemsItemType
- LanguageOrderField
- LockReason
- MergeStateStatus
- MergeableState
- MilestoneOrderField
- MilestoneState
- OauthApplicationCreateAuditEntryState
- OperationType
- OrderDirection
- OrgAddMemberAuditEntryPermission
- OrgRemoveBillingManagerAuditEntryReason
- OrgRemoveMemberAuditEntryMembershipType
- OrgRemoveMemberAuditEntryReason
- OrgRemoveOutsideCollaboratorAuditEntryMembershipType
- OrgRemoveOutsideCollaboratorAuditEntryReason
- OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
- OrgUpdateMemberAuditEntryPermission
- OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility
- OrganizationInvitationRole
- OrganizationInvitationType
- OrganizationMemberRole
- OrganizationMembersCanCreateRepositoriesSettingValue
- OrganizationOrderField
- PinnableItemType
- ProjectCardArchivedState
- ProjectCardState
- ProjectColumnPurpose
- ProjectOrderField
- ProjectState
- ProjectTemplate
- PullRequestMergeMethod
- PullRequestOrderField
- PullRequestReviewCommentState
- PullRequestReviewEvent
- PullRequestReviewState
- PullRequestState
- PullRequestTimelineItemsItemType
- ReactionContent
- ReactionOrderField
- RefOrderField
- RegistryPackageDependencyType
- RegistryPackageType
- ReleaseOrderField
- RepoAccessAuditEntryVisibility
- RepoAddMemberAuditEntryVisibility
- RepoArchivedAuditEntryVisibility
- RepoChangeMergeSettingAuditEntryMergeType
- RepoCreateAuditEntryVisibility
- RepoDestroyAuditEntryVisibility
- RepoRemoveMemberAuditEntryVisibility
- ReportedContentClassifiers
- RepositoryAffiliation
- RepositoryContributionType
- RepositoryInvitationOrderField
- RepositoryLockReason
- RepositoryOrderField
- RepositoryPermission
- RepositoryPrivacy
- RepositoryVisibility
- RequestableCheckStatusState
- SamlDigestAlgorithm
- SamlSignatureAlgorithm
- SavedReplyOrderField
- SearchType
- SecurityAdvisoryEcosystem
- SecurityAdvisoryIdentifierType
- SecurityAdvisoryOrderField
- SecurityAdvisorySeverity
- SecurityVulnerabilityOrderField
- SponsorshipPrivacy
- StarOrderField
- StatusState
- SubscriptionState
- TeamDiscussionCommentOrderField
- TeamDiscussionOrderField
- TeamMemberOrderField
- TeamMemberRole
- TeamMembershipType
- TeamOrderField
- TeamPrivacy
- TeamRepositoryOrderField
- TeamRole
- TopicSuggestionDeclineReason
- UserBlockDuration
- UserStatusOrderField
-
Unions
- Assignee
- AuditEntryActor
- Closer
- CollectionItemContent
- CreatedIssueOrRestrictedContribution
- CreatedPullRequestOrRestrictedContribution
- CreatedRepositoryOrRestrictedContribution
- EnterpriseMember
- IssueOrPullRequest
- IssueTimelineItem
- IssueTimelineItems
- MilestoneItem
- OrgRestoreMemberAuditEntryMembership
- OrganizationAuditEntry
- PermissionGranter
- PinnableItem
- ProjectCardItem
- PullRequestTimelineItem
- PullRequestTimelineItems
- PushAllowanceActor
- ReferencedSubject
- RenamedTitleSubject
- RequestedReviewer
- ReviewDismissalAllowanceActor
- SearchResultItem
-
Input Objects
- AuditLogOrder
- CheckAnnotationData
- CheckAnnotationRange
- CheckRunAction
- CheckRunFilter
- CheckRunOutput
- CheckRunOutputImage
- CheckSuiteAutoTriggerPreference
- CheckSuiteFilter
- CommitAuthor
- CommitContributionOrder
- ContributionOrder
- DeploymentOrder
- DraftPullRequestReviewComment
- EnterpriseAdministratorInvitationOrder
- EnterpriseMemberOrder
- EnterpriseServerInstallationOrder
- EnterpriseServerUserAccountEmailOrder
- EnterpriseServerUserAccountOrder
- EnterpriseServerUserAccountsUploadOrder
- GistOrder
- IssueFilters
- IssueOrder
- LanguageOrder
- MilestoneOrder
- OrganizationOrder
- ProjectCardImport
- ProjectColumnImport
- ProjectOrder
- PullRequestOrder
- ReactionOrder
- RefOrder
- RegistryPackageMetadatum
- ReleaseOrder
- RepositoryInvitationOrder
- RepositoryOrder
- SavedReplyOrder
- SecurityAdvisoryIdentifierFilter
- SecurityAdvisoryOrder
- SecurityVulnerabilityOrder
- SponsorshipOrder
- StarOrder
- TeamDiscussionCommentOrder
- TeamDiscussionOrder
- TeamMemberOrder
- TeamOrder
- TeamRepositoryOrder
- UserStatusOrder
-
Scalars