Connectors

Transfer between provider folder and vault

Changed on

One-shot import (provider folder → vault), export (vault → provider folder), or both. Direction both creates paired import/export links and defaults export to a CaseMark Output subfolder. Upserts links by (connection_id, direction, remote, vault_id): first call backfills, later calls move only new/changed files via the ledger. Poll GET /links/{id} → active_run for progress.

post/connectors/v1/transfer

Request

  • Base URL
    https://api.case.dev
  • URL
    https://api.case.dev/connectors/v1/transfer
  • Auth
    HTTP bearer

Headers

x-case-connector-subjectstring

Trusted server-to-server application-user assertion. Derive it from the authenticated application session, never browser input. Omit only for the legacy organization-scoped namespace.

Request body

direction'import' | 'export' | 'both' required
connection_idstring required
vault_idstring required
matter_idstring nullable
run_mode'auto' | 'full_reconcile'

Response

Link created/re-triggered; run in progress

linksobject[]

Changes