Skip to content

Add beacon sync status reporting endpoint#661

Draft
dmitrytrager wants to merge 1 commit intomainfrom
feat/sync-status-reporting-569
Draft

Add beacon sync status reporting endpoint#661
dmitrytrager wants to merge 1 commit intomainfrom
feat/sync-status-reporting-569

Conversation

@dmitrytrager
Copy link
Copy Markdown
Collaborator

What Issue Does This PR Cover, If Any?

Resolves #569

What Changed? And Why Did It Change?

Implements POST /api/v1/beacons/sync_status so beacons can report their sync state. Stores status (synced/syncing/outdated/error), reported manifest version and checksum, file counts, total size, device info, and error message; updates last_seen_at on every report and last_sync_at only on successful sync. Unblocks the admin device status view (task 7) by exposing enum scopes and timestamps for filtering and health display.

How Has This Been Tested?

Please Provide Screenshots

Additional Comments

Implements POST /api/v1/beacons/sync_status so beacons can report their
sync state. Stores status (synced/syncing/outdated/error), reported
manifest version and checksum, file counts, total size, device info,
and error message; updates last_seen_at on every report and last_sync_at
only on successful sync. Unblocks the admin device status view (task 7)
by exposing enum scopes and timestamps for filtering and health display.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync Status Reporting Endpoint

1 participant