GET /api/v1/{context_id}/principals
Changed onList the Context's principals (requires the grant:manage grant). Paginated: follow page.nextCursor.
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
context_idstring required
Spectron context id
Query parameters
limitinteger
Max principals to return (default 100, max 500)
cursorstring
Continuation token from the previous page's page.nextCursor
countboolean
Also return page.totalSize
Response
Changes
- breaking
the response's body type changed from
arraytoobjectfor status - info
added the new optional
queryrequest parametercount - info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterlimit - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking