Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 6.91 KB

domainschema.md

File metadata and controls

17 lines (14 loc) · 6.91 KB

DomainSchema

Fields

Field Type Required Description Example
id string ✔️ The unique identifier of the domain.
slug string ✔️ The domain name. acme.com
verified boolean Whether the domain is verified.
primary boolean Whether the domain is the primary domain for the workspace.
archived boolean Whether the domain is archived.
placeholder string Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. https://dub.co/help/article/what-is-dub
expiredUrl string ✔️ The URL to redirect to when a link under this domain has expired. https://acme.com/expired
target string ✔️ The page your users will get redirected to when they visit your domain. https://acme.com/landing
type components.Type ✔️ The type of redirect to use for this domain.
clicks number The number of clicks on the domain.