From 8ad11697f95400d6453d502c5a04b9f3f05827c1 Mon Sep 17 00:00:00 2001 From: liuyamin Date: Thu, 8 Nov 2018 16:00:12 +0800 Subject: 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 --- api-ref/source/versions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api-ref') 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 -- cgit v1.2.1