Querying the Version List
Function
This API is used to query the API version list.
Calling Method
For details, see Calling APIs.
URI
GET /
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| versions | Array of ApiVersionDetail objects | Definition List of version objects Range N/A |
| Parameter | Type | Description |
|---|---|---|
| id | String | Definition Version ID, for example, v1.0. Range N/A |
| links | Array of ApiLink objects | Definition JSON object. For details, see the data structure of the links field. Range N/A |
| version | String | Definition If the APIs of this version support microversions, the supported maximum microversion is returned. If microversions are not supported, an empty string is returned. Range N/A |
| status | String | Definition Version status Range |
| updated | String | Definition Version release time in UTC. For example, the release time of v1 is 2014-06-28T12:20:21Z. Range N/A |
| min_version | String | Definition If the APIs of this version support microversions, the supported minimum microversion is returned. If microversions are not supported, an empty string is returned. Range N/A |
Example Requests
None
Example Responses
Status code: 200
Request succeeded.
{
"versions" : [ {
"min_version" : "",
"links" : [ {
"rel" : "self",
"href" : "https://kms.region_id.domain.com/v1.0/"
} ],
"id" : "v1.0",
"version" : "",
"updated" : "2016-10-29T02:00:00Z",
"status" : "CURRENT"
} ]
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Request succeeded. |
Error Codes
See Error Codes.