Skip to content
TimescaleDB Enterprise
Esc
↑↓navigate↵open⌘Jpreview

Run relay pre-deploy checks

Runs the pre-deploy checks on candidate relays (advisory): the specs, the ports of the relay, that a network interface of each relay has a subnet that contains the address of the zone, and that each relay reaches the console by the host name of TSE_PUBLIC_URL (console_reach).

POST/api/v1/relay-zones/preflight
Authorization
tse_sessionAPI key · cookierequired
Request body
requiredapplication/json
addressstringrequired

The IPv4 address of the zone.

server_idsstring[]required

The candidate relays.

min items 1 · max items 16
Responses
200

OK

serversServerPreflightResult[]required
Show properties
Array of ServerPreflightResult
checksPreflightCheckResult[]required
Show properties
Array of PreflightCheckResult
checkstringrequired
detailstring
statusstringrequired
Allowed:passwarnfail
rolestringrequired
server_idstringrequired
server_namestringrequired
default

Error

codestring

Stable code of the refusal, when the route has codes

detailsstring[]

Additional detail, e.g. per-field validation failures

errorstringrequired

Human-readable error message

Request
curl -X POST 'https://console.example.com/api/v1/relay-zones/preflight' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "address": "string",
  "server_ids": [
    "string"
  ]
}'
Response
{
  "servers": [
    {
      "checks": [
        {
          "check": "string",
          "detail": "string",
          "status": "pass"
        }
      ],
      "role": "string",
      "server_id": "string",
      "server_name": "string"
    }
  ]
}