Merge "Fix swagger tags in controllers"
[policy/pap.git] / postman / pap-api-collection.json
1 {
2     "info": {
3         "_postman_id": "76860e78-4c44-45c1-9da0-ba001c0be587",
4         "name": "Policy Framework Administration API",
5         "description": "This collection lists all the Administration API's supported by ONAP Policy Framework. These API's are used to perform administrative operations for managing policies, groups, statistics & health information for all registered PDP engines.",
6         "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7     },
8     "item": [
9         {
10             "name": "PAP healthcheck",
11             "protocolProfileBehavior": {
12                 "disableBodyPruning": true
13             },
14             "request": {
15                 "method": "GET",
16                 "header": [
17                     {
18                         "key": "Content-Type",
19                         "type": "text",
20                         "value": "application/json"
21                     },
22                     {
23                         "key": "Accept",
24                         "type": "text",
25                         "value": "application/json"
26                     }
27                 ],
28                 "body": {
29                     "mode": "raw",
30                     "raw": ""
31                 },
32                 "url": {
33                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/healthcheck",
34                     "host": [
35                         "{{POLICY-PAP-URL}}"
36                     ],
37                     "path": [
38                         "policy",
39                         "pap",
40                         "v1",
41                         "healthcheck"
42                     ]
43                 },
44                 "description": "This is an API to fetch current healthcheck information for the policy-pap component."
45             },
46             "response": []
47         },
48         {
49             "name": "Policy Consolidated healthcheck",
50             "protocolProfileBehavior": {
51                 "disableBodyPruning": true
52             },
53             "request": {
54                 "method": "GET",
55                 "header": [
56                     {
57                         "key": "Content-Type",
58                         "value": "application/json",
59                         "type": "text"
60                     },
61                     {
62                         "key": "Accept",
63                         "value": "application/json",
64                         "type": "text"
65                     }
66                 ],
67                 "body": {
68                     "mode": "raw",
69                     "raw": ""
70                 },
71                 "url": {
72                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/components/healthcheck",
73                     "host": [
74                         "{{POLICY-PAP-URL}}"
75                     ],
76                     "path": [
77                         "policy",
78                         "pap",
79                         "v1",
80                         "components",
81                         "healthcheck"
82                     ]
83                 },
84                 "description": "This is an API to fetch current healthcheck information for all the policy framework components."
85             },
86             "response": []
87         },
88         {
89             "name": "PdpGroup Query",
90             "protocolProfileBehavior": {
91                 "disableBodyPruning": true
92             },
93             "request": {
94                 "method": "GET",
95                 "header": [
96                     {
97                         "key": "Content-Type",
98                         "type": "text",
99                         "value": "application/json"
100                     },
101                     {
102                         "key": "Accept",
103                         "type": "text",
104                         "value": "application/json"
105                     }
106                 ],
107                 "body": {
108                     "mode": "raw",
109                     "raw": ""
110                 },
111                 "url": {
112                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps",
113                     "host": [
114                         "{{POLICY-PAP-URL}}"
115                     ],
116                     "path": [
117                         "policy",
118                         "pap",
119                         "v1",
120                         "pdps"
121                     ]
122                 },
123                 "description": "This is an API to fetch details of all PdpGroups currently available in Policy DB."
124             },
125             "response": []
126         },
127         {
128             "name": "PdpGroup State Change",
129             "request": {
130                 "method": "PUT",
131                 "header": [
132                     {
133                         "key": "Content-Type",
134                         "value": "application/json",
135                         "type": "text"
136                     },
137                     {
138                         "key": "Accept",
139                         "value": "application/json",
140                         "type": "text"
141                     }
142                 ],
143                 "url": {
144                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE",
145                     "host": [
146                         "{{POLICY-PAP-URL}}"
147                     ],
148                     "path": [
149                         "policy",
150                         "pap",
151                         "v1",
152                         "pdps",
153                         "groups",
154                         "defaultGroup"
155                     ],
156                     "query": [
157                         {
158                             "key": "state",
159                             "value": "ACTIVE"
160                         }
161                     ]
162                 },
163                 "description": "This is an API to change the current state of a PdpGroup (example - \"defaultGroup\") resulting in changing state of all the PDP instances registered with the PdpGroup. As of now, the allowed states are ACTIVE and PASSIVE."
164             },
165             "response": []
166         },
167         {
168             "name": "Simple Deploy Policy",
169             "request": {
170                 "method": "POST",
171                 "header": [
172                     {
173                         "key": "Content-Type",
174                         "type": "text",
175                         "value": "application/json"
176                     },
177                     {
178                         "key": "Accept",
179                         "type": "text",
180                         "value": "application/json"
181                     }
182                 ],
183                 "body": {
184                     "mode": "raw",
185                     "raw": "{\r\n  \"policies\" : [\r\n    {\r\n      \"policy-id\": \"operational.modifyconfig\",\r\n      \"policy-version\": \"1.0.0\"\r\n    }\r\n    ]\r\n}"
186                 },
187                 "url": {
188                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/policies",
189                     "host": [
190                         "{{POLICY-PAP-URL}}"
191                     ],
192                     "path": [
193                         "policy",
194                         "pap",
195                         "v1",
196                         "pdps",
197                         "policies"
198                     ]
199                 },
200                 "description": "This is an API to deploy one or more policies in all available & matching PdpGroups in Policy DB. The match is done based on supported policy types in the PdpSunGroup and the policy type referred by the given policy."
201             },
202             "response": []
203         },
204         {
205             "name": "Simple Undeploy Policy",
206             "request": {
207                 "method": "DELETE",
208                 "header": [
209                     {
210                         "key": "Accept",
211                         "value": "application/json",
212                         "type": "text"
213                     },
214                     {
215                         "key": "Content-Type",
216                         "value": "application/json",
217                         "type": "text"
218                     }
219                 ],
220                 "url": {
221                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/policies/operational.modifyconfig",
222                     "host": [
223                         "{{POLICY-PAP-URL}}"
224                     ],
225                     "path": [
226                         "policy",
227                         "pap",
228                         "v1",
229                         "pdps",
230                         "policies",
231                         "operational.modifyconfig"
232                     ]
233                 },
234                 "description": "This is an API to undeploy one or more policies from all PdpGroups in Policy DB."
235             },
236             "response": []
237         },
238         {
239             "name": "Create/Update PdpGroup",
240             "request": {
241                 "method": "POST",
242                 "header": [
243                     {
244                         "key": "Content-Type",
245                         "type": "text",
246                         "value": "application/json"
247                     },
248                     {
249                         "key": "Accept",
250                         "type": "text",
251                         "value": "application/json"
252                     }
253                 ],
254                 "body": {
255                     "mode": "raw",
256                     "raw": "{\n    \"groups\": [\n        {\n            \"name\": \"SampleGroup\",\n            \"pdpGroupState\": \"ACTIVE\",\n            \"properties\": {},\n            \"pdpSubgroups\": [\n                {\n                    \"pdpType\": \"apex\",\n                    \"desiredInstanceCount\": 2,\n                    \"properties\": {},\n                    \"supportedPolicyTypes\": [\n                        {\n                            \"name\": \"onap.policies.controlloop.operational.common.Apex\",\n                            \"version\": \"1.0.0\"\n                        }\n                    ],\n                    \"policies\": []\n                },\n                {\n                    \"pdpType\": \"xacml\",\n                    \"desiredInstanceCount\": 1,\n                    \"properties\": {},\n                    \"supportedPolicyTypes\": [\n                        {\n                            \"name\": \"onap.policies.monitoring.*\",\n                            \"version\": \"1.0.0\"\n                        }\n                    ],\n                    \"policies\": []\n                }\n            ]\n        }\n    ]\n}"
257                 },
258                 "url": {
259                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/groups/batch",
260                     "host": [
261                         "{{POLICY-PAP-URL}}"
262                     ],
263                     "path": [
264                         "policy",
265                         "pap",
266                         "v1",
267                         "pdps",
268                         "groups",
269                         "batch"
270                     ]
271                 },
272                 "description": "This is a generic API to create/update PdpGroups in Policy DB. However, the supportedPolicyTypes field of PdpSubGroup cannot be changed once created."
273             },
274             "response": []
275         },
276         {
277             "name": "PDPGroup Deploy Policy",
278             "request": {
279                 "method": "POST",
280                 "header": [
281                     {
282                         "key": "Content-Type",
283                         "type": "text",
284                         "value": "application/json"
285                     },
286                     {
287                         "key": "Accept",
288                         "type": "text",
289                         "value": "application/json"
290                     }
291                 ],
292                 "body": {
293                     "mode": "raw",
294                     "raw": "{\n    \"groups\": [\n        {\n            \"name\": \"defaultGroup\",\n            \"deploymentSubgroups\": [\n                {\n                    \"pdpType\": \"drools\",\n                    \"action\": \"POST\",\n                    \"policies\": [\n                        {\n                            \"name\": \"operational.modifyconfig\",\n                            \"version\": \"1.0.0\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"
295                 },
296                 "url": {
297                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/deployments/batch",
298                     "host": [
299                         "{{POLICY-PAP-URL}}"
300                     ],
301                     "path": [
302                         "policy",
303                         "pap",
304                         "v1",
305                         "pdps",
306                         "deployments",
307                         "batch"
308                     ]
309                 },
310                 "description": "This is an API to deploy one or more policies to the specified PdpGroup, resulting in deployment of policies to all registered PDP instances of that specified PdpGroup."
311             },
312             "response": []
313         },
314         {
315             "name": "PDPGroup Undeploy Policy",
316             "request": {
317                 "method": "POST",
318                 "header": [
319                     {
320                         "key": "Content-Type",
321                         "type": "text",
322                         "value": "application/json"
323                     },
324                     {
325                         "key": "Accept",
326                         "type": "text",
327                         "value": "application/json"
328                     }
329                 ],
330                 "body": {
331                     "mode": "raw",
332                     "raw": "{\n    \"groups\": [\n        {\n            \"name\": \"defaultGroup\",\n            \"deploymentSubgroups\": [\n                {\n                    \"pdpType\": \"drools\",\n                    \"action\": \"DELETE\",\n                    \"policies\": [\n                        {\n                            \"name\": \"operational.modifyconfig\",\n                            \"version\": \"1.0.0\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"
333                 },
334                 "url": {
335                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/deployments/batch",
336                     "host": [
337                         "{{POLICY-PAP-URL}}"
338                     ],
339                     "path": [
340                         "policy",
341                         "pap",
342                         "v1",
343                         "pdps",
344                         "deployments",
345                         "batch"
346                     ]
347                 },
348                 "description": "This is an API to undeploy one or more policies from the specified PdpGroup, resulting in removal of policies from all registered PDP instances of that specified PdpGroup."
349             },
350             "response": []
351         },
352         {
353             "name": "Fetch All Policy Status",
354             "protocolProfileBehavior": {
355                 "disableBodyPruning": true
356             },
357             "request": {
358                 "method": "GET",
359                 "header": [
360                     {
361                         "key": "Content-Type",
362                         "type": "text",
363                         "value": "application/json"
364                     },
365                     {
366                         "key": "Accept",
367                         "type": "text",
368                         "value": "application/json"
369                     }
370                 ],
371                 "body": {
372                     "mode": "raw",
373                     "raw": ""
374                 },
375                 "url": {
376                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/status",
377                     "host": [
378                         "{{POLICY-PAP-URL}}"
379                     ],
380                     "path": [
381                         "policy",
382                         "pap",
383                         "v1",
384                         "policies",
385                         "status"
386                     ]
387                 },
388                 "description": "This is a generic API to fetch status of all policies in the registered PDP instances."
389             },
390             "response": []
391         },
392         {
393             "name": "Fetch All Policy Status in a Group",
394             "protocolProfileBehavior": {
395                 "disableBodyPruning": true
396             },
397             "request": {
398                 "method": "GET",
399                 "header": [
400                     {
401                         "key": "Content-Type",
402                         "type": "text",
403                         "value": "application/json"
404                     },
405                     {
406                         "key": "Accept",
407                         "type": "text",
408                         "value": "application/json"
409                     }
410                 ],
411                 "body": {
412                     "mode": "raw",
413                     "raw": ""
414                 },
415                 "url": {
416                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/status/defaultGroup",
417                     "host": [
418                         "{{POLICY-PAP-URL}}"
419                     ],
420                     "path": [
421                         "policy",
422                         "pap",
423                         "v1",
424                         "policies",
425                         "status",
426                         "defaultGroup"
427                     ]
428                 },
429                 "description": "This is a generic API to fetch status of all policies in the registered PDP instances in a PDP Group."
430             },
431             "response": []
432         },
433         {
434             "name": "Fetch Policy Status in a Group",
435             "protocolProfileBehavior": {
436                 "disableBodyPruning": true
437             },
438             "request": {
439                 "method": "GET",
440                 "header": [
441                     {
442                         "key": "Content-Type",
443                         "type": "text",
444                         "value": "application/json"
445                     },
446                     {
447                         "key": "Accept",
448                         "type": "text",
449                         "value": "application/json"
450                     }
451                 ],
452                 "body": {
453                     "mode": "raw",
454                     "raw": ""
455                 },
456                 "url": {
457                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/status/defaultGroup/operational.modifyconfig",
458                     "host": [
459                         "{{POLICY-PAP-URL}}"
460                     ],
461                     "path": [
462                         "policy",
463                         "pap",
464                         "v1",
465                         "policies",
466                         "status",
467                         "defaultGroup",
468                         "operational.modifyconfig"
469                     ]
470                 },
471                 "description": "This is a generic API to fetch status of all versions of a policy in the registered PDP instances in a PDP Group."
472             },
473             "response": []
474         },
475         {
476             "name": "Fetch All Policy deployment Status",
477             "protocolProfileBehavior": {
478                 "disableBodyPruning": true
479             },
480             "request": {
481                 "method": "GET",
482                 "header": [
483                     {
484                         "key": "Content-Type",
485                         "type": "text",
486                         "value": "application/json"
487                     },
488                     {
489                         "key": "Accept",
490                         "type": "text",
491                         "value": "application/json"
492                     }
493                 ],
494                 "body": {
495                     "mode": "raw",
496                     "raw": ""
497                 },
498                 "url": {
499                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/deployed",
500                     "host": [
501                         "{{POLICY-PAP-URL}}"
502                     ],
503                     "path": [
504                         "policy",
505                         "pap",
506                         "v1",
507                         "policies",
508                         "deployed"
509                     ]
510                 },
511                 "description": "This is a generic API to fetch status of all deployed policies in the registered PDP instances."
512             },
513             "response": []
514         },
515         {
516             "name": "Fetch Policy deployment Status",
517             "protocolProfileBehavior": {
518                 "disableBodyPruning": true
519             },
520             "request": {
521                 "method": "GET",
522                 "header": [
523                     {
524                         "key": "Content-Type",
525                         "type": "text",
526                         "value": "application/json"
527                     },
528                     {
529                         "key": "Accept",
530                         "type": "text",
531                         "value": "application/json"
532                     }
533                 ],
534                 "body": {
535                     "mode": "raw",
536                     "raw": ""
537                 },
538                 "url": {
539                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/deployed/operational.modifyconfig",
540                     "host": [
541                         "{{POLICY-PAP-URL}}"
542                     ],
543                     "path": [
544                         "policy",
545                         "pap",
546                         "v1",
547                         "policies",
548                         "deployed",
549                         "operational.modifyconfig"
550                     ]
551                 },
552                 "description": "This is an API to fetch status of a specific deployed policy in the registered PDP instances."
553             },
554             "response": []
555         },
556         {
557             "name": "Fetch All PDPs Statistics",
558             "protocolProfileBehavior": {
559                 "disableBodyPruning": true
560             },
561             "request": {
562                 "method": "GET",
563                 "header": [
564                     {
565                         "key": "Content-Type",
566                         "value": "application/json",
567                         "type": "text"
568                     },
569                     {
570                         "key": "Accept",
571                         "value": "application/json",
572                         "type": "text"
573                     }
574                 ],
575                 "body": {
576                     "mode": "raw",
577                     "raw": ""
578                 },
579                 "url": {
580                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics?recordCount=5",
581                     "host": [
582                         "{{POLICY-PAP-URL}}"
583                     ],
584                     "path": [
585                         "policy",
586                         "pap",
587                         "v1",
588                         "pdps",
589                         "statistics"
590                     ],
591                     "query": [
592                         {
593                             "key": "recordCount",
594                             "value": "5"
595                         }
596                     ]
597                 },
598                 "description": "This is an API to fetch current statistics information for the all registered PDP instances."
599             },
600             "response": []
601         },
602         {
603             "name": "Fetch PdpGroup Statistics",
604             "protocolProfileBehavior": {
605                 "disableBodyPruning": true
606             },
607             "request": {
608                 "method": "GET",
609                 "header": [
610                     {
611                         "key": "Content-Type",
612                         "type": "text",
613                         "value": "application/json"
614                     },
615                     {
616                         "key": "Accept",
617                         "type": "text",
618                         "value": "application/json"
619                     }
620                 ],
621                 "body": {
622                     "mode": "raw",
623                     "raw": ""
624                 },
625                 "url": {
626                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup?recordCount=5",
627                     "host": [
628                         "{{POLICY-PAP-URL}}"
629                     ],
630                     "path": [
631                         "policy",
632                         "pap",
633                         "v1",
634                         "pdps",
635                         "statistics",
636                         "defaultGroup"
637                     ],
638                     "query": [
639                         {
640                             "key": "recordCount",
641                             "value": "5"
642                         }
643                     ]
644                 },
645                 "description": "This is an API to fetch current statistics information for the all registered PDP instances of the specified PdpGroup (example - \"defaultGroup\")."
646             },
647             "response": []
648         },
649         {
650             "name": "Fetch PdpSubGroup Statistics",
651             "protocolProfileBehavior": {
652                 "disableBodyPruning": true
653             },
654             "request": {
655                 "method": "GET",
656                 "header": [
657                     {
658                         "key": "Content-Type",
659                         "type": "text",
660                         "value": "application/json"
661                     },
662                     {
663                         "key": "Accept",
664                         "type": "text",
665                         "value": "application/json"
666                     }
667                 ],
668                 "body": {
669                     "mode": "raw",
670                     "raw": ""
671                 },
672                 "url": {
673                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
674                     "host": [
675                         "{{POLICY-PAP-URL}}"
676                     ],
677                     "path": [
678                         "policy",
679                         "pap",
680                         "v1",
681                         "pdps",
682                         "statistics",
683                         "defaultGroup",
684                         "apex"
685                     ],
686                     "query": [
687                         {
688                             "key": "recordCount",
689                             "value": "5"
690                         }
691                     ]
692                 },
693                 "description": "This is an API to fetch current statistics information for the all registered PDP instances of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\")."
694             },
695             "response": []
696         },
697         {
698             "name": "Fetch PDP Statistics",
699             "protocolProfileBehavior": {
700                 "disableBodyPruning": true
701             },
702             "request": {
703                 "method": "GET",
704                 "header": [
705                     {
706                         "key": "Content-Type",
707                         "type": "text",
708                         "value": "application/json"
709                     },
710                     {
711                         "key": "Accept",
712                         "type": "text",
713                         "value": "application/json"
714                     }
715                 ],
716                 "body": {
717                     "mode": "raw",
718                     "raw": ""
719                 },
720                 "url": {
721                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex/dev-policy-apex-pdp-0?recordCount=5",
722                     "host": [
723                         "{{POLICY-PAP-URL}}"
724                     ],
725                     "path": [
726                         "policy",
727                         "pap",
728                         "v1",
729                         "pdps",
730                         "statistics",
731                         "defaultGroup",
732                         "apex",
733                         "dev-policy-apex-pdp-0"
734                     ],
735                     "query": [
736                         {
737                             "key": "recordCount",
738                             "value": "5"
739                         }
740                     ]
741                 },
742                 "description": "This is an API to fetch current statistics information for the specified PDP instance (example - \"dev-policy-apex-pdp-0\") of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\")."
743             },
744             "response": []
745         },
746         {
747             "name": "Fetch All Policy Audit Records",
748             "event": [
749                 {
750                     "listen": "prerequest",
751                     "script": {
752                         "exec": [
753                             ""
754                         ],
755                         "type": "text/javascript"
756                     }
757                 }
758             ],
759             "protocolProfileBehavior": {
760                 "disableBodyPruning": true
761             },
762             "request": {
763                 "method": "GET",
764                 "header": [
765                     {
766                         "key": "Content-Type",
767                         "type": "text",
768                         "value": "application/json"
769                     },
770                     {
771                         "key": "Accept",
772                         "type": "text",
773                         "value": "application/json"
774                     }
775                 ],
776                 "body": {
777                     "mode": "raw",
778                     "raw": ""
779                 },
780                 "url": {
781                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit?recordCount=5",
782                     "host": [
783                         "{{POLICY-PAP-URL}}"
784                     ],
785                     "path": [
786                         "policy",
787                         "pap",
788                         "v1",
789                         "policies",
790                         "audit"
791                     ],
792                     "query": [
793                         {
794                             "key": "recordCount",
795                             "value": "5"
796                         },
797                         {
798                             "key": "fromDate",
799                             "value": "1627219515",
800                             "disabled": true
801                         },
802                         {
803                             "key": "toDate",
804                             "value": "1627478715",
805                             "disabled": true
806                         }
807                     ]
808                 },
809                 "description": "This is a generic API to fetch audit records of all policies in the database."
810             },
811             "response": []
812         },
813         {
814             "name": "Fetch All Policy Audit Records of a Group",
815             "protocolProfileBehavior": {
816                 "disableBodyPruning": true
817             },
818             "request": {
819                 "method": "GET",
820                 "header": [
821                     {
822                         "key": "Content-Type",
823                         "type": "text",
824                         "value": "application/json"
825                     },
826                     {
827                         "key": "Accept",
828                         "type": "text",
829                         "value": "application/json"
830                     }
831                 ],
832                 "body": {
833                     "mode": "raw",
834                     "raw": ""
835                 },
836                 "url": {
837                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup?recordCount=5",
838                     "host": [
839                         "{{POLICY-PAP-URL}}"
840                     ],
841                     "path": [
842                         "policy",
843                         "pap",
844                         "v1",
845                         "policies",
846                         "audit",
847                         "defaultGroup"
848                     ],
849                     "query": [
850                         {
851                             "key": "recordCount",
852                             "value": "5"
853                         },
854                         {
855                             "key": "fromDate",
856                             "value": "1627219515",
857                             "disabled": true
858                         },
859                         {
860                             "key": "toDate",
861                             "value": "1627478715",
862                             "disabled": true
863                         }
864                     ]
865                 },
866                 "description": "This is a generic API to fetch audit records of all policies in the database belonging to a PDP Group."
867             },
868             "response": []
869         },
870         {
871             "name": "Fetch Policy Audit Records of a Group",
872             "protocolProfileBehavior": {
873                 "disableBodyPruning": true
874             },
875             "request": {
876                 "method": "GET",
877                 "header": [
878                     {
879                         "key": "Content-Type",
880                         "type": "text",
881                         "value": "application/json"
882                     },
883                     {
884                         "key": "Accept",
885                         "type": "text",
886                         "value": "application/json"
887                     }
888                 ],
889                 "body": {
890                     "mode": "raw",
891                     "raw": ""
892                 },
893                 "url": {
894                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup/operational.modifyconfig/1.0.0?recordCount=5",
895                     "host": [
896                         "{{POLICY-PAP-URL}}"
897                     ],
898                     "path": [
899                         "policy",
900                         "pap",
901                         "v1",
902                         "policies",
903                         "audit",
904                         "defaultGroup",
905                         "operational.modifyconfig",
906                         "1.0.0"
907                     ],
908                     "query": [
909                         {
910                             "key": "recordCount",
911                             "value": "5"
912                         },
913                         {
914                             "key": "fromDate",
915                             "value": "1627219515",
916                             "disabled": true
917                         },
918                         {
919                             "key": "toDate",
920                             "value": "1627478715",
921                             "disabled": true
922                         }
923                     ]
924                 },
925                 "description": "This is an API to fetch audit records of a policy in the database belonging to a PDP Group."
926             },
927             "response": []
928         },
929         {
930             "name": "Fetch Policy Audit Records",
931             "protocolProfileBehavior": {
932                 "disableBodyPruning": true
933             },
934             "request": {
935                 "method": "GET",
936                 "header": [
937                     {
938                         "key": "Content-Type",
939                         "type": "text",
940                         "value": "application/json"
941                     },
942                     {
943                         "key": "Accept",
944                         "type": "text",
945                         "value": "application/json"
946                     }
947                 ],
948                 "body": {
949                     "mode": "raw",
950                     "raw": ""
951                 },
952                 "url": {
953                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/operational.modifyconfig/1.0.0?recordCount=5",
954                     "host": [
955                         "{{POLICY-PAP-URL}}"
956                     ],
957                     "path": [
958                         "policy",
959                         "pap",
960                         "v1",
961                         "policies",
962                         "audit",
963                         "operational.modifyconfig",
964                         "1.0.0"
965                     ],
966                     "query": [
967                         {
968                             "key": "recordCount",
969                             "value": "5"
970                         },
971                         {
972                             "key": "fromDate",
973                             "value": "1627219515",
974                             "disabled": true
975                         },
976                         {
977                             "key": "toDate",
978                             "value": "1627478715",
979                             "disabled": true
980                         }
981                     ]
982                 },
983                 "description": "This is an API to fetch audit records of a policy in the database."
984             },
985             "response": []
986         },
987         {
988             "name": "Delete PdpGroup",
989             "request": {
990                 "method": "DELETE",
991                 "header": [
992                     {
993                         "key": "Accept",
994                         "type": "text",
995                         "value": "application/json"
996                     },
997                     {
998                         "key": "Content-Type",
999                         "type": "text",
1000                         "value": "application/json"
1001                     }
1002                 ],
1003                 "url": {
1004                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/groups/SampleGroup",
1005                     "host": [
1006                         "{{POLICY-PAP-URL}}"
1007                     ],
1008                     "path": [
1009                         "policy",
1010                         "pap",
1011                         "v1",
1012                         "pdps",
1013                         "groups",
1014                         "SampleGroup"
1015                     ]
1016                 },
1017                 "description": "This is an API to delete a specific PdpGroup (example - \"SampleGroup\") currently available in Policy DB, resulting in removing all the PDP instances registered with the group."
1018             },
1019             "response": []
1020         }
1021     ],
1022     "auth": {
1023         "type": "basic",
1024         "basic": [
1025             {
1026                 "key": "password",
1027                 "value": "{{PASSWORD}}",
1028                 "type": "string"
1029             },
1030             {
1031                 "key": "username",
1032                 "value": "{{USER}}",
1033                 "type": "string"
1034             }
1035         ]
1036     },
1037     "event": [
1038         {
1039             "listen": "prerequest",
1040             "script": {
1041                 "type": "text/javascript",
1042                 "exec": [
1043                     ""
1044                 ]
1045             }
1046         },
1047         {
1048             "listen": "test",
1049             "script": {
1050                 "type": "text/javascript",
1051                 "exec": [
1052                     ""
1053                 ]
1054             }
1055         }
1056     ],
1057     "variable": [
1058         {
1059             "key": "USER",
1060             "value": "healthcheck",
1061             "type": "string"
1062         },
1063         {
1064             "key": "PASSWORD",
1065             "value": "zb!XztG34",
1066             "type": "string"
1067         }
1068     ]
1069 }