Domain
Purpose
Domain
holds information about a custom domain, which hosts short links.
Attributes
Property | Type | Description |
---|---|---|
id | string | Unique domain ID |
ownerId | string | ID of the user owning the domain |
name | string | DNS domain name. Once registered, cannot be changed |
description | string | Remarks for the domain |
rootRedirUrl | string | URL to redirect to from the root. If not given, will redirect the user to once.to |
notFoundRedirUrl | string | URL to redirect to when the requested slug is not found. If not given, will redirect to once.to’s 404 page |
default | boolean | Whether the domain is the default one. Only a confirmed domain can be set default |
confirmed | boolean | Whether the ownership of the domain has been confirmed |
confirmTime | datetime | Domain confirmation date/time |
created | datetime | Domain creation date/time |
certReady | boolean | Whether the SSL certificate for the domain has been successfully provisioned |
certReadyTime | datetime | Date/time when the SSL certificate was provisioned |
clickCount | integer | Number of clicks on the links of this domain that resulted in a successful redirect |