List DNS Server tests
GET {{baseUrl}}/tests/dns-server?aid=1234
Returns a list of all DNS Server tests and saved events.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aid | number | A unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"tests":[{"dnsServers":[{"serverId":"1447","serverName":"dns-example.net"},{"serverId":"1447","serverName":"dns-example.net"}],"domain":"www.thousandeyes.com","interval":60,"alertsEnabled":true,"enabled":true,"createdBy":"user@user.com","createdDate":"2022-07-17T22:00:54Z","description":"ThousandEyes Test","liveShare":false,"modifiedBy":"user@user.com","modifiedDate":"2022-07-17T22:00:54Z","savedEvent":false,"testId":"281474976710706","testName":"ThousandEyes Test","type":"agent-to-server","_links":{"self":{"href":"https://api.thousandeyes.com/v7/tests/{type}/281474976710706"},"testResults":[{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}]},"bandwidthMeasurements":true,"dnsTransportProtocol":"udp","mtuMeasurements":false,"networkMeasurements":true,"numPathTraces":3,"pathTraceMode":"classic","probeMode":"auto","protocol":"tcp","recursiveQueries":true,"ipv6Policy":"use-agent-policy","fixedPacketRate":50,"dnsQueryClass":"in","bgpMeasurements":true,"usePublicBgp":true},{"dnsServers":[{"serverId":"1447","serverName":"dns-example.net"},{"serverId":"1447","serverName":"dns-example.net"}],"domain":"www.thousandeyes.com","interval":60,"alertsEnabled":true,"enabled":true,"createdBy":"user@user.com","createdDate":"2022-07-17T22:00:54Z","description":"ThousandEyes Test","liveShare":false,"modifiedBy":"user@user.com","modifiedDate":"2022-07-17T22:00:54Z","savedEvent":true,"testId":"281474976710706","testName":"ThousandEyes Test","type":"agent-to-server","_links":{"self":{"href":"https://api.thousandeyes.com/v7/tests/{type}/281474976710706"},"testResults":[{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}]},"bandwidthMeasurements":true,"dnsTransportProtocol":"udp","mtuMeasurements":false,"networkMeasurements":true,"numPathTraces":3,"pathTraceMode":"classic","probeMode":"auto","protocol":"tcp","recursiveQueries":true,"ipv6Policy":"use-agent-policy","fixedPacketRate":50,"dnsQueryClass":"in","bgpMeasurements":true,"usePublicBgp":true}],"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"eiusmod culpa adipisicing non","deprecation":"ut nulla sed esse deserunt","name":"et commodo do sunt","profile":"voluptate et dolore c","title":"fugiat aliquip irure cillum","hreflang":"ul"}}}