Tables

Link or unlink related rows

Operation-shaped (add / remove / set / reorder) rather than "here is the new list", because cardinality is enforced by the statement: a one-sided add that would create a second live link fails in SQL, not after a read another writer can invalidate. Returns the cell as it now reads.

post/v1/tables/{tableId}/rows/{rowId}/relations/{fieldKey}

Request

  • Base URL
    https://api.banksync.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

tableId, string required

Table ID

rowId, string required

Row ID

fieldKey, string required

Field key

Request body

object required
op, 'add' | 'remove' | 'set' | 'reorder' required
targetRowIds, string[] required

Response

The relation cell after the change

object required
success, true required
property, union required
version, integer required

Changes

No recorded changes to this operation across all 6 revisions of this API.