Skip to content

Sync API

Active integration surface. Pushes descriptions, authorities, and digital objects to a registered external REST target (AtoM today, Archivematica and Albalá planned). Idempotent: payloads short-circuit on hash match. Failed deliveries land in cfg_sync_dead_letter for inspection and retry.

MethodPathSummaryKey paramsResponse
POST/collections/{collection}/libros/{libro}/sync/atom-bulkDeploy libro to AtoM via CSV + EAC-CPF watch-dir bulk importcollection (path:string)
libro (path:integer)
DeployReport
POST/collections/{collection}/libros/{libro}/sync/{target_id}Sync libro (libro DLU + segments) to external targetcollection (path:string)
libro (path:integer)
target_id (path:string)
SyncReport
GET/collections/{collection}/libros/{libro}/sync/{target_id}/verifyVerify a libro’s AtoM-side deposit statecollection (path:string)
libro (path:integer)
target_id (path:string)
(no body)
GET/dlus/{id}/sync-statusGet DLU sync state across all targetsid (path:integer)DluSyncStatusRow[]
POST/dlus/{id}/sync/{target_id}Sync DLU to external targetid (path:integer)
target_id (path:string)
SyncReport
GET/sync/dead-letterList unacknowledged dead-lettered sync resourcesDeadLetterRow[]
POST/sync/dead-letter/{letter_id}/acknowledgeAcknowledge a dead-letter row without retryingletter_id (path:integer)
body: AcknowledgeBody
DeadLetterAck
POST/sync/dead-letter/{letter_id}/retryRe-queue a dead-lettered resource for retryletter_id (path:integer)DeadLetterAck

Push one DLU to its sync target

Terminal window
curl -X POST -H "X-API-Key: $API_KEY" \
"$ARCHAIC/dlus/{id}/sync/{target_id}"