Github GraphQL API / Discussion
A discussion in a repository.
Implements
Fields
activeLockReason : LockReason
answer : DiscussionComment
answerChosenAt : DateTime
answerChosenBy : Actor
author : Actor
authorAssociation : CommentAuthorAssociation!
body : String!
bodyHTML : HTML!
bodyText : String!
category : DiscussionCategory!
comments
(
String: String
String: String
Int: Int
Int: Int
)
:
DiscussionCommentConnection!
createdAt : DateTime!
createdViaEmail : Boolean!
databaseId : Int
editor : Actor
id : ID!
includesCreatedEdit : Boolean!
labels
(
LabelOrder: LabelOrder
String: String
String: String
Int: Int
Int: Int
)
:
LabelConnection
lastEditedAt : DateTime
locked : Boolean!
number : Int!
publishedAt : DateTime
reactionGroups : [ReactionGroup!]
reactions
(
String: String
String: String
Int: Int
Int: Int
ReactionContent: ReactionContent
ReactionOrder: ReactionOrder
)
:
ReactionConnection!
repository : Repository!
resourcePath : URI!
title : String!
updatedAt : DateTime!
upvoteCount : Int!
url : URI!
userContentEdits
(
String: String
String: String
Int: Int
Int: Int
)
:
UserContentEditConnection
viewerCanDelete : Boolean!
viewerCanReact : Boolean!
viewerCanSubscribe : Boolean!
viewerCanUpdate : Boolean!
viewerCanUpvote : Boolean!
viewerDidAuthor : Boolean!
viewerHasUpvoted : Boolean!
viewerSubscription : SubscriptionState