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

Querying API Versions

Function

This API is used to query API versions.

URI

GET /das

Request Parameters

None

Response Parameters

Status code: 200

Table 1 Response body parameters

Parameter

Type

Description

versions

Array of ApiVersion objects

API version information.

Table 2 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 API versions.

Example Responses

Status code: 200

{
  "versions" : [ {
    "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.