Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Querying Database Version Information

Updated on 2022-12-12 GMT+08:00

API Description

This API is used to obtain database version information about a specified type of a DB instance.

URI

  • URI format

    GET https://{Endpoint}/v3/{project_id}/datastores/{datastore_name}/versions

  • URI example

    https://dds.ap-southeast-1.myhuaweicloud.com/v3/0549b4a43100d4f32f51c01c2fe4acdb/datastores/DDS-Community/versions

Requests

Request parameters
Table 1 Request parameters

Name

Type

IN

Mandatory

Description

x-auth-token

string

header

Yes

User token obtained from IAM.

For details, see Authentication.

project_id

string

path

Yes

Specifies the project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID.

datastore_name

string

path

Yes

Specifies the database type. The value is DDS-Community.

Responses

  • Parameter description
    Table 2 Parameter description

    Name

    Type

    Mandatory

    Description

    versions

    Array of strings

    Yes

    DB version. Versions 4.2, 4.0, and 3.4 are supported. The value can be 4.2, 4.0, or 3.4.

  • Response example
    {
        "versions": [
            "3.2",
            "3.4",
            "4.0"
        ]
    }

Status Code

For more information, see Status Code.

Error Code

For more information, see Error Code.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback