Skip to main content
Search rights

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
rightQuery
object

Which rights to return, as a search query over the fields of a right - name and description to look one up, acls to find everything a given ACL carries, group to keep to one section of the catalogue, class to pick out the document or workflow rights. Leave it out to match the whole catalogue.

Response

Returns the matching rights and how many there are altogether.

results
object[]

Rights that were asked for, as the page of the catalogue that was requested.

total
integer

How many rights match altogether, not merely how many came back on this page. For a caller who belongs to an organization it counts only the rights they are shown.

Example:

42