Get PostgREST OpenAPI spec
get
/v1/projects/{ref}/database/openapiReturns the PostgREST OpenAPI specification for the project. This is the replacement for querying /rest/v1/ directly with the anon key.
OAuth scopes
- database:read
Path parameters
- refRequiredstring
Project ref
Query parameters
- schemaOptionalstring
The database schema to generate the OpenAPI spec for
Response codes
- 200
- 401
- 403
- 429
- 500
Response (200)
1{}