List databases
Changed onList the managed databases of the account, or of one project with X-Project-ID.
Each database includes its live numbers in metrics (connections, storage, operations per second), sampled every minute; metrics is null until the first sample.
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/databases
- AuthAPI key in header X-API-Key
Headers
Optional project ID to scope the list. Omit to list across all accessible projects.
Response
List of databases
Example response
{
"databases": [
{
"name": "orders-db",
"engine": "postgres",
"engine_version": "16",
"region": "us-east",
"plan_id": 5,
"storage_gb": 25,
"connection_host": "a1b2c3d4.db.raffusercloud.com",
"connection_port": 5432,
"billing_type": "payg",
"price_per_hour": 0.010945,
"monthly_price": 7.99,
"public_port": 20104,
"public_dns_hostname": "a1b2c3d4.public.db.raffusercloud.com",
"public_allowlist": [
"203.0.113.0/24"
]
}
]
}Changes
- warning
added the new
movingenum value to the//response property for the response status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning
- breaking
the
//response's property format changed fromuuidto no format for status - breaking
the
//response's property format changed fromuuidto no format for status - warning
added the new
resizingenum value to the//response property for the response status - warning
added the new
restoringenum value to the//response property for the response status - info
added the new optional
headerrequest parameterX-Project-ID - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking