Sources
Sync a connection now
Changed onStarts a sync of the connection now; documents arrive as it runs. The connection must be active, have a schedule other than off and a sync scope, or the call answers 400. A sync already queued or running is left as it is. A personal connection can be synced only by the person who connected it.
Scope: documents:write. A key holding only the legacy write scope does not satisfy it.
post/v1/sources/connections/{id}/sync-now
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
Resource UUID.
Response
The sync is queued; the answer is the sync settings.
Source Sync Settings required
interval, 'off' | 'hourly' | 'daily' | 'weekly' | 'every_minute'
status, 'idle' | 'queued' | 'syncing' | 'error'
last_synced_at, string date-time nullable
sync_error, string nullable
scope, object nullable
What the connection watches; its type names the connector and entries the folders, labels, pages or prefixes.
scope_summary, string nullable
supported, boolean
Whether the connector supports scheduled sync.
backfill_pending, boolean
Whether a read of what is already in scope is still to come.
Changes
- info
endpoint added
- info