TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

PUT api/2.0/files/file/{fileId}/comment This function requires authentication

Description

Updates a comment in a file with the ID specified in the request.

Parameters
Name Description Type Example
fileId
sent in url
File ID number 1234
Version
sent in body
File version number 1234
Comment
sent in body
Comment text string some text
Example
PUT api/2.0/files/file/1234/comment
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Version": 1234,
  "Comment": "some text"
}
Returns

Updated comment