Get Started
API backend
API system
More information

POST api/2.0/files/file/{fileId}/startedit This function requires authentication

Description

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).

Parameters
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
Example
POST api/2.0/files/file/{fileid}/startedit
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "EditingAlone": true,
  "Doc": "some text"
}
Returns

File key for Document Service