Mutations
addReaction
Adds a reaction to a subject.
Champs d’entrée pour addReaction
input(AddReactionInput!)
Champs de retour pour addReaction
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The reaction object. |
| The reaction groups for the subject. |
| The reactable subject. |
removeReaction
Removes a reaction from a subject.
Champs d’entrée pour removeReaction
input(RemoveReactionInput!)
Champs de retour pour removeReaction
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The reaction object. |
| The reaction groups for the subject. |
| The reactable subject. |
Objects
Reaction
An emoji reaction to a particular piece of content.
Reaction Met en œuvre
Champs pour Reaction
| Nom | Description |
|---|---|
| Identifies the emoji reaction. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The Node ID of the Reaction object. |
| The reactable piece of content. |
| Identifies the user who created this reaction. |
ReactionConnection
A list of reactions that have been left on the subject.
Champs pour ReactionConnection
| Nom | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
| Whether or not the authenticated user has left a reaction on the subject. |
ReactionEdge
An edge in a connection.
Champs pour ReactionEdge
| Nom | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ReactionGroup
A group of emoji reactions to a particular piece of content.
Champs pour ReactionGroup
| Nom | Description |
|---|---|
| Identifies the emoji reaction. |
| Identifies when the reaction was created. |
| Reactors to the reaction subject with the emotion represented by this reaction group. |
| The subject that was reacted to. |
| Users who have reacted to the reaction subject with the emotion represented by this reaction group. Avertissement
Reactors can now be mannequins, bots, and organizations. Use the |
| Whether or not the authenticated user has left a reaction on the subject. |
ReactorConnection
The connection type for Reactor.
Champs pour ReactorConnection
| Nom | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ReactorEdge
Represents an author of a reaction.
Champs pour ReactorEdge
| Nom | Description |
|---|---|
| A cursor for use in pagination. |
| The author of the reaction. |
| The moment when the user made the reaction. |
Interfaces
Reactable
Represents a subject that can be reacted on.
Reactable est implémenté par
CommitCommentDiscussionDiscussionCommentIssueIssueCommentPullRequestPullRequestReviewPullRequestReviewCommentRelease
Champs pour Reactable
| Nom | Description |
|---|---|
| Identifies the primary key from the database. |
| The Node ID of the Reactable object. |
| A list of reactions grouped by content left on the subject. |
| A list of Reactions left on the Issue. Arguments pour
|
| Can user react to this subject. |
Enums
ReactionContent
Emojis that can be attached to Issues, Pull Requests and Comments.
Valeurs pour ReactionContent.
| Nom | Description |
|---|---|
CONFUSED | Represents the |
EYES | Represents the |
HEART | Represents the |
HOORAY | Represents the |
LAUGH | Represents the |
ROCKET | Represents the |
THUMBS_DOWN | Represents the |
THUMBS_UP | Represents the |
ReactionOrderField
A list of fields that reactions can be ordered by.
Valeurs pour ReactionOrderField.
| Nom | Description |
|---|---|
CREATED_AT | Allows ordering a list of reactions by when they were created. |
Unions
Reactor
Types that can be assigned to reactions.
Types possibles pour Reactor
Input objects
AddReactionInput
Autogenerated input type of AddReaction.
Champs d’entrée pour AddReactionInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The name of the emoji to react with. |
| The Node ID of the subject to modify. |
ReactionOrder
Ways in which lists of reactions can be ordered upon return.
Champs d’entrée pour ReactionOrder
| Nom | Description |
|---|---|
| The direction in which to order reactions by the specified field. |
| The field in which to order reactions by. |
RemoveReactionInput
Autogenerated input type of RemoveReaction.
Champs d’entrée pour RemoveReactionInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The name of the emoji reaction to remove. |
| The Node ID of the subject to modify. |