GET api/2.0/files/file/{fileId}/links This function requires authentication

Description

Returns the external links of a file with the ID specified in the request.

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

File security information

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