/v2/api/customer/dnsQueryLog/count - BlueCat Edge - Service Point v3.x.x

DNS Edge API Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v3.x.x

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

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