Sync a linked folder now
POSThttps://platform.docana.com/api/v1/repositories/:repositoryId/sync/
Queues a sync run for the repository, the same run the schedule triggers: pull the provider’s change journal, apply adds, edits, renames, moves, and deletions, and import what changed. Requires write access to the repository’s collection. The run is asynchronous — poll listRepositoryConnections for lastSyncedAt to observe completion.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 500
The sync run is queued
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No write access to the repository’s collection
No such repository
Unexpected server error.