v1

latestOpenAPI 3.1.02026-08-0413468163.9 KB
v1-connectors

Set Replica Identity Decisions Endpoint

Record the customer's per-table decisions for ARD-999 preflight.

Every entry in request_body.decisions must:

  • have a key that matches a discovered no-replication-identity table for this connector ("<database>.<schema>.<table>" FQN), and
  • have a value of "exclude", "add_pk", or "replica_identity_full".

Validation fails loud (400) on any mismatch — silent acceptance of keys that don't match would let a typo persist as a dead entry that looks correct in the connector record but has no effect at engine setup time. Tables that exist in the discovered no-replication- identity list but are absent from decisions revert to the default "exclude" (the pre-ARD-999 behavior). This endpoint is a full replace: submit the complete decision set for every table that should keep a non-default decision, because omitted FQNs revert to "exclude" even if a prior PUT recorded a different decision.

Response carries the updated connector with the refreshed replica_identity_preflight block (same shape as GET) so the CLI and the web wizard can render the post-write state without a follow- up round-trip.

put/v1/connectors/{connector_id}/replica-identity-decisions

Path parameters

connector_idstring required

Request body

decisionsobject required

Per-table decision: exclude, add_pk, or replica_identity_full.

Response

The refreshed connector row, including replica_identity_preflight.

idstring required

Connector ID.

org_idstring required

Organization the connector belongs to.

project_idstring nullable

Project the connector belongs to.

namestring required

Connector name.

service_namestring required

Service type. postgresql today.

statusstring nullable

Current connector status.

created_atstring nullable

When the connector was created.

can_updateboolean nullable

Whether the caller may update this connector.

can_deleteboolean nullable

Whether the caller may delete this connector.