Improvement of controlpanel dashboard
Fix some bugs in the backend to support PMS_V2.0
return list of policy instances
policyData in put request should be a object instead of string
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Issue-ID: NONRTRIC-314
Change-Id: I5de0f6484d5232132fd8b6b945074b8adccf8e3e
diff --git a/docs/api.json b/docs/api.json
index 53e1a2f..3a47572 100644
--- a/docs/api.json
+++ b/docs/api.json
@@ -141,7 +141,7 @@
"tags": [
"policy-controller"
],
- "summary": "Returns a policy instance of a type",
+ "summary": "Returns a policy instance",
"operationId": "getPolicyInstanceUsingGET",
"produces": [
"application/json"
@@ -153,13 +153,6 @@
"description": "policy_instance_id",
"required": true,
"type": "string"
- },
- {
- "name": "type",
- "in": "query",
- "description": "type",
- "required": true,
- "type": "string"
}
],
"responses": {