import { GetLinksCountRequest } from "dub/models/operations";
let value: GetLinksCountRequest = {};
Field | Type | Required | Description |
---|---|---|---|
domain |
string | ➖ | The domain to filter the links by. E.g. ac.me . If not provided, all links for the workspace will be returned. |
tagId |
string | ➖ | Deprecated. Use tagIds instead. The tag ID to filter the links by. |
tagIds |
operations.GetLinksCountQueryParamTagIds | ➖ | The tag IDs to filter the links by. |
tagNames |
operations.GetLinksCountQueryParamTagNames | ➖ | The unique name of the tags assigned to the short link (case insensitive). |
search |
string | ➖ | The search term to filter the links by. The search term will be matched against the short link slug and the destination url. |
userId |
string | ➖ | The user ID to filter the links by. |
tenantId |
string | ➖ | The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant. |
showArchived |
boolean | ➖ | Whether to include archived links in the response. Defaults to false if not provided. |
withTags |
boolean | ➖ | DEPRECATED. Filter for links that have at least one tag assigned to them. |
groupBy |
operations.GroupBy | ➖ | The field to group the links by. |