GET /service/api/console/gsm/{gsmKey}/dnsp/trafficsummary
?startDate={startDate}
&endDate={endDate}
Returns a traffic summary (e.g. the number of total DNS requests, blocked DNS requests, and risky DNS requests) for each site under a given GSM.
NOTE: The maximum allowed time difference between 'startDate' and
'endDate' is 30 days.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
startDate |
If specified, returns DNS traffic summary after (or at) the given date. If omitted, defaults to 'endDate' minus 24 hours. |
date |
None. |
endDate |
If specified, returns DNS traffic summary before (or at) the given date. If omitted, defaults to the current date and time. |
date |
None. |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/40E8-384B-6E75-429B-BAF9/dnsp/trafficsummary?startDate=2024-12-22T07:24:21.0823921Z&endDate=2025-01-21T07:24:21.0823921Z
|
Body Parameters
None.
Response Information
Resource Description
Traffic summary information for GSM sites.
GetDNSPTrafficSummaryResponseModelName | Description | Type | Additional Information |
---|---|---|---|
StartDate |
Start date for returned records. Traffic summary records after (or at) this date are contained in the response. |
date |
None. |
EndDate |
End date for returned records. Traffic summary records before (or at) this date are contained in the response. |
date |
None. |
Sites |
The list of sites. |
Collection of GetDNSPTrafficSummaryResponseModel_Site |
None. |
Sample Response
{ "StartDate": "2025-01-20T07:41:57.3340019Z", "EndDate": "2025-01-21T07:41:57.3340019Z", "Sites": [ { "SiteId": "d010ad9e-2898-45bd-8c3a-a7887a0de232", "SiteName": "Site 1", "DNSRequests": 13446, "BlockedDNSRequests": 146, "RiskyDNSRequests": 150 }, { "SiteId": "39b38df5-f342-44f4-80c1-c4e4cdeb20f6", "SiteName": "Site 2", "DNSRequests": 13166, "BlockedDNSRequests": 117, "RiskyDNSRequests": 158 } ] }
<GetDNSPTrafficSummaryResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndDate>2025-01-21T07:41:57.3340019Z</EndDate> <Sites> <GetDNSPTrafficSummaryResponseModel_Site> <BlockedDNSRequests>146</BlockedDNSRequests> <DNSRequests>13446</DNSRequests> <RiskyDNSRequests>150</RiskyDNSRequests> <SiteId>d010ad9e-2898-45bd-8c3a-a7887a0de232</SiteId> <SiteName>Site 1</SiteName> </GetDNSPTrafficSummaryResponseModel_Site> <GetDNSPTrafficSummaryResponseModel_Site> <BlockedDNSRequests>117</BlockedDNSRequests> <DNSRequests>13166</DNSRequests> <RiskyDNSRequests>158</RiskyDNSRequests> <SiteId>39b38df5-f342-44f4-80c1-c4e4cdeb20f6</SiteId> <SiteName>Site 2</SiteName> </GetDNSPTrafficSummaryResponseModel_Site> </Sites> <StartDate>2025-01-20T07:41:57.3340019Z</StartDate> </GetDNSPTrafficSummaryResponseModel>