Reference documentation for GraphQL schema types in the Reactions category.
Adds a reaction to a subject.
addReactioninput (AddReactionInput!):addReactionclientMutationId (String): A unique identifier for the client performing the mutation.reaction (Reaction): The reaction object.reactionGroups ([ReactionGroup!]): The reaction groups for the subject.subject (Reactable): The reactable subject.Autogenerated input type of AddReaction.
AddReactionInputclientMutationId (String): A unique identifier for the client performing the mutation.content (ReactionContent!): The name of the emoji to react with.subjectId (ID!): The Node ID of the subject to modify.Represents a subject that can be reacted on.
ReactabledatabaseId (Int): Identifies the primary key from the database.
id (ID!): The Node ID of the Reactable object.
reactionGroups ([ReactionGroup!]): A list of reactions grouped by content left on the subject.
reactions (ReactionConnection!): A list of Reactions left on the Issue.
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.viewerCanReact (Boolean!): Can user react to this subject.
An emoji reaction to a particular piece of content.
Implements: Node
Reactioncontent (ReactionContent!): Identifies the emoji reaction.createdAt (DateTime!): Identifies the date and time when the object was created.databaseId (Int): Identifies the primary key from the database.id (ID!): The Node ID of the Reaction object.reactable (Reactable!): The reactable piece of content.user (User): Identifies the user who created this reaction.A list of reactions that have been left on the subject.
ReactionConnectionedges ([ReactionEdge]): A list of edges.nodes ([Reaction]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.viewerHasReacted (Boolean!): Whether or not the authenticated user has left a reaction on the subject.Emojis that can be attached to Issues, Pull Requests and Comments.
ReactionContentCONFUSED: Represents the 😕 emoji.EYES: Represents the 👀 emoji.HEART: Represents the ❤️ emoji.HOORAY: Represents the :hooray: emoji.LAUGH: Represents the :laugh: emoji.ROCKET: Represents the 🚀 emoji.THUMBS_DOWN: Represents the 👎 emoji.THUMBS_UP: Represents the 👍 emoji.An edge in a connection.
ReactionEdgecursor (String!): A cursor for use in pagination.node (Reaction): The item at the end of the edge.A group of emoji reactions to a particular piece of content.
ReactionGroupcontent (ReactionContent!): Identifies the emoji reaction.createdAt (DateTime): Identifies when the reaction was created.reactors (ReactorConnection!): Reactors to the reaction subject with the emotion represented by this reaction group. (Pagination: after, before, first, last)subject (Reactable!): The subject that was reacted to.users (ReactingUserConnection!): Users who have reacted to the reaction subject with the emotion represented by this reaction group. Deprecated: Reactors can now be mannequins, bots, and organizations. Use the reactors field instead. Removal on 2021-10-01 UTC. (Pagination: after, before, first, last)viewerHasReacted (Boolean!): Whether or not the authenticated user has left a reaction on the subject.Ways in which lists of reactions can be ordered upon return.
ReactionOrderdirection (OrderDirection!): The direction in which to order reactions by the specified field.field (ReactionOrderField!): The field in which to order reactions by.A list of fields that reactions can be ordered by.
ReactionOrderFieldCREATED_AT: Allows ordering a list of reactions by when they were created.Types that can be assigned to reactions.
ReactorThe connection type for Reactor.
ReactorConnectionedges ([ReactorEdge]): A list of edges.nodes ([Reactor]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.Represents an author of a reaction.
ReactorEdgecursor (String!): A cursor for use in pagination.node (Reactor!): The author of the reaction.reactedAt (DateTime!): The moment when the user made the reaction.Removes a reaction from a subject.
removeReactioninput (RemoveReactionInput!):removeReactionclientMutationId (String): A unique identifier for the client performing the mutation.reaction (Reaction): The reaction object.reactionGroups ([ReactionGroup!]): The reaction groups for the subject.subject (Reactable): The reactable subject.Autogenerated input type of RemoveReaction.
RemoveReactionInputclientMutationId (String): A unique identifier for the client performing the mutation.content (ReactionContent!): The name of the emoji reaction to remove.subjectId (ID!): The Node ID of the subject to modify.