diff options
author | Bin Yang <bin.yang@windriver.com> | 2018-11-16 10:09:08 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2018-11-16 10:09:08 +0000 |
commit | 0e8aea38a1154cdb4799b4f2e06a5b8170bfece8 (patch) | |
tree | 8a08d9343958e2ef96ace781fb21116ce4238951 | |
parent | b9844d09ce741d6993c479d7863f9dbfdd0d11c5 (diff) |
Update metadata example in API spec
Change-Id: Ibdbc34d9aef340ef98316406a4a827badfc94fd5
Issue-ID: MULTICLOUD-405
Signed-off-by: Bin Yang <bin.yang@windriver.com>
-rw-r--r-- | docs/MultiCloud-APIv0-Specification.rst | 17 | ||||
-rw-r--r-- | docs/MultiCloud-APIv1-Specification.rst | 16 |
2 files changed, 6 insertions, 27 deletions
diff --git a/docs/MultiCloud-APIv0-Specification.rst b/docs/MultiCloud-APIv0-Specification.rst index b89a51e..a5158c1 100644 --- a/docs/MultiCloud-APIv0-Specification.rst +++ b/docs/MultiCloud-APIv0-Specification.rst @@ -1370,15 +1370,6 @@ N/A | portId | M | 1 | String | Port Id | +-----------------+-----------------+-------------------+---------------+-------------------+ -**metadata** - -+-----------------+-----------------+-------------------+---------------+-------------------+ -| **Parameter** | **Qualifier** | **Cardinality** | **Content** | **Description** | -+=================+=================+===================+===============+===================+ -| keyName | M | 1 | String | Key name | -+-----------------+-----------------+-------------------+---------------+-------------------+ -| value | M | 1 | string | value | -+-----------------+-----------------+-------------------+---------------+-------------------+ :: @@ -1422,13 +1413,11 @@ N/A }], - "metada": [{ - - "keyName": "foo", + "metada": { - "value": "foo value" + "foo": "foo value" - }], + }, "userdata": "abcdedf" diff --git a/docs/MultiCloud-APIv1-Specification.rst b/docs/MultiCloud-APIv1-Specification.rst index b68fbe0..dc5c551 100644 --- a/docs/MultiCloud-APIv1-Specification.rst +++ b/docs/MultiCloud-APIv1-Specification.rst @@ -1152,14 +1152,6 @@ Parameter Qualifier Cardinality Content Description portId M 1 String Port Id ================ ========= ============ ======== ================================ -**metadata** - -================ ========= ============ ======== ================================ -Parameter Qualifier Cardinality Content Description -================ ========= ============ ======== ================================ - keyName M 1 String Key name - value M 1 string value -================ ========= ============ ======== ================================ :: @@ -1203,13 +1195,11 @@ Parameter Qualifier Cardinality Content Description }], - "metada": [{ - - "keyName": "foo", + "metada": { - "value": "foo value" + "foo": "foo value" - }], + }, "userdata": "abcdedf" |