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 | number | 1234 |
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/1234/startedit Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "EditingAlone": true, "Doc": "some text" }
File key for Document Service