Domains

Add a development origin

Changed on

Registers a local or preview origin for board sign-in, for example from a deploy pipeline as each preview is created. Adding an origin that is already registered returns it with 200.

post/development-origins

Request

  • Base URL: https://api.cavuno.com/v1
  • URL: https://api.cavuno.com/v1/development-origins
  • Auth: HTTP bearer

Request body

originstring required

Where sign-in may complete while you test a self-hosted frontend: http://localhost:<port> (or 127.0.0.1 / [::1]), one exact https:// origin such as a preview deployment, or https://*.<domain> under a domain verified on this board. Wildcards on shared hosting suffixes such as vercel.app are refused; register each preview URL instead.

Response

The origin was already registered.

idstring required
object'development_origin' required
originstring required

Normalized origin, or https://*.<domain> for a wildcard entry.

kind'loopback' | 'https' | 'wildcard' required

loopback for localhost addresses, https for one exact origin, wildcard for one subdomain level under a verified domain.

createdAtstring required

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status