Reachability

What a tunnel publishes for environments, or would once turned on.

Changed on

Every environment's host under the tunnel's domain, its publication state, why one got a short-hash name, and the environments it refuses (private, signed-in only, hosted elsewhere).

get/ingress/connectors/{id}/environment-hosts

Request

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

Path parameters

idinteger required

Tunnel id

Response

confirm_tokenstring required

Send back as confirm to turn it on or off. It names exactly the hosts listed here, so a list that changed since it was shown is not accepted.

connector_idinteger required
connector_namestring required
domainstring required
enabledboolean required
enabled_elsewherestring nullable

The tunnel that has environment hosts on instead, if another does: at most one may.

host_suffixstring nullable

The tunnel's hostname suffix: environments are published as <label>-<suffix>.<domain> with one, <label>.<domain> without.

preview_domain_usableboolean required

The preview domain is usable: existing hosts stay, no new ones are generated.

warningstring required

Example response

{
  "confirm_token": "3f2a9c1e0b7d4a65",
  "host_suffix": "lab",
  "hosts": [
    {
      "hostname": "shop-production.tunnel.example.com"
    }
  ]
}

Changes