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/279B-4712-355C-41F4-8089/sites/78c2aec1-1de7-4617-aaad-08d444466c78/dnsp/trafficsummary?startDate=2024-12-22T07:21:22.4343594Z&endDate=2025-01-21T07:21:22.4343594Z
|
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": "2025-01-20T07:45:47.410446Z", "EndDate": "2025-01-21T07:45:47.410446Z", "Sites": [ { "SiteId": "2c7c63e3-dd56-4e55-9c33-3cfffff09b0b", "SiteName": "Site 1", "DNSRequests": 13040, "BlockedDNSRequests": 197, "RiskyDNSRequests": 113 } ] }
<GetDNSPTrafficSummaryForSiteResponseModel 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:45:47.410446Z</EndDate> <Sites> <GetDNSPTrafficSummaryResponseModel_Site> <BlockedDNSRequests>197</BlockedDNSRequests> <DNSRequests>13040</DNSRequests> <RiskyDNSRequests>113</RiskyDNSRequests> <SiteId>2c7c63e3-dd56-4e55-9c33-3cfffff09b0b</SiteId> <SiteName>Site 1</SiteName> </GetDNSPTrafficSummaryResponseModel_Site> </Sites> <StartDate>2025-01-20T07:45:47.410446Z</StartDate> </GetDNSPTrafficSummaryForSiteResponseModel>