Returns the median DNS query latency (in milliseconds) over the last 24 hours for a given site. Returns null if data for the site ID does not exist.
GET https://api-<BlueCat.edge.url>/v1/api/statistics/dnsQueryLatencyMedian/sites/{siteId}
Authorization: Bearer authorization token
Parameters
Name | Description | Type | Required |
siteId | The ID of the site. | String | Required |
Successful response
200 OK
Cache-Control: no-cache
Last-Modified: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
1.3
Returns the following information:
- Cache-Control: The instructions for caching the response. The value of
no-cache
means the response may be stored by any cache. - Last-Modified: The date and time the median DNS query latency was calculated. If the median DNS query latency is null, the date and time the response was created.
- The median DNS query latency (in milliseconds) over the last 24 hours.
Response on unsuccessful authorization
401 Unauthorized
Content-Type: application/JSON
{"code": "UNAUTHORIZED", "brief": "You are not authorized to perform this action"}
Possible error codes
- BAD_REQUEST
- INTERNAL_SERVER_ERROR