GET api/2.0/files/rooms/{id}/links This function requires authentication

Description

Returns the links of a room with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in url
Room ID number 1234
type
sent in url
Link type
optional
ASC.Files.Core.ApiModels.ResponseDto.LinkType
Example
GET api/2.0/files/rooms/1234/links
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "type": null
}
Returns

Room security information

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