Rename username for PAP operations.
[policy/pap.git] / postman / pap-api-collection.json
1 {
2     "info": {
3         "_postman_id": "cf7db76a-e5a7-4c92-a3b7-7b97ffd006bf",
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                             "key": "startTime",
598                             "value": "1627219515",
599                             "disabled": true
600                         },
601                         {
602                             "key": "endTime",
603                             "value": "1627478715",
604                             "disabled": true
605                         }
606                     ]
607                 },
608                 "description": "This is an API to fetch current statistics information for the all registered PDP instances."
609             },
610             "response": []
611         },
612         {
613             "name": "Fetch PdpGroup Statistics",
614             "protocolProfileBehavior": {
615                 "disableBodyPruning": true
616             },
617             "request": {
618                 "method": "GET",
619                 "header": [
620                     {
621                         "key": "Content-Type",
622                         "type": "text",
623                         "value": "application/json"
624                     },
625                     {
626                         "key": "Accept",
627                         "type": "text",
628                         "value": "application/json"
629                     }
630                 ],
631                 "body": {
632                     "mode": "raw",
633                     "raw": ""
634                 },
635                 "url": {
636                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup?recordCount=5",
637                     "host": [
638                         "{{POLICY-PAP-URL}}"
639                     ],
640                     "path": [
641                         "policy",
642                         "pap",
643                         "v1",
644                         "pdps",
645                         "statistics",
646                         "defaultGroup"
647                     ],
648                     "query": [
649                         {
650                             "key": "recordCount",
651                             "value": "5"
652                         },
653                         {
654                             "key": "startTime",
655                             "value": "1627219515",
656                             "disabled": true
657                         },
658                         {
659                             "key": "endTime",
660                             "value": "1627478715",
661                             "disabled": true
662                         }
663                     ]
664                 },
665                 "description": "This is an API to fetch current statistics information for the all registered PDP instances of the specified PdpGroup (example - \"defaultGroup\")."
666             },
667             "response": []
668         },
669         {
670             "name": "Fetch PdpSubGroup Statistics",
671             "protocolProfileBehavior": {
672                 "disableBodyPruning": true
673             },
674             "request": {
675                 "method": "GET",
676                 "header": [
677                     {
678                         "key": "Content-Type",
679                         "type": "text",
680                         "value": "application/json"
681                     },
682                     {
683                         "key": "Accept",
684                         "type": "text",
685                         "value": "application/json"
686                     }
687                 ],
688                 "body": {
689                     "mode": "raw",
690                     "raw": ""
691                 },
692                 "url": {
693                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
694                     "host": [
695                         "{{POLICY-PAP-URL}}"
696                     ],
697                     "path": [
698                         "policy",
699                         "pap",
700                         "v1",
701                         "pdps",
702                         "statistics",
703                         "defaultGroup",
704                         "apex"
705                     ],
706                     "query": [
707                         {
708                             "key": "recordCount",
709                             "value": "5"
710                         },
711                         {
712                             "key": "startTime",
713                             "value": "1627219515",
714                             "disabled": true
715                         },
716                         {
717                             "key": "endTime",
718                             "value": "1627478715",
719                             "disabled": true
720                         }
721                     ]
722                 },
723                 "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\")."
724             },
725             "response": []
726         },
727         {
728             "name": "Fetch PDP Statistics",
729             "protocolProfileBehavior": {
730                 "disableBodyPruning": true
731             },
732             "request": {
733                 "method": "GET",
734                 "header": [
735                     {
736                         "key": "Content-Type",
737                         "type": "text",
738                         "value": "application/json"
739                     },
740                     {
741                         "key": "Accept",
742                         "type": "text",
743                         "value": "application/json"
744                     }
745                 ],
746                 "body": {
747                     "mode": "raw",
748                     "raw": ""
749                 },
750                 "url": {
751                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex/dev-policy-apex-pdp-0?recordCount=5",
752                     "host": [
753                         "{{POLICY-PAP-URL}}"
754                     ],
755                     "path": [
756                         "policy",
757                         "pap",
758                         "v1",
759                         "pdps",
760                         "statistics",
761                         "defaultGroup",
762                         "apex",
763                         "dev-policy-apex-pdp-0"
764                     ],
765                     "query": [
766                         {
767                             "key": "recordCount",
768                             "value": "5"
769                         },
770                         {
771                             "key": "startTime",
772                             "value": "1627219515",
773                             "disabled": true
774                         },
775                         {
776                             "key": "endTime",
777                             "value": "1627478715",
778                             "disabled": true
779                         }
780                     ]
781                 },
782                 "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\")."
783             },
784             "response": []
785         },
786         {
787             "name": "Fetch All Policy Audit Records",
788             "event": [
789                 {
790                     "listen": "prerequest",
791                     "script": {
792                         "exec": [
793                             ""
794                         ],
795                         "type": "text/javascript"
796                     }
797                 }
798             ],
799             "protocolProfileBehavior": {
800                 "disableBodyPruning": true
801             },
802             "request": {
803                 "method": "GET",
804                 "header": [
805                     {
806                         "key": "Content-Type",
807                         "type": "text",
808                         "value": "application/json"
809                     },
810                     {
811                         "key": "Accept",
812                         "type": "text",
813                         "value": "application/json"
814                     }
815                 ],
816                 "body": {
817                     "mode": "raw",
818                     "raw": ""
819                 },
820                 "url": {
821                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit?recordCount=5",
822                     "host": [
823                         "{{POLICY-PAP-URL}}"
824                     ],
825                     "path": [
826                         "policy",
827                         "pap",
828                         "v1",
829                         "policies",
830                         "audit"
831                     ],
832                     "query": [
833                         {
834                             "key": "recordCount",
835                             "value": "5"
836                         },
837                         {
838                             "key": "startTime",
839                             "value": "1627219515",
840                             "disabled": true
841                         },
842                         {
843                             "key": "endTime",
844                             "value": "1627478715",
845                             "disabled": true
846                         }
847                     ]
848                 },
849                 "description": "This is a generic API to fetch audit records of all policies in the database."
850             },
851             "response": []
852         },
853         {
854             "name": "Fetch All Policy Audit Records of a Group",
855             "protocolProfileBehavior": {
856                 "disableBodyPruning": true
857             },
858             "request": {
859                 "method": "GET",
860                 "header": [
861                     {
862                         "key": "Content-Type",
863                         "type": "text",
864                         "value": "application/json"
865                     },
866                     {
867                         "key": "Accept",
868                         "type": "text",
869                         "value": "application/json"
870                     }
871                 ],
872                 "body": {
873                     "mode": "raw",
874                     "raw": ""
875                 },
876                 "url": {
877                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup?recordCount=5",
878                     "host": [
879                         "{{POLICY-PAP-URL}}"
880                     ],
881                     "path": [
882                         "policy",
883                         "pap",
884                         "v1",
885                         "policies",
886                         "audit",
887                         "defaultGroup"
888                     ],
889                     "query": [
890                         {
891                             "key": "recordCount",
892                             "value": "5"
893                         },
894                         {
895                             "key": "startTime",
896                             "value": "1627219515",
897                             "disabled": true
898                         },
899                         {
900                             "key": "endTime",
901                             "value": "1627478715",
902                             "disabled": true
903                         }
904                     ]
905                 },
906                 "description": "This is a generic API to fetch audit records of all policies in the database belonging to a PDP Group."
907             },
908             "response": []
909         },
910         {
911             "name": "Fetch Policy Audit Records of a Group",
912             "protocolProfileBehavior": {
913                 "disableBodyPruning": true
914             },
915             "request": {
916                 "method": "GET",
917                 "header": [
918                     {
919                         "key": "Content-Type",
920                         "type": "text",
921                         "value": "application/json"
922                     },
923                     {
924                         "key": "Accept",
925                         "type": "text",
926                         "value": "application/json"
927                     }
928                 ],
929                 "body": {
930                     "mode": "raw",
931                     "raw": ""
932                 },
933                 "url": {
934                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup/operational.modifyconfig/1.0.0?recordCount=5",
935                     "host": [
936                         "{{POLICY-PAP-URL}}"
937                     ],
938                     "path": [
939                         "policy",
940                         "pap",
941                         "v1",
942                         "policies",
943                         "audit",
944                         "defaultGroup",
945                         "operational.modifyconfig",
946                         "1.0.0"
947                     ],
948                     "query": [
949                         {
950                             "key": "recordCount",
951                             "value": "5"
952                         },
953                         {
954                             "key": "startTime",
955                             "value": "1627219515",
956                             "disabled": true
957                         },
958                         {
959                             "key": "endTime",
960                             "value": "1627478715",
961                             "disabled": true
962                         }
963                     ]
964                 },
965                 "description": "This is an API to fetch audit records of a policy in the database belonging to a PDP Group."
966             },
967             "response": []
968         },
969         {
970             "name": "Fetch Policy Audit Records",
971             "protocolProfileBehavior": {
972                 "disableBodyPruning": true
973             },
974             "request": {
975                 "method": "GET",
976                 "header": [
977                     {
978                         "key": "Content-Type",
979                         "type": "text",
980                         "value": "application/json"
981                     },
982                     {
983                         "key": "Accept",
984                         "type": "text",
985                         "value": "application/json"
986                     }
987                 ],
988                 "body": {
989                     "mode": "raw",
990                     "raw": ""
991                 },
992                 "url": {
993                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/operational.modifyconfig/1.0.0?recordCount=5",
994                     "host": [
995                         "{{POLICY-PAP-URL}}"
996                     ],
997                     "path": [
998                         "policy",
999                         "pap",
1000                         "v1",
1001                         "policies",
1002                         "audit",
1003                         "operational.modifyconfig",
1004                         "1.0.0"
1005                     ],
1006                     "query": [
1007                         {
1008                             "key": "recordCount",
1009                             "value": "5"
1010                         },
1011                         {
1012                             "key": "startTime",
1013                             "value": "1627219515",
1014                             "disabled": true
1015                         },
1016                         {
1017                             "key": "endTime",
1018                             "value": "1627478715",
1019                             "disabled": true
1020                         }
1021                     ]
1022                 },
1023                 "description": "This is an API to fetch audit records of a policy in the database."
1024             },
1025             "response": []
1026         },
1027         {
1028             "name": "Delete PdpGroup",
1029             "request": {
1030                 "method": "DELETE",
1031                 "header": [
1032                     {
1033                         "key": "Accept",
1034                         "type": "text",
1035                         "value": "application/json"
1036                     },
1037                     {
1038                         "key": "Content-Type",
1039                         "type": "text",
1040                         "value": "application/json"
1041                     }
1042                 ],
1043                 "url": {
1044                     "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/groups/SampleGroup",
1045                     "host": [
1046                         "{{POLICY-PAP-URL}}"
1047                     ],
1048                     "path": [
1049                         "policy",
1050                         "pap",
1051                         "v1",
1052                         "pdps",
1053                         "groups",
1054                         "SampleGroup"
1055                     ]
1056                 },
1057                 "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."
1058             },
1059             "response": []
1060         }
1061     ],
1062     "auth": {
1063         "type": "basic",
1064         "basic": [
1065             {
1066                 "key": "password",
1067                 "value": "{{PASSWORD}}",
1068                 "type": "string"
1069             },
1070             {
1071                 "key": "username",
1072                 "value": "{{USER}}",
1073                 "type": "string"
1074             }
1075         ]
1076     },
1077     "event": [
1078         {
1079             "listen": "prerequest",
1080             "script": {
1081                 "type": "text/javascript",
1082                 "exec": [
1083                     ""
1084                 ]
1085             }
1086         },
1087         {
1088             "listen": "test",
1089             "script": {
1090                 "type": "text/javascript",
1091                 "exec": [
1092                     ""
1093                 ]
1094             }
1095         }
1096     ],
1097     "variable": [
1098         {
1099             "key": "USER",
1100             "value": "policyadmin",
1101             "type": "string"
1102         },
1103         {
1104             "key": "PASSWORD",
1105             "value": "zb!XztG34",
1106             "type": "string"
1107         }
1108     ]
1109 }