678a77a905
On "list API versions", 'media-types' type needed to show the version number as "version=". However all versions represent "1" always. It is confusing, so this patch fixes them for accurate ones. Closes-Bug: #1675112 Change-Id: I43ee2661b5412e24f225c6a272702b42d779667a
77 lines
2.2 KiB
JSON
77 lines
2.2 KiB
JSON
{
|
|
"versions": [
|
|
{
|
|
"status": "DEPRECATED",
|
|
"updated": "2014-06-28T12:20:21Z",
|
|
"links": [
|
|
{
|
|
"href": "http://docs.openstack.org/",
|
|
"type": "text/html",
|
|
"rel": "describedby"
|
|
},
|
|
{
|
|
"href": "http://10.0.2.15:8776/v1/",
|
|
"rel": "self"
|
|
}
|
|
],
|
|
"min_version": "",
|
|
"version": "",
|
|
"media-types": [
|
|
{
|
|
"base": "application/json",
|
|
"type": "application/vnd.openstack.volume+json;version=1"
|
|
}
|
|
],
|
|
"id": "v1.0"
|
|
},
|
|
{
|
|
"status": "SUPPORTED",
|
|
"updated": "2014-06-28T12:20:21Z",
|
|
"links": [
|
|
{
|
|
"href": "http://docs.openstack.org/",
|
|
"type": "text/html",
|
|
"rel": "describedby"
|
|
},
|
|
{
|
|
"href": "http://10.0.2.15:8776/v2/",
|
|
"rel": "self"
|
|
}
|
|
],
|
|
"min_version": "",
|
|
"version": "",
|
|
"media-types": [
|
|
{
|
|
"base": "application/json",
|
|
"type": "application/vnd.openstack.volume+json;version=2"
|
|
}
|
|
],
|
|
"id": "v2.0"
|
|
},
|
|
{
|
|
"status": "CURRENT",
|
|
"updated": "2016-02-08T12:20:21Z",
|
|
"links": [
|
|
{
|
|
"href": "http://docs.openstack.org/",
|
|
"type": "text/html",
|
|
"rel": "describedby"
|
|
},
|
|
{
|
|
"href": "http://10.0.2.15:8776/v3/",
|
|
"rel": "self"
|
|
}
|
|
],
|
|
"min_version": "3.0",
|
|
"version": "{Current_Max_Version}",
|
|
"media-types": [
|
|
{
|
|
"base": "application/json",
|
|
"type": "application/vnd.openstack.volume+json;version=3"
|
|
}
|
|
],
|
|
"id": "v3.0"
|
|
}
|
|
]
|
|
}
|