Check whether you can upgrade Postgres service to a newer version
Check whether you can upgrade Postgres service to a newer version
Path parameters
-
Service name
Minimum length is
0
, maximum length is63
.
Body Required
-
Target version for upgrade
Values are
14
,15
,12
,13
, or16
.
POST /dbaas-postgres/{service}/upgrade-check
curl \
-X POST https://api-ch-gva-2.exoscale.com/v2/dbaas-postgres/{service}/upgrade-check \
-H "Content-Type: application/json" \
-d '{"target-version":"14"}'
Request examples
{
"target-version": "14"
}
Response examples (200)
{
"id": "string",
"create-time": "2024-05-04T09:42:00+00:00",
"result": "string",
"result-codes": [
{
"code": "string",
"dbname": "string"
}
],
"success": true,
"task-type": "string"
}