Skip to main content

Module sync

Module sync 

Source
Expand description

DTOs for /api/v1/sync and /api/v1/sync/status.

All envelope shapes match Python — including the deviation from the canonical {"detail": ...} envelope. The 4xx/5xx body for these endpoints is {"error": "..."}, never {"detail": ...}.

Structs§

LatestRunningSyncDTO
SyncConflictDTO
409 body when another sync is already running for the user.
SyncConflictDetailsDTO
SyncErrorDTO
{"error": "..."} envelope used by the simpler error paths in this router.
SyncRequestDTO
POST /api/v1/sync request body.
SyncResponseDTO
200 response body for POST /api/v1/sync.
SyncStatusOverviewDTO
200 response body for GET /api/v1/sync/status.