Fix version details API does not return 200 OK
When use version details api http://ip:8786/v2 to get api details, it does not return 200 OK, and the return value is empty. This change is to correct the version details API URL and its sample response. Change-Id: I547dca649db22b31051b490c2b230322d3c9d479
This commit is contained in:
parent
6dd3776723
commit
65626f449f
@ -1,20 +1,28 @@
|
||||
{
|
||||
"choices": [
|
||||
"versions": [
|
||||
{
|
||||
"status": "SUPPORTED",
|
||||
"status": "DEPRECATED",
|
||||
"updated": "2017-02-25T12:00:00Z",
|
||||
"media-types": [
|
||||
{
|
||||
"base": "application/json",
|
||||
"type": "application/vnd.openstack.volume+json;version=1"
|
||||
"type": "application/vnd.openstack.volume+json;version=2"
|
||||
}
|
||||
],
|
||||
"id": "v2.0",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://23.253.248.171:8776/v2/v2.json",
|
||||
"href": "https://docs.openstack.org/",
|
||||
"type": "text/html",
|
||||
"rel": "describedby"
|
||||
},
|
||||
{
|
||||
"href": "http://23.253.248.171:8776/v2/",
|
||||
"rel": "self"
|
||||
}
|
||||
]
|
||||
],
|
||||
"min_version": "",
|
||||
"version": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ API versions
|
||||
Show API v2 details
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. rest_method:: GET /v2
|
||||
.. rest_method:: GET /v2/
|
||||
|
||||
Shows details for Block Storage API v2.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user