Querying All API Versions
Function
This API is used to query all API versions supported by Cloud Eye.
Debugging
You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
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, no identity policy-based permission required for calling this API.
URI
GET /
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| versions | Array of APIVersionResp objects | Definition List of all versions. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| id | String | Definition Version ID (version number), for example, v1. Range N/A |
| links | Array of LinkResp objects | Definition API URL. Range N/A |
| version | String | Definition If the APIs of this version support micro versions, this parameter indicates the supported maximum micro version. If not, it is left blank. Range N/A |
| status | String | Definition Version status. Range The value can only be: |
| 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 micro versions, this parameter indicates the supported minimum micro version. If not, it is left blank. Range N/A |
Example Requests
Example request
GET https://{Cloud Eye endpoint}/ Example Responses
Status code: 200
OK
{
"versions" : [ {
"id" : "V1.0",
"links" : [ {
"href" : "https://x.x.x.x/V1.0/",
"rel" : "self"
} ],
"version" : "",
"status" : "CURRENT",
"updated" : "2018-09-30T00:00:00Z",
"min_version" : ""
} ]
} Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 408 | Request Timeout |
| 429 | Too Many Requests |
| 500 | Internal Server Error |
| 503 | Service Unavailable |
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