Query Parameters
The granter
The grantee
(Optional) when set, will query only grants matching given msg type
The value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set
The numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set
The total number of results to be returned in the result page. If left empty it will default to a value to be set by each app
When set to true it indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set
It is set to true if results are to be returned in the descending order
Returns
An array of grants, which contains the following fields:
The authorization object which contains the following fields:
The type of authorization
The value of the authorization
The time when the grant will expire and will be pruned. If null, then the grant doesn't have a time expiration
The pagination object which contains the following fields:
The key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results
The total number of results available if PageRequest.count_total was set, its value is undefined otherwise