Skip to content

Resolve the rollback target for a device

GET
/api/v1/devices/{id}/rollback-target
curl --request GET \
--url http://localhost:3000/api/v1/devices/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rollback-target \
--header 'X-API-Key: <X-API-Key>'

Returns which application version the device would be rolled back to, or a machine-readable code explaining why it cannot be. Read-only — nothing is deployed. The resolution rule lives on the server so clients need not re-derive it.

id
required
string format: uuid

Device UUID

applicationPackageId
string

Scope the preview to one application package. Mirrors the rollback body so a preview cannot name a version the rollback would not apply.

Rollback target resolved (or reported unavailable)

Device not found