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
  • URL: https://api.banksync.io/v1/tables/{tableId}/rows/{rowId}/relations/{fieldKey}
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

tableIdstring required

Table ID

rowIdstring required

Row ID

fieldKeystring required

Field key

Request body

op'add' | 'remove' | 'set' | 'reorder' required
targetRowIdsstring[] required

Response

The relation cell after the change

successtrue required
versioninteger required

Changes

No recorded changes to this operation across all 1 revision of this API.