Reachability

Whether the preview domain can be reached.

Changed on

local_only (localhost, localho.st), unresolved (a name under it does not resolve), no_way_in (it resolves, but to nothing this install serves publicly) or usable. Recomputed when the setting, the tunnels or the nodes' public ingress change, and every 30 minutes.

get/settings/preview-domain/status

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Response

checked_atstring date-time required
preview_domainstring required
reasonstring required

Why, in words.

status'local_only' | 'unresolved' | 'no_way_in' | 'usable' required

D2: whether the preview domain can be reached at all.

tunnel_environment_hostsstring nullable

The tunnel that gives every environment an address instead, when one does (ADR 068 D3): apps are reachable without this domain.

Example response

{
  "preview_domain": "apps.example.com"
}

Changes