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/F338-9DD3-A5A8-4285-ABC4/sites/07a69340-169e-47cd-b52d-7f253e7dfbd3/dnsp/trafficsummary?startDate=2024-10-17T21:21:31.0536946Z&endDate=2024-11-16T21:21:31.0536946Z
|
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-11-16T22:00:26.2628137Z", "EndDate": "2024-11-17T22:00:26.2628137Z", "Sites": [ { "SiteId": "db95c7cb-ea63-47f6-8daa-c10829efa502", "SiteName": "Site 1", "DNSRequests": 11607, "BlockedDNSRequests": 168, "RiskyDNSRequests": 181 } ] }
<GetDNSPTrafficSummaryForSiteResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <EndDate>2024-11-17T22:00:26.2628137Z</EndDate> <Sites> <GetDNSPTrafficSummaryResponseModel_Site> <BlockedDNSRequests>168</BlockedDNSRequests> <DNSRequests>11607</DNSRequests> <RiskyDNSRequests>181</RiskyDNSRequests> <SiteId>db95c7cb-ea63-47f6-8daa-c10829efa502</SiteId> <SiteName>Site 1</SiteName> </GetDNSPTrafficSummaryResponseModel_Site> </Sites> <StartDate>2024-11-16T22:00:26.2628137Z</StartDate> </GetDNSPTrafficSummaryForSiteResponseModel>