Files
doc-exports/docs/dds/api-ref/dds_database_version.html
wangdengke2 87153b4b9b dds_api
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2025-08-13 15:59:03 +00:00

6.1 KiB

Querying Database Version Information

Function

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

URI

Responses

  • Parameter description
    Table 2 Parameter description

    Name

    Type

    Description

    versions

    Array of strings

    Indicates the database version. Currently, versions 4.0, 4.2, 4.4 and 5.0 are supported.

  • Response example
    {
        "versions": [
            "4.0",
            "4.2",
            "4.4",
            "5.0"
        ]
    }

Status Code

Status Code:200.

For more information, see Status Code.

Error Code

For more information, see Error Code.