Interface GitHub::Reactable

Represents a subject that can be reacted on.

Fields

databaseId: Int

Identifies the primary key from the database.

id: ID!

reactionGroups: [ReactionGroup!]

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

reactions(after: String, before: String, first: Int, last: Int, content: ReactionContent, orderBy: ReactionOrder): ReactionConnection!

A list of Reactions left on the Issue.

Args

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.

content: ReactionContent

Allows filtering Reactions by emoji.

orderBy: ReactionOrder

Allows specifying the order in which reactions are returned.

viewerCanReact: Boolean!

Can user react to this subject

Possible Types

CommitComment

Issue

IssueComment

PullRequest

PullRequestReview

PullRequestReviewComment

TeamDiscussion

TeamDiscussionComment

Uses

AddReactionPayload.subject

Reaction.reactable

ReactionGroup.subject

RemoveReactionPayload.subject