ShortLink
Purpose
ShortLink
holds information about a short link, which redirects to another destination URL.
Attributes
Property | Type | Description |
---|---|---|
id | string | Unique link ID |
ownerId | uuid | ID of the user owning the link |
slug | string | Link slug (back-half) |
domain | string | Domain this link will redirects at. If empty, redirects on the service’s own domains (1e.to ) |
targetUrl | string | URL to redirect to |
title | string | Optional link title |
active | boolean | Whether the link is active |
customSlug | boolean | Whether the slug has been explicitly provided by the user |
botClicks | boolean | Whether to register clicks by bots |
starts | datetime | Optional link start date/time |
expires | datetime | Optional link expiration date/time |
password | string | Optional password to access the link’s target |
statusCode | integer | HTTP status code used during the redirection. If not provided, defaults to 301/302 |
created | datetime | Link creation date/time |
clickCount | integer | Number of clicks on the link that resulted in a successful redirect |
lastClicked | datetime | Date/time of the last click on the link |