summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/pap/pap.rst3
-rw-r--r--docs/pap/swagger/pdp-statistics-pap.json91
-rw-r--r--docs/pap/swagger/policy-audit-pap.json32
3 files changed, 107 insertions, 19 deletions
diff --git a/docs/pap/pap.rst b/docs/pap/pap.rst
index d3cbf8bc..4341c96f 100644
--- a/docs/pap/pap.rst
+++ b/docs/pap/pap.rst
@@ -364,6 +364,7 @@ Here is a sample response:
This operation allows the PDP statistics to be retrieved for all registered PDPs.
The result can be filtered based on PDP group, PDP subgroup & PDP instance.
+Along with record count, start time & end time as query parameters.
Here is a sample response:
@@ -376,7 +377,7 @@ Here is a sample response:
This operation allows the audit records of policies to be listed together.
The result can be filtered based on pdp group name, policy name & version.
-Along with record count, from date & to date as query parameters.
+Along with record count, start time & end time as query parameters.
Here is a sample response:
diff --git a/docs/pap/swagger/pdp-statistics-pap.json b/docs/pap/swagger/pdp-statistics-pap.json
index 7b652adb..c2c7b4ce 100644
--- a/docs/pap/swagger/pdp-statistics-pap.json
+++ b/docs/pap/swagger/pdp-statistics-pap.json
@@ -39,6 +39,30 @@
"required": false,
"type": "string",
"format": "uuid"
+ },
+ {
+ "name": "recordCount",
+ "in": "query",
+ "description": "Record count between 1-100",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "startTime",
+ "in": "query",
+ "description": "Start time in epoch timestamp",
+ "required": false,
+ "type": "integer",
+ "format": "int64"
+ },
+ {
+ "name": "endTime",
+ "in": "query",
+ "description": "End time in epoch timestamp",
+ "required": false,
+ "type": "integer",
+ "format": "int64"
}
],
"responses": {
@@ -118,6 +142,30 @@
"description": "PDP Group Name",
"required": true,
"type": "string"
+ },
+ {
+ "name": "recordCount",
+ "in": "query",
+ "description": "Record count between 1-100",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "startTime",
+ "in": "query",
+ "description": "Start time in epoch timestamp",
+ "required": false,
+ "type": "integer",
+ "format": "int64"
+ },
+ {
+ "name": "endTime",
+ "in": "query",
+ "description": "End time in epoch timestamp",
+ "required": false,
+ "type": "integer",
+ "format": "int64"
}
],
"responses": {
@@ -204,6 +252,30 @@
"description": "PDP SubGroup type",
"required": true,
"type": "string"
+ },
+ {
+ "name": "recordCount",
+ "in": "query",
+ "description": "Record count between 1-100",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "startTime",
+ "in": "query",
+ "description": "Start time in epoch timestamp",
+ "required": false,
+ "type": "integer",
+ "format": "int64"
+ },
+ {
+ "name": "endTime",
+ "in": "query",
+ "description": "End time in epoch timestamp",
+ "required": false,
+ "type": "integer",
+ "format": "int64"
}
],
"responses": {
@@ -301,11 +373,26 @@
{
"name": "recordCount",
"in": "query",
- "description": "Record Count",
+ "description": "Record count between 1-100",
"required": false,
"type": "integer",
- "default": 0,
"format": "int32"
+ },
+ {
+ "name": "startTime",
+ "in": "query",
+ "description": "Start time in epoch timestamp",
+ "required": false,
+ "type": "integer",
+ "format": "int64"
+ },
+ {
+ "name": "endTime",
+ "in": "query",
+ "description": "End time in epoch timestamp",
+ "required": false,
+ "type": "integer",
+ "format": "int64"
}
],
"responses": {
diff --git a/docs/pap/swagger/policy-audit-pap.json b/docs/pap/swagger/policy-audit-pap.json
index 24b90c7e..1fd92311 100644
--- a/docs/pap/swagger/policy-audit-pap.json
+++ b/docs/pap/swagger/policy-audit-pap.json
@@ -53,17 +53,17 @@
"format": "int32"
},
{
- "name": "fromDate",
+ "name": "startTime",
"in": "query",
- "description": "From date in epoch timestamp",
+ "description": "Start time in epoch timestamp",
"required": false,
"type": "integer",
"format": "int64"
},
{
- "name": "toDate",
+ "name": "endTime",
"in": "query",
- "description": "To date in epoch timestamp",
+ "description": "End time in epoch timestamp",
"required": false,
"type": "integer",
"format": "int64"
@@ -149,17 +149,17 @@
"format": "int32"
},
{
- "name": "fromDate",
+ "name": "startTime",
"in": "query",
- "description": "From date in epoch timestamp",
+ "description": "Start time in epoch timestamp",
"required": false,
"type": "integer",
"format": "int64"
},
{
- "name": "toDate",
+ "name": "endTime",
"in": "query",
- "description": "To date in epoch timestamp",
+ "description": "End time in epoch timestamp",
"required": false,
"type": "integer",
"format": "int64"
@@ -252,17 +252,17 @@
"format": "int32"
},
{
- "name": "fromDate",
+ "name": "startTime",
"in": "query",
- "description": "From date in epoch timestamp",
+ "description": "Start time in epoch timestamp",
"required": false,
"type": "integer",
"format": "int64"
},
{
- "name": "toDate",
+ "name": "endTime",
"in": "query",
- "description": "To date in epoch timestamp",
+ "description": "End time in epoch timestamp",
"required": false,
"type": "integer",
"format": "int64"
@@ -359,17 +359,17 @@
"format": "int32"
},
{
- "name": "fromDate",
+ "name": "startTime",
"in": "query",
- "description": "From date in epoch timestamp",
+ "description": "Start time in epoch timestamp",
"required": false,
"type": "integer",
"format": "int64"
},
{
- "name": "toDate",
+ "name": "endTime",
"in": "query",
- "description": "To date in epoch timestamp",
+ "description": "End time in epoch timestamp",
"required": false,
"type": "integer",
"format": "int64"