To update a comment to a segment or to update an existing comment.
(PUT) /resources/comments/{cmid}
The URL parameters are:
cmid | The ID of the comment to update. If null then this call will add a new comment. | Optional |
The parameters are a JSON object included in the request body:
scope | The scope object. The segment must be within the scope. | Mandatory |
txt | The comment text. Plain text. | Mandatory |
cat | Optionally, the comments category. Defines the category (a name) as well as visual style. | Optional |
solved | The comment status if it's solved or not. (true) means the comment is solved. (false) means the comment is not solved. Sending the value as null or not sending it (the system will set it to false by default) | Optional |
A JSONĀ object with the full comment details. See Comment (Object) for details.