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

Fill a DCS member slot

Puts a free server in the empty etcd member slot of a standalone DCS cluster and rebuilds the member on it: the previous etcd member is removed, the server joins as the member of the slot, and every service on the cluster gets the new etcd hosts. The server must be enrolled, online, answer over the mesh and be free. The other members and every service on the cluster must be healthy.

POST/api/v1/dcs-clusters/{id}/slots/{member_name}/fill
Authorization
tse_sessionAPI key · cookierequired
Path parameters
idstringrequired
member_namestringrequired

The member name of the slot: pgnodeNN for a database service, etcdNN for a DCS cluster.

max length 64
Request body
requiredapplication/json
server_idstringrequired

The free server that fills the slot. It must be enrolled, online and free.

min length 1
Responses
202

Accepted

member_namestringrequired
server_idstringrequired
server_namestringrequired
workflow_idstringrequired
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/slots/string/fill' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "server_id": "string"
}'
Response
{
  "member_name": "string",
  "server_id": "string",
  "server_name": "string",
  "workflow_id": "string"
}