static_sites

POST /api/v1/static_sites/{static_site_id}/domains

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/static_sites/{static_site_id}/domains
  • Auth
    HTTP bearer

Path parameters

static_site_idstring required

Request body

hostnamestring required
kind'primary' | 'redirect' | 'preview' | 'internal'
dns_mode'manual_cname' | 'cloudflare'
redirect_tostring

Response

Static site domain created

Changes

No recorded changes to this operation across all 3 revisions of this API.