TeamDiscussionComment
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 comment on a team discussion.
Implements
Connections
ReactionConnection!)
A list of Reactions left on the Issue.
| 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. |
content |
ReactionContent
|
Allows filtering Reactions by emoji. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
orderBy |
ReactionOrder
|
Allows specifying the order in which reactions are returned. |
UserContentEditConnection)
A list of edits to this content.
| 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. |
Fields
Actor)
The actor who authored the comment.
CommentAuthorAssociation!)
Author's association with the comment's team.
String!)
The body as Markdown.
HTML!)
The comment body rendered to HTML.
String!)
The body rendered to text.
String!)
The current version of the body content.
DateTime!)
Identifies the date and time when the object was created.
Boolean!)
Check if this comment was created via an email reply.
Int)
Identifies the primary key from the database.
TeamDiscussion!)
The discussion this comment is about.
Actor)
The actor who edited the comment.
ID!)
Boolean!)
Check if this comment was edited and includes an edit with the creation data
DateTime)
The moment the editor made the last edit
Int!)
Identifies the comment number.
DateTime)
Identifies when the comment was published at.
[ReactionGroup!])
A list of reactions grouped by content left on the subject.
URI!)
The HTTP path for this comment
DateTime!)
Identifies the date and time when the object was last updated.
URI!)
The HTTP URL for this comment
Boolean!)
Check if the current viewer can delete this object.
Boolean!)
Can user react to this subject
Boolean!)
Check if the current viewer can update this object.
[CommentCannotUpdateReason!]!)
Reasons why the current viewer can not update this comment.
Boolean!)
Did the viewer author this comment.
-
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
- OrderDirection
- OrgAddMemberAuditEntryPermission
- OrgRemoveBillingManagerAuditEntryReason
- OrgRemoveMemberAuditEntryMembershipType
- OrgRemoveMemberAuditEntryReason
- OrgRemoveOutsideCollaboratorAuditEntryMembershipType
- OrgRemoveOutsideCollaboratorAuditEntryReason
- OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
- OrgUpdateMemberAuditEntryPermission
- OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility
- OrganizationInvitationRole
- OrganizationInvitationType
- OrganizationMemberRole
- OrganizationMembersCanCreateRepositoriesSettingValue
- OrganizationOrderField
- PinnableItemType
- ProjectCardArchivedState
- ProjectCardState
- ProjectColumnPurpose
- ProjectOrderField
- ProjectState
- ProjectTemplate
- 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