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 System.Int32
Comment
sent in body
Comment text System.String
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