Operations with Specific Reaction
This resource lets you work with reactions to an issue comment.
Resource | /api/issues/{issueID}/comments/{commentID}/reactions/{reactionID} |
Returned entity | Reaction. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
|
Reaction attributes
Represents a reaction to a comment in YouTrack added by a user.
Attributes
This table describes attributes of the Reaction
entity.
To receive an attribute in the response from the server, specify it explicitly in the
fields
request parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
id | String | The ID of the reaction. |
author | User | The user who put the reaction. |
reaction | String | The string representation of the reaction. |
Read a Specific Reaction
Get a reaction with a specific ID.
Required permissions
Requires permissions: Read Issue, Read Issue Comment
Request syntax
{reactionID} | The database ID of the reaction. |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of Reaction attributes that should be returned in the response. If no field is specified, only the |
Sample
Sample request
Sample response body
Delete a Specific Reaction
Remove a reaction from a comment. Only the author of the reaction can remove it.
Required permissions
Requires permissions: Read Issue, Read Issue Comment. Only the author of the reaction can remove it.
Request syntax
{reactionID} | The database ID of the reaction. |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of Reaction attributes that should be returned in the response. If no field is specified, only the |