Update a comment 

Update the Atom document representation of the comment associated with a file.

This method replaces the current comment Atom document. To find out how to first retrieve the comment that you want to update, see Retrieve a comment.

You must authenticate this request.

Table 1. Atom API request details

Method URI Output representation Description
PUT /basic/api/userlibrary/{userid}/document/{document-id}/comment/{comment-id}/entry comment Atom document Updates a comment associated with someone else's file.
PUT /basic/api/myuserlibrary/document/{document-id}/comment/{comment-id}/entry comment Atom document Updates a comment associated with one of your files.

You can use this input parameter with the PUT request.

Table 2. Input parameters

Parameter Description
identifier Indicates how the document is identified in the {document-id} variable segment of the web address. By default, look up is performed with the expectation that the URL contains the value from the <td:uuid> element of a File Atom entry. Specify "label" if the URL instead contains the value from the <td:label> element of a File Atom entry.


Input

You can provide the comment as an Atom entry document or as plain text in the request header.


Output

An updated comment Atom entry document.

Returned HTTP headers

HTTP/1.1 204 No Content

Error codes


Parent topic

Work with comments

Related reference
Search Profiles programmatically
Files comment content


   

 

});

+

Search Tips   |   Advanced Search