GET api/2.0/files/rooms/{id}/share
Returns the access rights of a room with the ID specified in the request.
Name |
Description |
Type |
Example |
id
sent in url
|
Room ID
|
`0
|
|
GET api/2.0/files/rooms/{id}/share
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Security information of room files
application/json
{
"status": 0,
"response": [
{
"Access": "ReadWrite",
"IsLocked": true,
"IsOwner": true,
"CanEditAccess": true
}
]
}
text/xml
<result>
<status>0</status>
<response>
<Access>ReadWrite</Access>
<IsLocked>True</IsLocked>
<IsOwner>True</IsOwner>
<CanEditAccess>True</CanEditAccess>
</response>
</result>