
Version show request for both v2 and v2.1 (/v2 and /v2.1) does not consider the CONF.osapi_compute_link_prefix for buidling links's href. Above should prepare href using CONF.osapi_compute_link_prefix as done for other links. Previously functional tests of specific versions were not present so it was not caught. Closes-Bug: 1480009 Change-Id: I54a09d2c56efb0a05832e57313917177b770c8cb
27 lines
660 B
JSON
27 lines
660 B
JSON
{
|
|
"version": {
|
|
"id": "v2.0",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://docs.openstack.org/",
|
|
"rel": "describedby",
|
|
"type": "text/html"
|
|
}
|
|
],
|
|
"media-types": [
|
|
{
|
|
"base": "application/json",
|
|
"type": "application/vnd.openstack.compute+json;version=2"
|
|
}
|
|
],
|
|
"status": "SUPPORTED",
|
|
"version": "",
|
|
"min_version": "",
|
|
"updated": "2011-01-21T11:33:21Z"
|
|
}
|
|
}
|