v1

latestOpenAPI 3.0.3MIT2026-07-22399194.2 KB
Device

Sync

Manually force a device sync with the edits made in the dashboard.

post/device/sync

Response

Successfully synced the device.

code'success' | 'network_connection_error' | 'in_cooldown' required

The result of attempting to sync the device.

messagestring required

The message of the result.

last_synced_atstring date-time required

Timestamp of when the device was last synced.

last_attempted_sync_atstring date-time required

Timestamp of when the last attempted sync occurred.

in_cooldownboolean required

Whether the device is currently in cooldown.

cooldown_ends_atstring date-time required

Timestamp of when the cooldown will end.

Example response

{
  "code": "in_cooldown",
  "message": "Device is not connected to the backend.",
  "last_synced_at": "2021-01-01T00:00:00Z",
  "last_attempted_sync_at": "2021-01-01T00:00:00Z",
  "in_cooldown": true,
  "cooldown_ends_at": "2021-01-01T00:00:00Z"
}