GET /service/api/status/site/dnsp/{keyCode}
?machineId={machineId}
&modifiedSince={modifiedSince}
&batchSize={batchSize}
&continuation={continuation}
Returns DNS protection (DNSP) status information for all endpoints matching the specified criteria.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
keyCode |
A site keycode for which DNSP status information is to be retrieved. |
string |
Required |
machineId |
A machine ID for which DNSP status information is to be retrieved. If omitted, information for all endpoints is for the given site is retrieved. |
string |
None. |
modifiedSince |
If specified, returns all DNSP status entries, that were generated traffic after (or at) the given date. |
date |
None. |
batchSize |
Specifies the maximum number of entries returned per request. Valid values range from 1 to 1000. |
integer |
Default value is 50 |
continuation |
A continuation token for batched requests |
string |
None. |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/status/site/dnsp/3515-3EC8-3018-4DAB-A776?batchSize=200
|
GET
|
https://unityapi.webrootcloudav.com/service/api/status/site/dnsp/3515-3EC8-3018-4DAB-A776?batchSize=200&continuation=H4sIAAAAAAAEAM1SS07DMBQckiBVXXXDATgB8bd2d5RuAmkLilhHsetISGkrlMBVuBBnQGLJgnvgkLRdgYQEEgtrPO_Nm-dn-z4EonWeNG5NcAZgFCN5eT4fEVy2QHHVAkPaAsd1CwI3HhB2dRTHvm7nwnDqSRDjxAPTTDauboxZ2RV1jq_IGLs6jtfAk6sLvHnpcIrBdLlMgUFSt5vMNd50mvXuaYc-2WXC
|
GET
|
https://unityapi.webrootcloudav.com/service/api/status/site/dnsp/3515-3EC8-3018-4DAB-A776?machineId=8a8a1a12345c1ca9eelw78965a9c8d789c6fc75381d1234567890fffa91c138:::57cf6d537c9a3e12345bbdaa8ba2a98765c1c5c2:::57cf6d123c9a3e12345bbdaa8ba2a98765c1c5c2
|
GET
|
https://unityapi.webrootcloudav.com/service/api/status/site/dnsp/3515-3EC8-3018-4DAB-A776?modifiedSince=2019-01-01T22:30:00.000Z
|
Body Parameters
None.
Response Information
Resource Description
Returns DNSP status information for the list of endpoints matching the given criteria. If more items would be returned, than specified by 'batchSize', a continuation URI is returned, which can be used to retrieve the next batch of items
DNSPAgentStatusName | Description | Type | Additional Information |
---|---|---|---|
ContinuationToken |
Provides a continuation token for follow-up calls if more data is available than the given batch size. |
string |
None. |
ContinuationURI |
Provides a URI for follow-up calls if more data is available than the given batch size. |
string |
None. |
Count |
Contains the number of DNSP endpoints returned in the current request. |
integer |
None. |
QueryResults |
Endpoint information matching the given query parameters. |
Collection of DNSPEndpointInfo |
None. |
Sample Response
{ "QueryResults": [ { "HostName": "Computer1", "IsVirtualMachine": false, "DNSAgentStatus": "Installed", "InstalledDate": "2024-06-27T04:45:42.072606Z", "UninstalledDate": null, "AgentVersion": "1.3.3.35", "LastSeenDate": "2024-07-25T04:45:42.072606Z", "LastModifiedDate": "2024-06-27T06:45:42.072606Z", "TrafficCountLast24Hours": 2134, "DNSPolicyID": "8cbdadd1-2164-4b42-ae08-6598dc42acb4", "DNSPolicyName": "Securedns High Protection", "MachineID": "2ac034cd8eca47c5b14aef05a7703b3b2ac034cd8eca47c5b14aef05a7703b3b:::5fea4f9a0bd244aa8c1e5fea4f9a0bd244aa8c1e:::5fea4f9a0bd244aa8c1e5fea4f9a0bd244aa8c1e", "KC": "4329-6F9D-7400-4155-8B84", "MasterKC": "CEDC-CCB3-182B-4A86-9770" }, { "HostName": "Computer2", "IsVirtualMachine": false, "DNSAgentStatus": "Installed", "InstalledDate": "2024-05-27T04:45:42.072606Z", "UninstalledDate": null, "AgentVersion": "1.3.3.35", "LastSeenDate": "2024-07-23T04:45:42.072606Z", "LastModifiedDate": "2024-05-27T08:45:42.072606Z", "TrafficCountLast24Hours": 2134, "DNSPolicyID": "d3e6a0f0-b7f9-47f3-91bd-a995d7814ff2", "DNSPolicyName": "Securedns High Protection", "MachineID": "7bd4949b7a2c41b7a9b2f6131a4708dc7bd4949b7a2c41b7a9b2f6131a4708dc:::d292f19f3cf94467a553d292f19f3cf94467a553:::d292f19f3cf94467a553d292f19f3cf94467a553", "KC": "4329-6F9D-7400-4155-8B84", "MasterKC": "CEDC-CCB3-182B-4A86-9770" } ], "ContinuationToken": null, "ContinuationURI": null, "Count": 2 }
<DNSPAgentStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.AgentStatus.Models"> <ContinuationToken i:nil="true" /> <ContinuationURI i:nil="true" /> <Count>2</Count> <QueryResults> <DNSPEndpointInfo> <AgentVersion>1.3.3.35</AgentVersion> <DNSAgentStatus>Installed</DNSAgentStatus> <DNSPolicyID>8cbdadd1-2164-4b42-ae08-6598dc42acb4</DNSPolicyID> <DNSPolicyName>Securedns High Protection</DNSPolicyName> <HostName>Computer1</HostName> <InstalledDate>2024-06-27T04:45:42.072606Z</InstalledDate> <IsVirtualMachine>false</IsVirtualMachine> <KC>4329-6F9D-7400-4155-8B84</KC> <LastModifiedDate>2024-06-27T06:45:42.072606Z</LastModifiedDate> <LastSeenDate>2024-07-25T04:45:42.072606Z</LastSeenDate> <MachineID>2ac034cd8eca47c5b14aef05a7703b3b2ac034cd8eca47c5b14aef05a7703b3b:::5fea4f9a0bd244aa8c1e5fea4f9a0bd244aa8c1e:::5fea4f9a0bd244aa8c1e5fea4f9a0bd244aa8c1e</MachineID> <MasterKC>CEDC-CCB3-182B-4A86-9770</MasterKC> <TrafficCountLast24Hours>2134</TrafficCountLast24Hours> <UninstalledDate i:nil="true" /> </DNSPEndpointInfo> <DNSPEndpointInfo> <AgentVersion>1.3.3.35</AgentVersion> <DNSAgentStatus>Installed</DNSAgentStatus> <DNSPolicyID>d3e6a0f0-b7f9-47f3-91bd-a995d7814ff2</DNSPolicyID> <DNSPolicyName>Securedns High Protection</DNSPolicyName> <HostName>Computer2</HostName> <InstalledDate>2024-05-27T04:45:42.072606Z</InstalledDate> <IsVirtualMachine>false</IsVirtualMachine> <KC>4329-6F9D-7400-4155-8B84</KC> <LastModifiedDate>2024-05-27T08:45:42.072606Z</LastModifiedDate> <LastSeenDate>2024-07-23T04:45:42.072606Z</LastSeenDate> <MachineID>7bd4949b7a2c41b7a9b2f6131a4708dc7bd4949b7a2c41b7a9b2f6131a4708dc:::d292f19f3cf94467a553d292f19f3cf94467a553:::d292f19f3cf94467a553d292f19f3cf94467a553</MachineID> <MasterKC>CEDC-CCB3-182B-4A86-9770</MasterKC> <TrafficCountLast24Hours>2134</TrafficCountLast24Hours> <UninstalledDate i:nil="true" /> </DNSPEndpointInfo> </QueryResults> </DNSPAgentStatus>