• Relational Database Service

rds
  1. Help Center
  2. Relational Database Service
  3. API Reference
  4. API Version Queries
  5. Querying a Specified API Version

Querying a Specified API Version

Function

This API is used to query the specified API version.

URI

  • URI format

    PATH: /rds/{versionId}

    Method: GET

  • Parameter description
    Table 1 Parameter description

    Name

    Mandatory

    Description

    versionId

    Yes

    Specifies the API version. It is case-sensitive.

    For details, see id in Table 2 in section Querying the API Version List.

Request

N/A

Normal Response

  • Parameter description
    Table 2 Parameter description

    Name

    Type

    Description

    versions

    List data structure

    Indicates the list of detailed API version information.

    For details, see Table 3.

    version

    List data structure

    Indicates the list of detailed API version information.

    For details, see Table 3.

    Table 3 versions field data structure description

    Name

    Type

    Description

    id

    String

    Indicates the API version.

    links

    List data structure

    Indicates the API version link information. Its value is empty.

    For details, see Table 4.

    status

    String

    Indicates the version status.

    updated

    String

    Indicates the version update time.

    The format is yyyy-mm-dd Thh:mm:ssZ.

    T is the separator between the calendar and the hourly notation of time. Z indicates the UTC.

    Table 4 links field data structure description

    Name

    Type

    Description

    href

    String

    Indicates the API URL and the value is "".

    rel

    String

    Its value is self, indicating that href is a local link.

  • Response example
    {
      "version": {
        "id": "v1",
        "links": [],
        "status": "CURRENT",
        "updated": "2017-02-07T17:34:02Z"
      },
      "versions": {
        "id": "v1",
        "links": [],
        "status": "CURRENT",
        "updated": "2017-02-07T17:34:02Z"
      }
    }

Abnormal Response

For details, see Abnormal Request Results.