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-03-24T11:46:11.4656096Z",
      "UninstalledDate": null,
      "AgentVersion": "1.3.3.35",
      "LastSeenDate": "2024-04-22T11:46:11.4656096Z",
      "LastModifiedDate": "2024-03-24T13:46:11.4656096Z",
      "TrafficCountLast24Hours": 2134,
      "DNSPolicyID": "f1d0bd08-32c6-4314-9631-c794bb532b62",
      "DNSPolicyName": "Securedns High Protection",
      "MachineID": "0ff6da2e4f8845468f5a22063be8e62a0ff6da2e4f8845468f5a22063be8e62a:::5d0bfdbdf5784cd6bfa25d0bfdbdf5784cd6bfa2:::5d0bfdbdf5784cd6bfa25d0bfdbdf5784cd6bfa2",
      "KC": "514B-48E6-043E-4880-975D",
      "MasterKC": "EFC8-96D2-30F8-4C3E-B236"
    },
    {
      "HostName": "Computer2",
      "IsVirtualMachine": false,
      "DNSAgentStatus": "Installed",
      "InstalledDate": "2024-02-24T11:46:11.4656096Z",
      "UninstalledDate": null,
      "AgentVersion": "1.3.3.35",
      "LastSeenDate": "2024-04-20T11:46:11.4656096Z",
      "LastModifiedDate": "2024-02-24T15:46:11.4656096Z",
      "TrafficCountLast24Hours": 2134,
      "DNSPolicyID": "fb42fd0d-0ba6-427f-84e0-ce27244283a7",
      "DNSPolicyName": "Securedns High Protection",
      "MachineID": "bf30dc05a6b34cd6966de5dc905f11c6bf30dc05a6b34cd6966de5dc905f11c6:::02792bca43d2499a807002792bca43d2499a8070:::02792bca43d2499a807002792bca43d2499a8070",
      "KC": "514B-48E6-043E-4880-975D",
      "MasterKC": "EFC8-96D2-30F8-4C3E-B236"
    }
  ],
  "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>f1d0bd08-32c6-4314-9631-c794bb532b62</DNSPolicyID>
      <DNSPolicyName>Securedns High Protection</DNSPolicyName>
      <HostName>Computer1</HostName>
      <InstalledDate>2024-03-24T11:46:11.4656096Z</InstalledDate>
      <IsVirtualMachine>false</IsVirtualMachine>
      <KC>514B-48E6-043E-4880-975D</KC>
      <LastModifiedDate>2024-03-24T13:46:11.4656096Z</LastModifiedDate>
      <LastSeenDate>2024-04-22T11:46:11.4656096Z</LastSeenDate>
      <MachineID>0ff6da2e4f8845468f5a22063be8e62a0ff6da2e4f8845468f5a22063be8e62a:::5d0bfdbdf5784cd6bfa25d0bfdbdf5784cd6bfa2:::5d0bfdbdf5784cd6bfa25d0bfdbdf5784cd6bfa2</MachineID>
      <MasterKC>EFC8-96D2-30F8-4C3E-B236</MasterKC>
      <TrafficCountLast24Hours>2134</TrafficCountLast24Hours>
      <UninstalledDate i:nil="true" />
    </DNSPEndpointInfo>
    <DNSPEndpointInfo>
      <AgentVersion>1.3.3.35</AgentVersion>
      <DNSAgentStatus>Installed</DNSAgentStatus>
      <DNSPolicyID>fb42fd0d-0ba6-427f-84e0-ce27244283a7</DNSPolicyID>
      <DNSPolicyName>Securedns High Protection</DNSPolicyName>
      <HostName>Computer2</HostName>
      <InstalledDate>2024-02-24T11:46:11.4656096Z</InstalledDate>
      <IsVirtualMachine>false</IsVirtualMachine>
      <KC>514B-48E6-043E-4880-975D</KC>
      <LastModifiedDate>2024-02-24T15:46:11.4656096Z</LastModifiedDate>
      <LastSeenDate>2024-04-20T11:46:11.4656096Z</LastSeenDate>
      <MachineID>bf30dc05a6b34cd6966de5dc905f11c6bf30dc05a6b34cd6966de5dc905f11c6:::02792bca43d2499a807002792bca43d2499a8070:::02792bca43d2499a807002792bca43d2499a8070</MachineID>
      <MasterKC>EFC8-96D2-30F8-4C3E-B236</MasterKC>
      <TrafficCountLast24Hours>2134</TrafficCountLast24Hours>
      <UninstalledDate i:nil="true" />
    </DNSPEndpointInfo>
  </QueryResults>
</DNSPAgentStatus>