v1
latestOpenAPI 3.0.02026-07-14169146300.3 KBDatabase
Get PostgREST OpenAPI spec
Returns the PostgREST OpenAPI specification for the project. This is the replacement for querying /rest/v1/ directly with the anon key.
get/v1/projects/{ref}/database/openapi
Path parameters
refstring required
Example:abcdefghijklmnopqrst
Project ref
Query parameters
schemastring
The database schema to generate the OpenAPI spec for
Response
object required