This API is used to query information of an API version.
GET https://{endpoint}/v2
Parameter |
Type |
Description |
|---|---|---|
versions |
Array of objects |
Specifies the API version information. For details, see Parameters in the versions field. |
Parameter |
Type |
Description |
|---|---|---|
min_version |
String |
Specifies the minimum microversion supported. If this version does not support microversions, the value is an empty string. |
media-types |
Array of objects |
Specifies the request message type of the API version. For details, see Parameters in the media-types field. |
links |
Array of objects |
Specifies the URI of the API version. For details, see Parameters in the links field. |
id |
String |
Specifies the ID of the API version. |
updated |
String |
Specifies the last time when the API version was updated. Time format: UTC YYYY-MM-DDTHH:MM:SS.XXXXXX |
version |
String |
Specifies the maximum microversion supported. If this version does not support microversions, the value is an empty string. |
status |
String |
Specifies the API version status. The value can be as follows:
|
Parameter |
Type |
Description |
|---|---|---|
type |
String |
Specifies the response type. |
base |
String |
Specifies the text type. |
Parameter |
Type |
Description |
|---|---|---|
rel |
String |
Specifies the domain name description. |
href |
String |
Specifies the domain name. |
type |
String |
Specifies the response type. |
{
"versions": [
{
"min_version": "",
"media-types": [
{
"type": "application/vnd.openstack.volume+json;version=1",
"base": "application/json"
},
{
"type": "application/vnd.openstack.volume+xml;version=1",
"base": "application/xml"
}
],
"links": [
{
"rel": "describedby",
"href": "http://docs.openstack.org/",
"type": "text/html"
},
{
"rel": "self",
"href": "https://evs.localdomain.com/v2"
}
],
"id": "v2.0",
"updated": "2014-06-28T12:20:21Z",
"version": "",
"status": "SUPPORTED"
}
]
}
For details, see Error Codes.