From cfd4dd00d19e9f46c31f399a4d97ec6f5c0c72df Mon Sep 17 00:00:00 2001 From: lijunbo Date: Wed, 10 Jan 2018 10:04:22 +0800 Subject: [PATCH] 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. Change-Id: I1cde2a35dc84ccaac15d6963f453fd793c54fda4 Closes-Bug: #1742336 --- api-ref/source/versions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-ref/source/versions.inc b/api-ref/source/versions.inc index 66bed262aa..dca29acd44 100644 --- a/api-ref/source/versions.inc +++ b/api-ref/source/versions.inc @@ -68,7 +68,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 it's root. Nearly all this information exists at the API root, so this is mostly a redundant @@ -105,7 +105,7 @@ Response Response Example ---------------- -This is an example of a ``GET /v2`` on a relatively current server. +This is an example of a ``GET /v2/`` on a relatively current server. .. literalinclude:: samples/versions-get-version-response.json :language: javascript