/v2/api/customer/dnsQueryLog/count - BlueCat DNS Edge

DNS Edge API Guide

Locale
English
Product name
BlueCat DNS Edge

Returns the total count of logged DNS queries within 30 days for the specified site name.

Note: v1/api/customer/dnsQueryLog/count has been deprecated.
GET https://api-<DNS.Edge.URL>/v2/api/customer/dnsQueryLog/count?siteName=siteName

Parameters

Name Description Type Required
siteName The site for which you want to retrieve the log DNS query count. If no site is provided, an error is returned. If there is no site with that name, an empty list is returned. String Required

Successful response

200 — OK
{
  "count": 4459
}
Possible error codes
  • UNAUTHORIZED - Missing or invalid token
  • CANNOT_GET_SITES
  • UNEXPECTED_ERROR