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 Information
Rate Limiting? |
Yes |
Sorting? |
No |
Paging? |
No |
Filtering? |
No |
Aggregation? |
No |
Response Formats |
xml json |
User Group |
NBI Read |
HTTP Methods |
GET |
DevNet Discussions
Resource URL
/webacs/api/v2/op/apiHealth/requestCountTrend UnmodifiedThis resource has not been modified since the previous API version.
Request Parameters
Attribute | Source | Description |
---|---|---|
service String |
query |
OptionalThe service path. If unspecified, data will be returned for all services. |
Response Parameters
Attribute | Description |
---|---|
responseCount long |
The number of responses for this day and HTTP status. |
responseStatus int |
The HTTP status of these responses. |
startOfDay long |
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://localhost/webacs/api/v2/op/apiHealth/requestCountTrend
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v2/op/apiHealth/requestCountTrend" rootUrl="https://localhost/webacs/api/v2/op">
<apiRequestCountTrend>
<responseCount>2</responseCount>
<responseStatus>1</responseStatus>
<startOfDay>2</startOfDay>
</apiRequestCountTrend>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v2/op/apiHealth/requestCountTrend.json
{
"mgmtResponse" : {
"@requestUrl" : "https://localhost/webacs/api/v2/op/apiHealth/requestCountTrend",
"@responseType" : "operation",
"@rootUrl" : "https://localhost/webacs/api/v2/op",
"apiRequestCountTrend" : [ {
"responseCount" : 2,
"responseStatus" : 1,
"startOfDay" : 2
} ]
}
}