Resume a paused database
Changed onWake a free-tier database that was suspended for idleness (no client connections for 7 days). The database returns through deploying and reaches running in about a minute; all data is preserved.
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/databases/{database_id}/resume
- AuthAPI key in header X-API-Key
Path parameters
Database ID (UUID) or short id (the database_id field, e.g. a1b2c3d4)
Response
Resume started
Example response
{
"database": {
"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 media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status
- breaking