summaryrefslogtreecommitdiffstats
path: root/docs/pap/swagger/policy-status-pap.json
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2021-02-22 14:44:33 -0500
committerAjith Sreekumar <ajith.sreekumar@bell.ca>2021-02-23 11:17:56 +0000
commit6f96b34d7f5ed7e45f5eee673d9304686d2200bf (patch)
tree5f4cbd93669686ea1253e3dbab08d81645e610ef /docs/pap/swagger/policy-status-pap.json
parent8fcb2f68bb4fbd1728d6273555ea186309c14f20 (diff)
Update swagger tags and response code
Issue-ID: POLICY-2526 Change-Id: I447a0f62b279b42fd10de15d886bcfa3fee07f2e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Diffstat (limited to 'docs/pap/swagger/policy-status-pap.json')
-rw-r--r--docs/pap/swagger/policy-status-pap.json17
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/pap/swagger/policy-status-pap.json b/docs/pap/swagger/policy-status-pap.json
index de48fdd8..db60220c 100644
--- a/docs/pap/swagger/policy-status-pap.json
+++ b/docs/pap/swagger/policy-status-pap.json
@@ -26,7 +26,7 @@
"/policy/pap/v1/policies/status": {
"get": {
"tags": [
- "Status of policies in all PdpGroups"
+ "Policy Status"
],
"summary": "Queries status of policies in all PdpGroups",
"description": "Queries status of policies in all PdpGroups, returning status of policies in all the PDPs belonging to all PdpGroups",
@@ -98,7 +98,7 @@
"/policy/pap/v1/policies/status/{pdpGroupName}": {
"get": {
"tags": [
- "Status of policies in a PdpGroup"
+ "Policy Status"
],
"summary": "Queries status of policies in a specific PdpGroup",
"description": "Queries status of policies in a specific PdpGroup, returning status of policies in all the PDPs belonging to the PdpGroup",
@@ -159,6 +159,9 @@
"403": {
"description": "Authorization Error"
},
+ "404": {
+ "description": "Resource not found"
+ },
"500": {
"description": "Internal Server Error"
}
@@ -177,7 +180,7 @@
"/policy/pap/v1/policies/status/{pdpGroupName}/{policyName}": {
"get": {
"tags": [
- "Status of all versions of a policy in a PdpGroup"
+ "Policy Status"
],
"summary": "Queries status of all versions of a specific policy in a specific PdpGroup",
"description": "Queries status of all versions of a specific policy in a specific PdpGroup, returning status of all versions of the policy in the PDPs belonging to the PdpGroup",
@@ -245,6 +248,9 @@
"403": {
"description": "Authorization Error"
},
+ "404": {
+ "description": "Resource not found"
+ },
"500": {
"description": "Internal Server Error"
}
@@ -263,7 +269,7 @@
"/policy/pap/v1/policies/status/{pdpGroupName}/{policyName}/{policyVersion}": {
"get": {
"tags": [
- "Status of a version of a policy in a PdpGroup"
+ "Policy Status"
],
"summary": "Queries status of a specific version of a specific policy in a specific PdpGroup",
"description": "Queries status of a specific version of a specific policy in a specific PdpGroup, returning status of the policy in the PDPs belonging to the PdpGroup",
@@ -338,6 +344,9 @@
"403": {
"description": "Authorization Error"
},
+ "404": {
+ "description": "Resource not found"
+ },
"500": {
"description": "Internal Server Error"
}