Updates the comment with the specified id on the document with the specified id.
Updates the comment with the specified id on the document with the specified id.
InReplyToCommentId is not allowed to be changed.
Path parameters
documentId
The id of the document.
commentId
The id of the comment.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
message
The message of the comment.
userId
The id of the user who created the comment.
Optional. If not set, defaults to the current user.
previews
The preview URLs to show a preview for.
isHiddenForConnectUsers
(optional) Whether the comment is hidden for connect users. Providing a null value will not change the current state. By default, comments are not hidden for connect users.
isResolved
Whether the comment has been resolved.
Only available for comments on documents.
Response
OK
id
The id of the comment.
entityId
The id of the entity of the comment.
Required.
entityType
The type of the entity of the comment.
Can be "projects", "tasks".
Required.
entity
project
task
document
createdOn
The date this object was created.
createdBy
The id of the user who created this object.
user
updatedOn
The date this object was last modified.
updatedBy
The id of the user who last modified this object.
mentions
A mention is the tag of a user on a specific comment, so the user is notified.
reactions
The reactions on a comment.
formattedMessage
The formatted and proccessed version of the comment message. E.g. mentions are in a human readable format.
The formatted comment message is styled with html.
plainFormattedMessage
The formatted and proccessed version of the comment message. E.g. mentions are in a human readable format.
The formatted comment message is not styled.
resourceVersion
The version of the entity, updated on every modification, to the ticks in UTC.
Not identical to UpdatedOn.
message
The message of the comment.
userId
The id of the user who created the comment.
Optional. If not set, defaults to the current user.
previews
The preview URLs to show a preview for.
isHiddenForConnectUsers
True if the comment should be hidden to connect users.
isResolved
Whether the comment has been resolved.
Only available for comments on documents.
inReplyToCommentId
The parent comment this comment is a reply to.