api-ref: correct versions response example

This patch corrects the versions response to be consistent with the
current (Mitaka) Images API versions.

Change-Id: I57f1caad34af17f9667d16e1574646f378e2c11a
Closes-bug: #1609795
This commit is contained in:
Brian Rosmaita 2016-08-04 09:29:16 -04:00
parent 70b930136a
commit 7da4675321
1 changed files with 18 additions and 28 deletions

View File

@ -1,74 +1,64 @@
{
"versions": [
{
"status": "CURRENT",
"id": "v2.4",
"links": [
{
"href": "http://glance.openstack.org:9292/v2/",
"rel": "self"
}
]
},
{
"status": "SUPPORTED",
"id": "v2.3",
"links": [
{
"href": "http://glance.openstack.org:9292/v2/",
"href": "http://glance.openstack.example.org/v2/",
"rel": "self"
}
]
],
"status": "CURRENT"
},
{
"status": "SUPPORTED",
"id": "v2.2",
"links": [
{
"href": "http://glance.openstack.org:9292/v2/",
"href": "http://glance.openstack.example.org/v2/",
"rel": "self"
}
]
],
"status": "SUPPORTED"
},
{
"status": "SUPPORTED",
"id": "v2.1",
"links": [
{
"href": "http://glance.openstack.org:9292/v2/",
"href": "http://glance.openstack.example.org/v2/",
"rel": "self"
}
]
],
"status": "SUPPORTED"
},
{
"status": "SUPPORTED",
"id": "v2.0",
"links": [
{
"href": "http://glance.openstack.org:9292/v2/",
"href": "http://glance.openstack.example.org/v2/",
"rel": "self"
}
]
],
"status": "SUPPORTED"
},
{
"status": "SUPPORTED",
"id": "v1.1",
"links": [
{
"href": "http://glance.openstack.org:9292/v1/",
"href": "http://glance.openstack.example.org/v1/",
"rel": "self"
}
]
],
"status": "SUPPORTED"
},
{
"status": "SUPPORTED",
"id": "v1.0",
"links": [
{
"href": "http://glance.openstack.org:9292/v1/",
"href": "http://glance.openstack.example.org/v1/",
"rel": "self"
}
]
],
"status": "SUPPORTED"
}
]
}