resources/comments/{cmid} (put)

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 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



RESULTS

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









Copyright Wordbee - Buzzin' Outside the Box since 2008