The access a user or group has to a resource.
| name | data type | description |
|---|---|---|
| role | string | Allowed values are NONE, VIEWER, EDITOR, CONTRIBUTOR and ACCESS.
Not all values are allowed in every context where Access objects are used.
|
| sharing | SharingPermission | The 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" : {
"external" : true,
"internal" : true,
"all_internal" : true,
"all_external" : true,
"public" : true,
"public_link" : true,
"grant_reshare" : true
},
"href" : "...",
"links" : [ {
"href" : "...",
"rel" : "..."
}, {
"href" : "...",
"rel" : "..."
} ]
}