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

NameDescriptionTypeAdditional 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

DNSPAgentStatus
NameDescriptionTypeAdditional 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-11-21T16:41:26.5781945Z",
      "UninstalledDate": null,
      "AgentVersion": "1.3.3.35",
      "LastSeenDate": "2024-12-19T16:41:26.5781945Z",
      "LastModifiedDate": "2024-11-21T18:41:26.5781945Z",
      "TrafficCountLast24Hours": 2134,
      "DNSPolicyID": "4364bd7f-24c2-43f1-9ec0-b303490a9615",
      "DNSPolicyName": "Securedns High Protection",
      "MachineID": "f67362ec0a01470b8c54a3fdc21c18dcf67362ec0a01470b8c54a3fdc21c18dc:::a4c381355a574f738d46a4c381355a574f738d46:::a4c381355a574f738d46a4c381355a574f738d46",
      "KC": "915F-862F-7A32-4E1E-B928",
      "MasterKC": "F78C-3E05-8840-4808-9366"
    },
    {
      "HostName": "Computer2",
      "IsVirtualMachine": false,
      "DNSAgentStatus": "Installed",
      "InstalledDate": "2024-10-21T16:41:26.5781945Z",
      "UninstalledDate": null,
      "AgentVersion": "1.3.3.35",
      "LastSeenDate": "2024-12-17T16:41:26.5781945Z",
      "LastModifiedDate": "2024-10-21T20:41:26.5781945Z",
      "TrafficCountLast24Hours": 2134,
      "DNSPolicyID": "4ccda37f-2a31-4398-b434-824e4bd285ee",
      "DNSPolicyName": "Securedns High Protection",
      "MachineID": "081c6751775945cea420c43cc782c20d081c6751775945cea420c43cc782c20d:::9ab6740a4bec46feb0819ab6740a4bec46feb081:::9ab6740a4bec46feb0819ab6740a4bec46feb081",
      "KC": "915F-862F-7A32-4E1E-B928",
      "MasterKC": "F78C-3E05-8840-4808-9366"
    }
  ],
  "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>4364bd7f-24c2-43f1-9ec0-b303490a9615</DNSPolicyID>
      <DNSPolicyName>Securedns High Protection</DNSPolicyName>
      <HostName>Computer1</HostName>
      <InstalledDate>2024-11-21T16:41:26.5781945Z</InstalledDate>
      <IsVirtualMachine>false</IsVirtualMachine>
      <KC>915F-862F-7A32-4E1E-B928</KC>
      <LastModifiedDate>2024-11-21T18:41:26.5781945Z</LastModifiedDate>
      <LastSeenDate>2024-12-19T16:41:26.5781945Z</LastSeenDate>
      <MachineID>f67362ec0a01470b8c54a3fdc21c18dcf67362ec0a01470b8c54a3fdc21c18dc:::a4c381355a574f738d46a4c381355a574f738d46:::a4c381355a574f738d46a4c381355a574f738d46</MachineID>
      <MasterKC>F78C-3E05-8840-4808-9366</MasterKC>
      <TrafficCountLast24Hours>2134</TrafficCountLast24Hours>
      <UninstalledDate i:nil="true" />
    </DNSPEndpointInfo>
    <DNSPEndpointInfo>
      <AgentVersion>1.3.3.35</AgentVersion>
      <DNSAgentStatus>Installed</DNSAgentStatus>
      <DNSPolicyID>4ccda37f-2a31-4398-b434-824e4bd285ee</DNSPolicyID>
      <DNSPolicyName>Securedns High Protection</DNSPolicyName>
      <HostName>Computer2</HostName>
      <InstalledDate>2024-10-21T16:41:26.5781945Z</InstalledDate>
      <IsVirtualMachine>false</IsVirtualMachine>
      <KC>915F-862F-7A32-4E1E-B928</KC>
      <LastModifiedDate>2024-10-21T20:41:26.5781945Z</LastModifiedDate>
      <LastSeenDate>2024-12-17T16:41:26.5781945Z</LastSeenDate>
      <MachineID>081c6751775945cea420c43cc782c20d081c6751775945cea420c43cc782c20d:::9ab6740a4bec46feb0819ab6740a4bec46feb081:::9ab6740a4bec46feb0819ab6740a4bec46feb081</MachineID>
      <MasterKC>F78C-3E05-8840-4808-9366</MasterKC>
      <TrafficCountLast24Hours>2134</TrafficCountLast24Hours>
      <UninstalledDate i:nil="true" />
    </DNSPEndpointInfo>
  </QueryResults>
</DNSPAgentStatus>