Github API - Test Config

DiscussionConnection [object]

The connection type for Discussion.

Attributes
edges DiscussionEdge []

DiscussionEdge [object]

An edge in a connection.

Attributes
cursor String

A cursor for use in pagination.

node Discussion

The item at the end of the edge.

API:
Github GraphQL API

A list of edges.

nodes Discussion []

Discussion [object]

A discussion in a repository.

Implements
ClosableCommentDeletableLabelableLockableNodeReactableRepositoryNodeSubscribableUpdatableVotable
Attributes
activeLockReason LockReason

Reason that the conversation was locked.

The comment chosen as this discussion's answer, if any.

answerChosenAt DateTime

The time when a user chose this discussion's answer, if answered.

answerChosenBy Actor

The user who chose this discussion's answer, if answered.

author Actor

The actor who authored the comment.

authorAssociation CommentAuthorAssociation

Author's association with the subject of the comment.

body String

The main text of the discussion post.

bodyHTML HTML

The body rendered to HTML.

bodyText String

The body rendered to text.

The category for this discussion.

closed Boolean

Indicates if the object is closed (definition of closed may depend on type)

closedAt DateTime

Identifies the date and time when the object was closed.

The replies to the discussion.

createdAt DateTime

Identifies the date and time when the object was created.

createdViaEmail Boolean

Check if this comment was created via an email reply.

databaseId Int

Identifies the primary key from the database.

editor Actor

The actor who edited the comment.

id ID

The Node ID of the Discussion object

includesCreatedEdit Boolean

Check if this comment was edited and includes an edit with the creation data

isAnswered Boolean

Only return answered/unanswered discussions

A list of labels associated with the object.

lastEditedAt DateTime

The moment the editor made the last edit

locked Boolean

true if the object is locked

number Int

The number identifying this discussion within the repository.

The poll associated with this discussion, if one exists.

publishedAt DateTime

Identifies when the comment was published at.

reactionGroups ReactionGroup []

A list of reactions grouped by content left on the subject.

reactions ReactionConnection

A list of Reactions left on the Issue.

repository Repository

The repository associated with this node.

resourcePath URI

The path for this discussion.

stateReason DiscussionStateReason

Identifies the reason for the discussion's state.

title String

The title of this discussion.

updatedAt DateTime

Identifies the date and time when the object was last updated.

upvoteCount Int

Number of upvotes that this subject has received.

url URI

The URL for this discussion.

userContentEdits UserContentEditConnection

A list of edits to this content.

viewerCanClose Boolean

Indicates if the object can be closed by the viewer.

viewerCanDelete Boolean

Check if the current viewer can delete this object.

viewerCanReact Boolean

Can user react to this subject

viewerCanReopen Boolean

Indicates if the object can be reopened by the viewer.

viewerCanSubscribe Boolean

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

viewerCanUpdate Boolean

Check if the current viewer can update this object.

viewerCanUpvote Boolean

Whether or not the current user can add or remove an upvote on this subject.

viewerDidAuthor Boolean

Did the viewer author this comment.

viewerHasUpvoted Boolean

Whether or not the current user has already upvoted this subject.

viewerSubscription SubscriptionState

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

API:
Github GraphQL API

A list of nodes.

pageInfo PageInfo

PageInfo [object]

Information about pagination in a connection.

Attributes
endCursor String

When paginating forwards, the cursor to continue.

hasNextPage Boolean

When paginating forwards, are there more items?

hasPreviousPage Boolean

When paginating backwards, are there more items?

startCursor String

When paginating backwards, the cursor to continue.

API:
Github GraphQL API

Information to aid in pagination.

totalCount Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

Identifies the total count of items in the connection.

API:
Github GraphQL API