This API is used to query the DB version information of a specified DB engine.
GET https://{Endpoint}/mysql/v3/{project_id}/datastores/{database_name}
GET https://{Endpoint}/mysql/v3/619d3e78f61b4be68bc5aa0b59edcf7b/datastores/gaussdb-mysql
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
database_name |
Yes |
DB engine. The following DB engine is supported (case-insensitive): gaussdb-mysql |
None.
Name |
Type |
Description |
---|---|---|
datastores |
Array of objects |
DB version list. For details, see Table 3. |
{ "datastores": [{ "id": "87620726-6802-46c0-9028-a8785e1f1921", "name": "8.0" }] }
For details, see Status Codes.
For details, see Error Codes.