Database

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

Changes