This API is used to obtain database version information about a specified type of a DB instance.
GET https://{Endpoint}/v3/{project_id}/datastores/{datastore_name}/versions
Name |
Mandatory |
Description |
|---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. |
datastore_name |
Yes |
Specifies the database type. The value is DDS-Community. |
Name |
Type |
Description |
|---|---|---|
versions |
Array of strings |
Indicates the database version. Currently, versions 3.2, 3.4, 4.0, 4.2, and 4.4 are supported. |
{
"versions": [
"3.2",
"3.4",
"4.0",
"4.2",
"4.4"
]
}
For more information, see Error Code.