resources/comments/{cmid} (put)

To update a comment to a segment or to update an existing comment.

URL

(PUT) /resources/comments/{cmid}

PARAMETERS

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 comment category. See Comment (Object) for the values. If omitted, the category is set to 0. To keep the current category, send its value.

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


RESULTS

A JSON object with the full comment details. See Comment (Object) for details.