List_grants
GET
List active Project role grants with project view grants permission. Revoked grants are excluded.
This operation returns results in pages. To get the next page, send the nextPageToken value of the response as pageToken in a new request with the same parameters. When the response has no nextPageToken, there are no more pages. A page can have an empty items list before the last page.
bearerAuthheader
AuthorizationBearer <token>project_id*stringpageSize?|nullpageToken?string|nullprincipal?string|nullSuccess
application/json- response
One live page of Grant records, ordered by ID. Continuations expire after one hour and bind the credential, operation, filters and page size.
items*array<>nextPageToken?string|nullcurl -X GET 'https://api.spiraldb.dev/api/authorization/projects/string/grants'{ "items": [ { "conditions": { "property1": "string", "property2": "string" }, "id": "string", "principal": "string", "projectId": "string", "role": "admin" } ], "nextPageToken": "string"}