diff options
author | Huang Haibin <haibin.huang@intel.com> | 2018-11-27 12:59:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-11-27 12:59:26 +0000 |
commit | 276104e4037bcb5fc462facdab1fe1d5ca8a5803 (patch) | |
tree | 22c9218c93b847ce0a59e84384252d667f1d3173 | |
parent | 3392b7218aeec34c3c63ecd8d53dd4fe9e9fa9fc (diff) | |
parent | 2a1f9d70d78956236ef0ece57cb39c25398786ba (diff) |
Merge "Update metadata example in API spec" into casablanca
-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" |