TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

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
    }
  ]
}