Skip to content

Put Comment Reaction

codecommit_put_comment_reaction R Documentation

Adds or updates a reaction to a specified comment for the user whose identity is used to make the request

Description

Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.

Usage

codecommit_put_comment_reaction(commentId, reactionValue)

Arguments

commentId

[required] The ID of the comment to which you want to add or update a reaction.

reactionValue

[required] The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none. For information about emoji reaction values supported in CodeCommit, see the CodeCommit User Guide.

Value

An empty list.

Request syntax

svc$put_comment_reaction(
  commentId = "string",
  reactionValue = "string"
)