forked from laiweijian4/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
8.3 KiB
8.3 KiB
Querying Version Information
Function
This API is used to query version information of a specified type of instances.
Constraints
This API supports GaussDB(for Cassandra) instances.
URI
GET https://{Endpoint}/v3/{project_id}/datastores/{datastore_name}/versions
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
datastore_name |
Yes |
String |
Database type. The value can be:
|
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
versions |
Array of strings |
Database version. The supported versions are:
|
Example Requests
URI example
GET https://{Endpoint}/v3/375d8d8fad1f43039e23d3b6c0f60a19/datastores/cassandra/versions
Example Responses
Status code: 200
Success
{ "versions" : [ "3.11" ] }
Status Codes
For details, see Status Codes.
Error Codes
For details, see Error Codes.
Parent topic: DB Engine Versions and Specifications