This API is used to query a specific ELB API version.
GET /{api_version}
Parameter |
Mandatory |
Description |
|---|---|---|
api_version |
Yes |
Specifies the API version. |
/v1.0
Parameter |
Type |
Description |
|---|---|---|
version |
Object |
Specifies the API version. |
id |
String |
Specifies the version ID, for example, v1. |
links |
Array |
Specifies the API URL. |
href |
String |
Specifies the reference address of the current API version. |
rel |
String |
Specifies the relationship between the current API version and the referenced address. |
version |
String |
Specifies the version. If minor versions are supported, set this parameter to the latest minor version. If minor versions are not supported, leave this parameter blank. |
status |
String |
Specifies the version status. Options are as follows:
|
updated |
String |
Specifies the version release time, which must be the UTC time. For example, the release time of v1 is 2014-06-28T12:20:21Z. |
min_version |
String |
Specifies the minor version. If minor versions are supported, set this parameter to the earliest minor version. If minor versions are not supported, leave this parameter blank. |
{
"version": {
"id": "v1.0",
"links": [
{
"href": "https://{elb_endpoint}/v1.0/",
"rel": "self"
}
],
"min_version": "",
"status": "CURRENT",
"updated": "2018-09-30T00:00:00Z",
"version": ""
}
}
Status Code |
Message |
Description |
|---|---|---|
400 |
Bad Request |
Request error. |
401 |
Unauthorized |
The authentication information is not provided or is incorrect. |
403 |
Forbidden |
The request was forbidden. |
404 |
Not Found |
The requested resource does not exist. |
408 |
Request Timeout |
The request timed out. |
429 |
Too Many Requests |
The number requests exceeded the upper limit. |
500 |
Internal Server Error |
Failed to complete the request because of an internal service error. |
503 |
Service Unavailable |
The service is currently unavailable. |