diff options
Diffstat (limited to 'docs/pap/pap.rst')
-rw-r--r-- | docs/pap/pap.rst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/pap/pap.rst b/docs/pap/pap.rst index b420279c..97bcb825 100644 --- a/docs/pap/pap.rst +++ b/docs/pap/pap.rst @@ -111,6 +111,11 @@ are added in the response to each call: This operation performs a health check on the PAP. +Here is a sample response: + +.. literalinclude:: response/health-check-pap-resp.json + :language: json + .. swaggerv2doc:: swagger/statistics-pap.json This operation allows statistics for PDP groups, PDP subgroups, and individual PDPs to be retrieved. @@ -119,6 +124,11 @@ This operation allows statistics for PDP groups, PDP subgroups, and individual P While this API is supported, most of the statistics are not currently updated; that work has been deferred to a later release. +Here is a sample response: + +.. literalinclude:: response/statistics-pap-resp.json + :language: json + .. swaggerv2doc:: swagger/state-change-pap.json The state of PDP groups is managed by this operation. PDP groups can be in states PASSIVE, TEST, SAFE, or ACTIVE. For a full @@ -133,6 +143,11 @@ in a single POST operation by specifying more than one PDP group in the POST ope Due to current limitations, if a subgroup is to be deleted from a PDP Group, then the policies must be removed from the subgroup in one request, and then the subgroup deleted in a subsequent request. +Here is a sample request: + +.. literalinclude:: request/group-pap-req.json + :language: json + .. swaggerv2doc:: swagger/group-delete-pap.json The API also allows PDP groups to be deleted. DELETE operations are only permitted on PDP groups in PASSIVE state. @@ -142,6 +157,11 @@ The API also allows PDP groups to be deleted. DELETE operations are only permitt This operation allows the PDP groups and subgroups to be listed as well as the policies that are deployed on each PDP group and subgroup. +Here is a sample response: + +.. literalinclude:: response/group-query-pap-resp.json + :language: json + .. swaggerv2doc:: swagger/policy-deploy-pap.json This operation allows policies to be deployed on PDP groups. @@ -150,6 +170,11 @@ This operation allows policies to be deployed on PDP groups. The policy version is optional. If left unspecified, then the latest version of the policy is deployed. On the other hand, if it is specified, it may be an integer, or it may be a fully qualified version (e.g., "3.0.2"). +Here is a sample request: + +.. literalinclude:: request/policy-deploy-pap-req.json + :language: json + .. swaggerv2doc:: swagger/policy-undeploy-pap.json This operation allows policies to be undeployed from PDP groups. |