From: Bin Yang Date: Thu, 16 May 2019 01:30:11 +0000 (+0000) Subject: Fix rst format issue X-Git-Tag: 1.3.3~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=multicloud%2Fframework.git;a=commitdiff_plain;h=392cfda87216b14b1cb4c6f9307fb5d531e6d3e0 Fix rst format issue Change-Id: Ia912bed69d2eb853166caba3b9973f943d2b7c54 Issue-ID: MULTICLOUD-283 Signed-off-by: Bin Yang --- 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 | +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+