curl --request GET \
--url https://api.example.com/v1/instances/{instance}/databases/{database}/schemaString{
"schemaString": "<string>"
}Generates schema DDL for a database object. Permissions required: bb.databases.getSchema
curl --request GET \
--url https://api.example.com/v1/instances/{instance}/databases/{database}/schemaString{
"schemaString": "<string>"
}OBJECT_TYPE_UNSPECIFIED, DATABASE, SCHEMA, TABLE, VIEW, MATERIALIZED_VIEW, FUNCTION, PROCEDURE, SEQUENCE It's empty for DATABASE.
It's empty for DATABASE and SCHEMA.
The database metadata name.
Format: instances/{instance}/databases/{database}/metadata
The character_set is the character set of a database.
The collation is the collation of a database.
The owner of the database.
The search_path is the search path of a PostgreSQL database.
OK
Was this page helpful?