Access Data Type

The access a user or group has to a resource.

Properties
name data type description
role string Allowed values are NONE, VIEWER, EDITOR, and CONTRIBUTOR
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" : {
    "max_role" : "...",
    "external" : true,
    "internal" : true,
    "public" : true,
    "public_link" : true,
    "grant_reshare" : true
  },
  "href" : "...",
  "links" : [ {
    "href" : "...",
    "rel" : "..."
  }, {
    "href" : "...",
    "rel" : "..."
  } ]
}