diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/MultiCloud-APIv0-Specification.rst | 15 | ||||
-rw-r--r-- | docs/MultiCloud-APIv1-Specification.rst | 9 |
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 | +-----------------+-----------------+-------------------+---------------------+--------------------------------------------------------------+ |