Mutations
addReaction
Adds a reaction to a subject.
Поля ввода для addReaction
input(AddReactionInput!)
Возвращаемые поля для addReaction
| Имя. | 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.
Поля ввода для removeReaction
input(RemoveReactionInput!)
Возвращаемые поля для removeReaction
| Имя. | 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 Реализует
Поля для Reaction
| Имя. | 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.
Поля для ReactionConnection
| Имя. | 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.
Поля для ReactionEdge
| Имя. | 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.
Поля для ReactionGroup
| Имя. | 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. Предупреждение
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.
Поля для ReactorConnection
| Имя. | 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.
Поля для ReactorEdge
| Имя. | 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 реализуется с помощью
CommitCommentDiscussionDiscussionCommentIssueIssueCommentPullRequestPullRequestReviewPullRequestReviewCommentReleaseTeamDiscussionTeamDiscussionComment
Поля для Reactable
| Имя. | 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. Аргументы для
|
| Can user react to this subject. |
Enums
ReactionContent
Emojis that can be attached to Issues, Pull Requests and Comments.
Значения для ReactionContent
| Имя. | 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.
Значения для ReactionOrderField
| Имя. | Description |
|---|---|
CREATED_AT | Allows ordering a list of reactions by when they were created. |
Unions
Reactor
Types that can be assigned to reactions.
Возможные типы для Reactor
Input objects
AddReactionInput
Autogenerated input type of AddReaction.
Поля ввода для AddReactionInput
| Имя. | 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.
Поля ввода для ReactionOrder
| Имя. | 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.
Поля ввода для RemoveReactionInput
| Имя. | 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. |