GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/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 a specific site under a given GSM.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
siteId |
The GSM site identifier. |
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/80B4-6648-BFBE-405C-A904/sites/36b574c0-e90f-459f-88cd-3e5c40f69a95/dnsp/trafficsummary?startDate=2024-11-21T02:13:17.2904509Z&endDate=2024-12-21T02:13:17.2904509Z
|
Body Parameters
None.
Response Information
Resource Description
Traffic summary information for a specific GSM site.
GetDNSPTrafficSummaryForSiteResponseModelName | 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": "2024-12-20T17:57:07.8739519Z", "EndDate": "2024-12-21T17:57:07.8739519Z", "Sites": [ { "SiteId": "3ac79110-1306-44ca-b944-2ade75320bc1", "SiteName": "Site 1", "DNSRequests": 13979, "BlockedDNSRequests": 158, "RiskyDNSRequests": 195 } ] }
<GetDNSPTrafficSummaryForSiteResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndDate>2024-12-21T17:57:07.8739519Z</EndDate> <Sites> <GetDNSPTrafficSummaryResponseModel_Site> <BlockedDNSRequests>158</BlockedDNSRequests> <DNSRequests>13979</DNSRequests> <RiskyDNSRequests>195</RiskyDNSRequests> <SiteId>3ac79110-1306-44ca-b944-2ade75320bc1</SiteId> <SiteName>Site 1</SiteName> </GetDNSPTrafficSummaryResponseModel_Site> </Sites> <StartDate>2024-12-20T17:57:07.8739519Z</StartDate> </GetDNSPTrafficSummaryForSiteResponseModel>