Connect a domain
Changed onConnect a hostname. web routing defaults on (attached to site_id or the storefront); email capabilities are explicit opt-ins. Pass page (a published page's slug) to serve that one public page at the hostname instead of a site, or pages: true to serve every published page at /<slug> (the account's pages domain). The response carries capabilities, records[] with per-record DNS status, and next_step.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Slug of a public published page to serve at this hostname. A gated page can't be served on a custom domain, and a hostname serves either a site or one page.
Serve every published page of the account at https://<hostname>/<slug>, members-only ones included: viewers sign in on the hostname and each page keeps its own access. One pages domain per account; it cannot also serve a site or a single page.
Response
Domain
Whether the registration renews itself before expires_at; null for a domain connected rather than bought here. Change it with PATCH auto_renew.
First date the registration can move to another registrar (60 days after registration); null for a domain connected rather than bought here.
pending_payment, transferring, completed or failed for a domain moved here from another registrar (POST /v1/domains/transfer_in); null otherwise.
The registrar's last reported step of a transfer to Crevio: pending, in_progress, blocked (waiting on the current registrar, up to 5 days), action_required (the owner must approve an email from the current registrar), succeeded or failed.
Why the last transfer to Crevio failed, as the registrar put it.
True when the domain serves every published page of the account at https://<domain>/<slug>.
Changes
- breaking
the response property
next_stepbecame nullable for the status - breaking
the response property
site_idbecame nullable for the status - breaking
the response property
zone_idbecame nullable for the status
3 more changes in this revision
- breaking