curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/postgres \
--header 'Authorization: Bearer <token>'{
"count": 123,
"items": [
{
"flavor": "<string>",
"ha_type": "<string>",
"id": "pgn30gjk1d1e2jj34v9x0dq4rp",
"location": "<string>",
"name": "<string>",
"state": "<string>",
"storage_size_gib": 123,
"version": "<string>",
"target_version": "<string>",
"vm_size": "<string>",
"maintenance_window_start_at": 123,
"read_replica": true,
"tags": [
{
"key": "<string>",
"value": "<string>"
}
],
"target_storage_size_gib": 123,
"target_vm_size": "<string>",
"ca_certificates": "<string>",
"parent": "<string>"
}
]
}curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/postgres \
--header 'Authorization: Bearer <token>'{
"count": 123,
"items": [
{
"flavor": "<string>",
"ha_type": "<string>",
"id": "pgn30gjk1d1e2jj34v9x0dq4rp",
"location": "<string>",
"name": "<string>",
"state": "<string>",
"storage_size_gib": 123,
"version": "<string>",
"target_version": "<string>",
"vm_size": "<string>",
"maintenance_window_start_at": 123,
"read_replica": true,
"tags": [
{
"key": "<string>",
"value": "<string>"
}
],
"target_storage_size_gib": 123,
"target_vm_size": "<string>",
"ca_certificates": "<string>",
"parent": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
Filter by tags in key:value format (comma-separated for multiple tags)
"environment:production,team:backend"
Pagination - Start after
Pagination - Page size
Pagination - Order column
A list of Postgres Databases
Show child attributes
Kind of Postgres database
High availability type
ID of the Postgres database
"pgn30gjk1d1e2jj34v9x0dq4rp"
Location of the Postgres database
Name of the Postgres database
State of the Postgres database
Storage size in GiB
Current Postgres version
Target Postgres version
Size of the underlying VM
Maintenance window start time
If the database is a read replica or not
Desired storage size in GiB
Desired VM size
CA certificates of the root CA used to issue postgres server certificates
Parent Postgres database