1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
{
"swagger" : "2.0",
"basePath" : "/",
"tags" : [ {
"name" : "Statistics"
} ],
"schemes" : [ "http", "https" ],
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"paths" : {
"/policy/pap/v1/statistics" : {
"get" : {
"tags" : [ "Statistics" ],
"summary" : "Fetch current statistics",
"description" : "Returns current statistics of the Policy Administration component",
"operationId" : "statistics",
"produces" : [ "application/json" ],
"parameters" : [ ],
"responses" : {
"200" : {
"description" : "successful operation",
"schema" : {
"$ref" : "#/definitions/StatisticsReport"
}
},
"401" : {
"description" : "Authentication Error"
},
"403" : {
"description" : "Authorization Error"
},
"500" : {
"description" : "Internal Server Error"
}
},
"security" : [ {
"basicAuth" : [ ]
} ]
}
}
},
"securityDefinitions" : {
"basicAuth" : {
"description" : "",
"type" : "basic"
}
},
"definitions" : {
"StatisticsReport" : {
"type" : "object",
"properties" : {
"code" : {
"type" : "integer",
"format" : "int32"
},
"totalPdpCount" : {
"type" : "integer",
"format" : "int64"
},
"totalPdpGroupCount" : {
"type" : "integer",
"format" : "int64"
},
"totalPolicyDeployCount" : {
"type" : "integer",
"format" : "int64"
},
"policyDeploySuccessCount" : {
"type" : "integer",
"format" : "int64"
},
"policyDeployFailureCount" : {
"type" : "integer",
"format" : "int64"
},
"totalPolicyDownloadCount" : {
"type" : "integer",
"format" : "int64"
},
"policyDownloadSuccessCount" : {
"type" : "integer",
"format" : "int64"
},
"policyDownloadFailureCount" : {
"type" : "integer",
"format" : "int64"
}
}
}
}
}
|