Create or upgrade a synced link
Standing promise: backfill now, then stay current (the sync sweeper re-runs synced links on a schedule). Direction both creates paired import/export links and defaults export to a CaseMark Output subfolder. Same body as /transfer minus run_mode. Upserts links by (connection_id, direction, remote, vault_id, selection); existing once-links are upgraded in place with their ledger and cursor preserved. Downgrade or pause via PATCH /links/.
Headers
Body
Export only part of the vault (direction export only; 400 selection_requires_export otherwise). Provide object_ids, folder, or both (their intersection). The selection is part of link identity: each distinct selection to the same destination is its own link, and repeating a selection re-runs that link. Exported objects still exclude files still processing and connector-imported or fetched copies. Destination paths: with folder, paths are relative to that folder, so its contents land directly in remote; with object_ids only, each object keeps its full vault path. Omit to export the whole vault.
Response
Synced link created/upgraded; backfill or incremental run in progress

