Skip to main content

Transition

POST 

/api/v1/device-registry/devices/:device_id/transitions/:action

One cell of §5c's matrix.

One endpoint rather than nine, because the matrix is data and a handler per action would be nine places for the tenth to be forgotten. action is checked against device_registry.TRANSITIONS inside the module — the same check the panel's buttons are built from, so the two cannot disagree.

Blank cells are 409 and never a silent success, including when the unit is already in the state being asked for: "already verified" and "verified just now" are different facts and the audit log has to be able to tell them apart.

Request

Responses

Successful Response