Chelabase
ManagementBranches

List a branch's Postgres databases

GET
/v1/databases/{id}/branches/{branch_id}/databases

The databases of the branch's Postgres cluster: the main one first, then by name. The cluster's own postgres database is listed with origin system. Pass a name as database to the connection details. Each carries its data API state and default schema.

Authorization

bearer
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Database id

Formatuuid
branch_id*string

Branch id

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/databases/497f6eca-6276-4993-bfeb-53cbbbba6f08/branches/497f6eca-6276-4993-bfeb-53cbbbba6f08/databases"
[  {    "data_api": "off",    "data_api_error": "string",    "default_schema": "string",    "main": true,    "name": "string",    "origin": "main",    "owner": "string"  }]