Platrium Docs
Queries

Share Roles

The roles to offer when sharing an item: Viewer and Editor for a file or folder, the full ladder for a shared drive's root.

The roles to offer when sharing an item: Viewer and Editor for a file or folder, the full ladder for a shared drive's root.

Arguments

itemId*ID!

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

A role as it should be shown when choosing one.

query ShareRoles($itemId: ID!) {  shareRoles(itemId: $itemId) {    role    label    description    capabilities    downloadOptional  }}