Querying the Version List
Function
This API is used to query the API version list.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
kms::getVersions
Read
-
-
-
-
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot