File Comment Reactions

A FileCommentReaction is a reaction that is attached to a comment on a file.

Create File Comment Reaction

Command

files-cli file-comment-reactions create

Output

Outputs a FileCommentReaction object according to the output format.

Authorization Requirement

Available to all authenticated keys or sessions.

Flags

FlagDescription
--user-id=
int64
User ID. Provide a value of 0 to operate the current session's user.
--file-comment-id=
int64
Required
ID of file comment to attach reaction to.
--emoji=
string
Required
Emoji to react with.

Example Request

files-cli file-comment-reactions create \
  --file-comment-id=1 \
  --emoji="emoji"

Delete File Comment Reaction

Command

files-cli file-comment-reactions delete

Output

No output is returned.

Authorization Requirement

Available to all authenticated keys or sessions.

Flags

FlagDescription
--id=
int64
Required
File Comment Reaction ID.

Example Request

files-cli file-comment-reactions delete \
  --id=1

The FileCommentReaction Object

Some of the commands above return a FileCommentReaction object. The attributes of this object are listed below.

AttributeDescription
id
int64
Reaction ID
emoji
string
Emoji used in the reaction.