From: Igor D.C Date: Sun, 26 Jul 2020 05:30:08 +0000 (+0000) Subject: Correct add-cluster metadata form field syntax X-Git-Tag: 0.7.0~68^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=6186da3b2a7c30b4979c9b8530ca59667ae12446;p=multicloud%2Fk8s.git Correct add-cluster metadata form field syntax Currently, the "metadata" form field expects JSON with the top-level dictionary "metadata", and then the actual data inside. The Postman collection doesn't provide that top-level dict which results in a failed API call when using the Postman request as is. Issue-ID: MULTICLOUD-1143 Signed-off-by: Igor D.C Change-Id: I5f0c4b699eb38f7e133e9d3d55eb2a0eda890601 --- diff --git a/docs/EMCO.postman_collection.json b/docs/EMCO.postman_collection.json index 0dad51e0..aebd0ebd 100644 --- a/docs/EMCO.postman_collection.json +++ b/docs/EMCO.postman_collection.json @@ -14834,7 +14834,7 @@ "formdata": [ { "key": "metadata", - "value": "{\"name\":\"\",\"description\":\"\",\"userData1\":\"\",\"userData2\":\"\"}", + "value": "{\"metadata\":{\"name\":\"\",\"description\":\"\",\"userData1\":\"\",\"userData2\":\"\"}}", "type": "text" }, { @@ -15745,4 +15745,4 @@ } ], "protocolProfileBehavior": {} -} \ No newline at end of file +}