mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-06 12:27:48 +00:00
24 lines
9.2 KiB
Markdown
24 lines
9.2 KiB
Markdown
# GetDevicesByClicksRequest
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
|
|
| `domain` | *string* | :heavy_minus_sign: | The domain to filter analytics for. |
|
|
| `key` | *string* | :heavy_minus_sign: | The short link slug. |
|
|
| `linkId` | *string* | :heavy_minus_sign: | The unique ID of the short link on Dub. |
|
|
| `externalId` | *string* | :heavy_minus_sign: | This is the ID of the link in the your database. Must be prefixed with 'ext_' when passed as a query parameter. |
|
|
| `interval` | [operations.GetDevicesByClicksQueryParamInterval](../../models/operations/getdevicesbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
|
|
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
|
|
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
|
|
| `country` | [operations.GetDevicesByClicksQueryParamCountry](../../models/operations/getdevicesbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
|
|
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
|
|
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
|
|
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |
|
|
| `os` | *string* | :heavy_minus_sign: | The OS to retrieve analytics for. |
|
|
| `referer` | *string* | :heavy_minus_sign: | The referer to retrieve analytics for. |
|
|
| `url` | *string* | :heavy_minus_sign: | The URL to retrieve analytics for. |
|
|
| `tagId` | *string* | :heavy_minus_sign: | The tag ID to retrieve analytics for. |
|
|
| `qr` | *boolean* | :heavy_minus_sign: | Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both. |
|
|
| `root` | *boolean* | :heavy_minus_sign: | Filter for root domains. If true, filter for domains only. If false, filter for links only. If undefined, return both. | |