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

Check a DCS network change

Checks the change of how the members of a standalone DCS cluster reach the console: through a relay zone, or directly. Each member gets the rows of preflight-database-service-network. Rejected with 409 when a service of the DCS cluster is in another network than the target: change the network of the service first, or with with_dcs_cluster.

POST/api/v1/dcs-clusters/{id}/network/preflight
Authorization
tse_sessionAPI key · cookierequired
Path parameters
idstringrequired
Request body
requiredapplication/json
console_addressstring

For servers that reach the console directly: the IPv4 address of the console, for servers that cannot resolve the host name of the console by DNS. Not together with relay_zone_id.

relay_zone_idstring

The relay zone through which the servers reach the console. Empty: the servers reach the console directly.

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/dcs-clusters/string/network/preflight' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "console_address": "string",
  "relay_zone_id": "string"
}'
Response
{
  "servers": [
    {
      "checks": [
        {
          "check": "string",
          "detail": "string",
          "status": "pass"
        }
      ],
      "role": "string",
      "server_id": "string",
      "server_name": "string"
    }
  ]
}