summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-05-16 01:30:11 +0000
committerBin Yang <bin.yang@windriver.com>2019-05-16 02:09:08 +0000
commit392cfda87216b14b1cb4c6f9307fb5d531e6d3e0 (patch)
tree37a6b7fd35998c6ad77729d9671bfd291876c40a /docs
parentcd65ac58bf09b45144f6de2709279a549da4cb4a (diff)
Fix rst format issue
Change-Id: Ia912bed69d2eb853166caba3b9973f943d2b7c54 Issue-ID: MULTICLOUD-283 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/MultiCloud-APIv0-Specification.rst15
-rw-r--r--docs/MultiCloud-APIv1-Specification.rst9
2 files changed, 16 insertions, 8 deletions
diff --git a/docs/MultiCloud-APIv0-Specification.rst b/docs/MultiCloud-APIv0-Specification.rst
index a2f0d98..4042f70 100644
--- a/docs/MultiCloud-APIv0-Specification.rst
+++ b/docs/MultiCloud-APIv0-Specification.rst
@@ -2692,43 +2692,50 @@ NA
14.1. **Tokens**
-------------------------
+
+---------------------+----------------------------------------------------------------------------------------------+
-| **IF Definition** | **Description** |
+| **IF Definition** | **Description** |
+=====================+==============================================================================================+
-| URI | http://msb.onap.org:80/api/multicloud/v0/{cloud owner}_{region}/identity/v3/auth/tokens|
+| URI | http://msb.onap.org:80/api/multicloud/v0/{cloud owner}_{region}/identity/v3/auth/tokens |
+---------------------+----------------------------------------------------------------------------------------------+
| Operation | POST |
+---------------------+----------------------------------------------------------------------------------------------+
| Direction | NSLCM-> MULTICLOUD |
+---------------------+----------------------------------------------------------------------------------------------+
+
14.1.1. **Request**
>>>>>>>>>>>>>>>>>>>
+
+-----------------+-----------------+-------------------+---------------+-----------------------+
| **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
+=================+=================+===================+===============+=======================+
-| auth | O | 1 | Object | Same as OpenStack Identity Tokens API |
+| auth | O | 1 | Object | Same as OpenStack |
+| | | | | Identity Tokens API |
+-----------------+-----------------+-------------------+---------------+-----------------------+
+
::
{
}
+
14.1.2. **Response**
>>>>>>>>>>>>>>>>>>>>
+-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
-| **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
+| **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
+=================+=================+===================+=====================+==============================================================+
| X-Subject-Token | M | 1 | String | The authentication token in Header |
+-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
| token | O | 1 | Object | Token response, the same as OpenStack Identity Tokens API |
+-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
+
201: Created
401: Unauthorized
diff --git a/docs/MultiCloud-APIv1-Specification.rst b/docs/MultiCloud-APIv1-Specification.rst
index 4a9f78e..5debdb6 100644
--- a/docs/MultiCloud-APIv1-Specification.rst
+++ b/docs/MultiCloud-APIv1-Specification.rst
@@ -2553,9 +2553,9 @@ NA
-------------------------
+---------------------+----------------------------------------------------------------------------------------------+
-| **IF Definition** | **Description** |
+| **IF Definition** | **Description** |
+=====================+==============================================================================================+
-| URI | http://msb.onap.org:80/api/multicloud/v1/{cloud-owner}/{cloud-region-id}/identity/v3/auth/tokens|
+| URI | http://msb.onap.org:80/api/multicloud/v1/{cloud-owner}/{region-id}/identity/v3/auth/tokens |
+---------------------+----------------------------------------------------------------------------------------------+
| Operation | POST |
+---------------------+----------------------------------------------------------------------------------------------+
@@ -2568,7 +2568,8 @@ NA
+-----------------+-----------------+-------------------+---------------+-----------------------+
| **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
+=================+=================+===================+===============+=======================+
-| auth | O | 1 | Object | Same as OpenStack Identity Tokens API |
+| auth | O | 1 | Object | Same as OpenStack |
+| | | | | Identity Tokens API |
+-----------------+-----------------+-------------------+---------------+-----------------------+
::
@@ -2582,7 +2583,7 @@ NA
+-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+
-| **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
+| **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** |
+=================+=================+===================+=====================+==============================================================+
| X-Subject-Token | M | 1 | String | The authentication token in Header |
+-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+