Skip to main content

Send Device Command

POST 

/api/v1/device-registry/devices/:device_id/cmd

Publish an interactive command (contract §7) and await the device ack.

The registry-native counterpart of mosque_devices.send_command — same wire contract and topic scheme, devices/device_assignments instead of mosque_devices underneath, so it also works for units onboarded through /announce/claim that never got a mosque_devices row. Not a lifecycle action (§5c) — the guard is _require_device_read, not _require_superadmin, so a mosque admin can ping/reboot/identify their own claimed unit exactly as they could before.

Request

Responses

Successful Response