PUT api/2.0/files/file/{fileId}/comment
Updates a comment in a file with the ID specified in the request.
Name |
Description |
Type |
Example |
fileId
sent in url
|
File ID
|
`0
|
|
Version
sent in body
|
File version
|
System.Int32
|
|
Comment
sent in body
|
Comment text
|
System.String
|
|
PUT api/2.0/files/file/{fileid}/comment
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"Version": 1234,
"Comment": "some text"
}