This changes the response for the createImage and createBackup server action APIs to no longer return a Location header and instead returns a json dict body with the snapshot image ID. This is done in a new microversion. Implements blueprint remove-create-image-location-header-response Closes-Bug: #1679285 Change-Id: Idc899ee76b8265b1c9e0871b6c7c277424cdd442
31 lines
750 B
JSON
31 lines
750 B
JSON
{
|
|
"versions": [
|
|
{
|
|
"id": "v2.0",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/",
|
|
"rel": "self"
|
|
}
|
|
],
|
|
"status": "SUPPORTED",
|
|
"version": "",
|
|
"min_version": "",
|
|
"updated": "2011-01-21T11:33:21Z"
|
|
},
|
|
{
|
|
"id": "v2.1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2.1/",
|
|
"rel": "self"
|
|
}
|
|
],
|
|
"status": "CURRENT",
|
|
"version": "2.45",
|
|
"min_version": "2.1",
|
|
"updated": "2013-07-23T11:33:21Z"
|
|
}
|
|
]
|
|
}
|