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

Description

Returns the access rights of a room with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in url
Room ID number 1234
filterType
sent in url
Share type filter ASC.Files.Core.Security.ShareFilterType
Example
GET api/2.0/files/rooms/1234/share
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "filterType": null
}
Returns

Security information of room files

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