Coffrify. Resources. Domains
(Coffrify v0.9.0)
View Source
Custom domains — CNAME → coffrify.fr aliasing for branded share URLs.
Summary
Functions
Add a new domain — returns the verification token and CNAME target.
Remove a custom domain.
Get a domain by id.
List configured custom domains.
Resolve the customer CNAME via DoH and flip verified=true on match.
Functions
@spec create(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Add a new domain — returns the verification token and CNAME target.
@spec delete(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Remove a custom domain.
@spec get(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Get a domain by id.
@spec list(Coffrify.t()) :: {:ok, map()} | {:error, Exception.t()}
List configured custom domains.
@spec verify(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Resolve the customer CNAME via DoH and flip verified=true on match.