summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-11-16 10:09:08 +0000
committerBin Yang <bin.yang@windriver.com>2018-11-16 10:09:08 +0000
commit0e8aea38a1154cdb4799b4f2e06a5b8170bfece8 (patch)
tree8a08d9343958e2ef96ace781fb21116ce4238951
parentb9844d09ce741d6993c479d7863f9dbfdd0d11c5 (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.rst17
-rw-r--r--docs/MultiCloud-APIv1-Specification.rst16
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"