Adds a comment by the user to a specific file, or as a reply to an other comment.
The access token received from the authorization server in the OAuth 2.0 flow.
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
The text of the comment.
To mention a user, use the tagged_message
parameter instead.
"Review completed!"
The item to attach the comment to.
The text of the comment, including @[user_id:name]
somewhere in the message to mention another user, which
will send them an email notification, letting them know
they have been mentioned.
The user_id is the target user's ID, where the name
can be any custom phrase. In the Box UI this name will
link to the user's profile.
If you are not mentioning another user, use message
instead.
"@[1234:John] Review completed!"
Returns the newly created comment object.
Not all available fields are returned by default. Use the fields query parameter to explicitly request any specific fields.
Comments are messages created on files. Comments can be made independently or created as responses to other comments. Standard representation of a comment. Base representation of a comment.
The unique identifier for this comment.
"11446498"
The value will always be comment.
comment "comment"
Whether or not this comment is a reply to another comment.
true
The text of the comment, as provided by the user.
"@Aaron Levie these tigers are cool!"
A mini user object representing the author of the comment.
The time this comment was created.
"2012-12-12T10:53:43-08:00"
The time this comment was last modified.
"2012-12-12T10:53:43-08:00"
The file this comment was placed on.
The string representing the comment text with
@mentions included. @mention format is @[id:username]
where id is user's Box ID and username is
their display name.
"@[1234567:Aaron Levie] these tigers are cool!"