Skip to main content
List 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.

Query Parameters

from
integer
default:0

Starting position in the result set.

Required range: x >= 0
Example:

0

groups
string[]

Keeps only the rights filed under the labels given. Repeat the parameter to allow several of them.

prefix
string

Keeps only the rights whose name starts with the text given, or whose description holds a word starting with it. It is matched literally, without any case folding, so a prefix written in lower case is what normally finds anything.

Example:

"view_"

size
integer
default:10

Maximum number of results to return.

Required range: 0 <= x <= 100
Example:

10

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