doc-exports/docs/dds/api-ref/dds_database_version.html
Wang , Deng Ke 4c6bc53817 dds api for docs/document-database-service#35
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>
2023-07-11 10:47:18 +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 3.2, 3.4, 4.0, and 4.2 are supported.

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

Status Code

Status Code:200.

For more information, see Status Code.

Error Code

For more information, see Error Code.