Hi! We're looking into integrating the Cerbos REST...
# help
c
Hi! We're looking into integrating the Cerbos REST API and we're using the API spec published here: https://docs.cerbos.dev/cerbos/latest/api/_attachments/cerbos-api We were wondering if Cerbos publishes versioned specs for this API, as we want to make sure we match the service version against the API spec we're using.
c
Hey, you can grab the Swagger/OpenAPI spec from any running Cerbos instance by accessing http://localhost:3592/schema/swagger.json. That's guaranteed to give you the version that works with that version of Cerbos. It's also available on GitHub at https://github.com/cerbos/cerbos/blob/main/schema/openapiv2/cerbos/svc/v1/svc.swagger.json and you can pick the tagged version for the release you're working on.
c
Great, thank you so much!