Returns a traffic summary (e.g. the number of total DNS requests, blocked DNS requests, and risky DNS requests) for a specific site under a given GSM.
GET {{baseUrl}}/api/console/gsm/:gsmKey/sites/:siteId/dnsp/trafficsummary?startDate=2022-10-30T10:36:05.0910977Z&endDate=2022-11-29T10:36:05.0910977Z
NOTE: The maximum allowed time difference between 'startDate' and 'endDate' is 30 days.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
startDate | string | If specified, returns DNS traffic summary after (or at) the given date. If omitted, defaults to 'endDate' minus 24 hours. | |
endDate | string | If specified, returns DNS traffic summary before (or at) the given date. If omitted, defaults to the current date and time. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"StartDate":"2022-11-28T10:36:05.0910977Z","EndDate":"2022-11-29T10:36:05.0910977Z","Sites":[{"SiteId":"102c2e5c-9599-4a58-bc11-97aa7dc2febb","SiteName":"Site 1","DNSRequests":14317,"BlockedDNSRequests":179,"RiskyDNSRequests":133}]}