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
None
Status Codes
Status Code | Description |
---|---|
200 | Successful request. |
Error Codes
See Error Codes.
Parent topic: API Version
- Calling Method
- URI