GET api/2.0/files/file/app-{fileId}/openedit
Opens a third-party file with the ID specified in the request for editing.
Name |
Description |
Type |
Example |
fileId
sent in url
|
File ID
|
string
|
some text
|
GET api/2.0/files/file/app-%22some+text%22/openedit
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": {
"DocumentType": "some text",
"EditorUrl": "some text",
"Token": "some text",
"Type": "some text"
}
}
text/xml
<result>
<status>0</status>
<response>
<DocumentType>some text</DocumentType>
<EditorUrl>some text</EditorUrl>
<Token>some text</Token>
<Type>some text</Type>
</response>
</result>