* Add DNS Analytics report endpoint Add DNS Analytics report endpoint Add DNS Analytics report endpoint * Remove useless response error test * Add tests for DNS analytics report class methods * Implement methods for listing grouped by time metrics report
35 lines
680 B
JSON
35 lines
680 B
JSON
{
|
|
"result": {
|
|
"rows": 1,
|
|
"data": [
|
|
{
|
|
"dimensions": ["thrdld.sld.tld", "TXT", "NOERROR"],
|
|
"metrics": [2]
|
|
}
|
|
],
|
|
"data_lag": 0,
|
|
"min": {},
|
|
"max": {},
|
|
"totals": {
|
|
"queryCount": 2
|
|
},
|
|
"query": {
|
|
"dimensions": ["queryName", "queryType", "responseCode"],
|
|
"metrics": ["queryCount"],
|
|
"filters": "responseCode==NOERROR AND queryType==TXT",
|
|
"sort": [
|
|
{
|
|
"Id": "queryCount",
|
|
"Desc": true
|
|
}
|
|
],
|
|
"since": "2020-02-01T00:00:00Z",
|
|
"until": "2020-02-28T23:59:59Z",
|
|
"limit": 10000
|
|
}
|
|
},
|
|
"success": true,
|
|
"errors": [],
|
|
"messages": []
|
|
}
|