Reports the number of requests, grouped by day and HTTP status, for all services or a given service if specified, over the last seven days.
Since Product Version: 2.2
Resource URL
/webacs/api/v1/op/apiHealth/requestCountTrendRequest Parameters
Type | Attribute Name | Source | Description |
---|---|---|---|
String |
service optional |
query |
The service path. If unspecified, data will be returned for all services. |
Response Parameters
Type | Attribute Name | Description |
---|---|---|
long |
responseCount |
The number of responses for this day and HTTP status. |
int |
responseStatus |
The HTTP status of these responses. |
long |
startOfDay |
The start of the day for this record, represented as milliseconds since the Unix epoch. |
Sample Payloads
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Response Payload
https://172.25.123.114/webacs/api/v1/op/apiHealth/requestCountTrend
<?xml version="1.0" ?> <mgmtResponse responseType="operation" requestUrl="../../../../pages/common/login.jsp.html" rootUrl="https://172.25.123.114/webacs/api/v1/op/"> <apiRequestCountTrend> <responseCount>2</responseCount> <responseStatus>1</responseStatus> <startOfDay>2</startOfDay> </apiRequestCountTrend> </mgmtResponse>
Sample JSON Response Payload
https://172.25.123.114/webacs/api/v1/op/apiHealth/requestCountTrend.json
{ "mgmtResponse" : { "@responseType" : "operation", "@requestUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/apiHealth\/requestCountTrend", "@rootUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/", "apiRequestCountTrend" : { "responseCount" : 2, "responseStatus" : 1, "startOfDay" : 2 } } }