Retrieves per-day summary counts of the number of recorded URL actions on endpoints in the given site.
GET {{baseUrl}}/api/console/gsm/:gsmKey/sites/:siteId/blockedurls/counts?includeDeactivated=false&includeHidden=true&startDate=2022-10-30T10:36:04.5442072Z&endDate=2022-11-29T10:36:04.5442072Z
NOTE: Blocked URLs data is generally available for as far as 90 days in the past. However, the maximum allowed time range between 'startDate' and 'endDate' is 30 days.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
includeDeactivated | boolean | Value indicating whether URL actions of endpoints that are currently deactivated should be included in the counts. |
Default is false |
| includeHidden | boolean | | Value indicating whether URL actions of endpoints that are currently hidden should be included in the counts.
Default is false |
| startDate | string | | The start date of the time range for which data is queried.
**Note: **The earliest count value returned is for the first FULL day following the date specified in startDate. For example, passing "2021-02-15Z" or "2021-02-15T00:00Z" will include the count for the 15th of February 2021. When the start date is "2021-02-15T12:45Z", returned counts will start with February 16th.
Default value is endDate minus 7 days. |
| endDate | string | | The end date of the time range for which data is queried.
**Note: **The value returned for the last day in the time range is the number of URL actions counted for that day, up to the time-of-day specified in endDate.
Default value is the current date and time. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"IncludeDeactivated":false,"IncludeHidden":false,"StartDate":"2022-11-27T10:36:04.5442072Z","EndDate":"2022-11-29T10:36:04.5442072Z","DatedCounts":[{"Date":"2022-11-29T00:00:00Z","Count":76},{"Date":"2022-11-28T00:00:00Z","Count":47}]}