The access a user or group has to a resource.
name | data type | description |
---|---|---|
role | string | Allowed values are NONE and ACCESS .
|
sharing | SharingPermission | The file sharing permissions assigned to the user or group. |
folder_sharing | SharingPermission | The folder sharing permissions assigned to the user or group. |
Properties inherited from BaseRestObject |
||
href | string | The path to this resource object. This is relative to the root of the REST API (https://serveraddress/rest). |
links | array of Link | Links to related resources. These should be used to navigate the REST API (instead of hard-coding the URLs) |
Example
{ "role" : "...", "sharing" : { "max_role" : "...", "external" : true, "internal" : true, "public" : true, "public_link" : true, "grant_reshare" : true }, "folder_sharing" : { "max_role" : "...", "external" : true, "internal" : true, "public" : true, "public_link" : true, "grant_reshare" : true }, "href" : "...", "links" : [ { "href" : "...", "rel" : "..." }, { "href" : "...", "rel" : "..." } ] }