POST api/2.0/files/file/{fileId}/startedit
Informs about opening a file with the ID specified in the request for editing, locking it from being deleted or moved (this method is called by the mobile editors).
Name |
Description |
Type |
Example |
fileId
sent in url
|
File ID
|
`0
|
|
EditingAlone
sent in body
|
Specifies whether to share a file with other users for editing or not
|
System.Boolean
|
|
Doc
sent in body
|
Shared token
|
System.String
|
|
POST api/2.0/files/file/{fileid}/startedit
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"EditingAlone": true,
"Doc": "some text"
}
File key for Document Service