GraphiQL open_in_new

# `Reactable`

Represents a subject that can be reacted on.

## GraphQL Schema definition `

- interface Reactable {
- # Identifies the primary key from the database.
- databaseId: Int @deprecated( reason: "Exposed database IDs will eventually be removed in favor of global Relay IDs." )
- id: ID!
- # Are reaction live updates enabled for this subject.
- liveReactionUpdatesEnabled: Boolean!
- # A list of reactions grouped by content left on the
- # subject.
- reactionGroups: [ReactionGroup!]
- # A list of Reactions left on the Issue.
- #
- # Arguments
- # first: Returns the first _n_ elements
- # from the list.
- # after: Returns the elements in the
- # list that come after the specified global ID.
- # last: Returns the last _n_ elements
- # from the list.
- # before: Returns the elements in the
- # list that come before the specified global ID.
- # content: Allows filtering Reactions
- # by emoji.
- # orderBy: Allows specifying the order
- # in which reactions are returned.
- reactions(first: Int, after: String, last: Int, before: String, content: ReactionContent, orderBy: ReactionOrder): ReactionConnection!
- # The websocket channel ID for reaction live updates.
- reactionsWebsocket: String!
- # The repository associated with this reaction subject.
- repository: Repository! @deprecated( reason: "Future reaction subjects may not be scoped under repositories." )
- # Can user react to this subject
- viewerCanReact: Boolean!
- }

`