Get DNS requests sent by user
Introduction
An endpoint to retrieve DNS resolutions that were performed by the user. The reply is aggregated within an hour interval. Has pagination and page size for paginated data retrieval.
For example:
GET /api/beta/dns-log/user-dns-resolutions/page?startHour=2024-11-08T14:00:00Z&hoursBack=1&page=1&size=1000
{ "content": [ { "time": 1731412800000, "domain": "connectivity-check.ubuntu.com", "memberId": "memberId@tenant", "internalDomain": false, "allowedCount": 23, "blockedCount": 0, "failedCount": 0 }, { "time": 1731416400000, "domain": "reddit.com", "memberId": "memberId@tenant", "internalDomain": false, "allowedCount": 2, "blockedCount": 0, "failedCount": 0 } ], "totalElements": 2, "totalPages": 1, "numberOfElements": 2, "page": 1, "size": 1000 }
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
startHour | query | string(date-time) | true | A String date-time, according to ISO 8601 in UTC timezone, of an hour to start collecting data from. Value is rounded to the past hour if more granular value is provided.
|
page | query | string | true | page |
size | query | string | true | size |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Inline | |
400 | Bad Request | None | |
401 | Unauthorized | None | |
403 | Access Forbidden | None | |
404 | Not Found | None | |
406 | Not Acceptable | None | |
429 | Too Many Requests | None | |
500 | Internal Server Error | None |
To perform this operation, you must be authenticated by means of one of the following methods: OAuth_authorization
{ "content": [ { "allowedCount": 0, "blockedCount": 0, "domain": "string", "failedCount": 0, "internalDomain": true, "memberId": "string", "time": 0 } ], "numberOfElements": 0, "page": 0, "size": 0, "success": true, "totalElements": 0, "totalPages": 0 }