Updated on 2024-08-05 GMT+08:00

Querying a Specified API Version

Function

This API is used to query a specified API version.

URI

GET /das/{version}

Table 1 Path parameters

Parameter

Mandatory

Type

Description

version

Yes

String

API version.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

version

ApiVersion object

API version information.

Table 3 ApiVersion

Parameter

Type

Description

id

String

API version, for example, v3.

status

String

Version status CURRENT, indicating that the version is the primary version. SUPPORTED, indicating that the version is an earlier version which is still supported. DEPRECATED, indicating that the version is a deprecated version which may be deleted later.

updated

String

Time when the API version was released. The format is yyyy-mm-ddThh:mm:ssZ. T is the separator between the calendar and the hourly notation of time. Z indicates the UTC.

version

String

API microversion. If the APIs do not support microversions, the value is left blank.

Example Requests

This API is used to query a specified API version.

Example Responses

Status code: 200

Success

{
  "version" : {
    "id" : "v3",
    "version" : "",
    "status" : "CURRENT",
    "updated" : "2021-01-15T12:00:00Z"
  }
}

Status Code

Status Code

Description

200

Success.

Error Code

For details, see Error Codes.