Announce Device
POST/api/v1/mosque-devices/announce
Provisioning flow D: unprovisioned device announces itself and polls until an admin approves. Contract §10-D.
AZD-144: a MAC never seen before is no longer taken on faith — it goes
through the real manifest check (core/device_claim.py:announce()) and,
on no match, unmanifested_announcements rather than a bare
mosque_devices row. db.announce_mosque_device returns None for
exactly that outcome, which is success, not a 500 — the unit is recorded
and will show up for a Super Admin to review, same as it already does for
a stream player that announces unrecognised.
Request
Responses
- 200
- 422
Successful Response
Validation Error