diff options
author | liuyamin <liuyamin@fiberhome.com> | 2018-11-08 16:00:12 +0800 |
---|---|---|
committer | liuyamin <liuyamin@fiberhome.com> | 2018-11-08 16:03:33 +0800 |
commit | 8ad11697f95400d6453d502c5a04b9f3f05827c1 (patch) | |
tree | c2d24ea2a062832e74f315e4dd56d4afc385d863 /api-ref | |
parent | 6e8a69daf14a15fe0b0633f21f4112f19487e9da (diff) | |
download | nova-8ad11697f95400d6453d502c5a04b9f3f05827c1.tar.gz |
Fix version details API does not return 200 OK
When use version details api http://ip/compute/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.
Change-Id: I6befb4df6b688ae8c59671781c4e7b338a16462c
Closes-Bug: #1802247
Diffstat (limited to 'api-ref')
-rw-r--r-- | api-ref/source/versions.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api-ref/source/versions.inc b/api-ref/source/versions.inc index 7af60604f2..25d2b9780f 100644 --- a/api-ref/source/versions.inc +++ b/api-ref/source/versions.inc @@ -66,7 +66,7 @@ v2.1 API is lower than listed below. Show Details of Specific API Version ==================================== -.. rest_method:: GET /{api_version} +.. rest_method:: GET /{api_version}/ This gets the details of a specific API at its root. Nearly all this information exists at the API root, so this is mostly a redundant @@ -102,7 +102,7 @@ Response Response Example ---------------- -This is an example of a ``GET /v2.1`` on a relatively current server. +This is an example of a ``GET /v2.1/`` on a relatively current server. .. literalinclude:: /../../doc/api_samples/versions/v21-version-get-resp.json :language: javascript |