Comments
Create comment
Adds a comment by the user to a specific file, or as a reply to an other comment.
post/comments
Query parameters
fieldsstring[]
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.
Request body
Example request
{
"message": "Review completed!",
"tagged_message": "@[1234:John] Review completed!",
"item": {
"id": "11446498",
"type": "file"
}
}Response
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.
Example response
{
"id": "11446498",
"type": "comment",
"is_reply_comment": true,
"message": "@Aaron Levie these tigers are cool!",
"created_by": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00",
"item": {
"id": "11446498",
"type": "file"
},
"tagged_message": "@[1234567:Aaron Levie] these tigers are cool!"
}