Querying API Versions
Function
This API is used to query all available ELB API versions.
Calling Method
For details, see Calling APIs.
URI
GET /versions
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
versions |
Array of ApiVersionInfo objects |
Lists the available API versions. |
Parameter |
Type |
Description |
---|---|---|
id |
String |
Specifies the API version. The value can be v3, v2, or v2.0 in ascending order. |
status |
String |
Specifies the status of the API version. The values are as follows:
Note: CURRENT indicates the latest version. |
Example Requests
Querying API versions of a load balancer
GET https://{ELB_Endpoint}/versions
Example Responses
Status code: 200
Successful request.
-
{ "versions" : [ { "id" : "v3", "status" : "CURRENT" }, { "id" : "v2", "status" : "STABLE" }, { "id" : "v2.0", "status" : "STABLE" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
Successful request. |
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