Querying API Versions¶
Function¶
This API is used to query all available ELB API versions.
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
GET https://{ELB_Endpoint}/versions
Example Responses¶
Status code: 200
Successful request.
{ "versions" : [ { "id" : "v3", "status" : "CURRENT" } ] }
Status Codes¶
Status Code | Description |
---|---|
200 | Successful request. |
Error Codes¶
See Error Codes.