List databases
GEThttps://api.instacloud.com/projects/{projectId}/database/databases
Token scope: account · org · project — read-only tokens allowed.
List databases in the postgres server.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
branch | query | string | no | branch name (default branch if omitted) |
group | query | string | no | postgres service name (default: the sole postgres service) |
projectId | path | string | yes |
Responses
200
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
databases | object[] | no | |
databases.name | string | no | |
databases.createdAt | string | no | |
databases.connString | string | no | |
databases.privateConnString | string | no | the private network lane twin of connString — it CONTAINS the password, exactly like connString. Present only while the instance has private access. |
400
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
403
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
409
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
502
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |