warrant-dev / warrant

Warrant is a highly scalable, centralized authorization service based on Google Zanzibar. Use it to define, enforce, query, and audit application authorization and access control.
https://warrant.dev
Apache License 2.0
1.12k stars 39 forks source link

Add /v2 endpoints #253

Closed kkajla12 closed 11 months ago

kkajla12 commented 11 months ago

Describe your changes

Adds a /v2 version of all endpoints. The /v2 version of list endpoints now returns a response in the following format:

{
   "results": [...],
   "prevCursor": "...",
   "nextCursor": "..."
}

Issue number and link (if applicable)

N/A