Devices & room

Identify a shape

POST/api/room/identify
Open. Open to everyone who can reach Tempolight.

Lights one shape for a few seconds.

Request body application/json

shapeintegerrequired

The shape's index in the room.

Responses

200OKapplication/json
oktruerequired
Request
curl -X POST 'http://localhost:8080/api/room/identify' \
  -H 'content-type: application/json' \
  -d '{
  "shape": 0
}'
Response
{
  "ok": true
}
Edit on GitHub