GET api/2.0/files/file/{id}/link This function requires authentication

Description

Returns the primary external link with the identifier specified in the request.

Parameters
Name Description Type Example
id
sent in url
File ID number 1234
Example
GET api/2.0/files/file/1234/link
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Security information of file

Example Response
{
  "status": 0,
  "response": {
    "Access": "ReadWrite",
    "IsLocked": true,
    "IsOwner": true,
    "CanEditAccess": true
  }
}