Scenes & schedules

Run a schedule now

POST/api/schedules/{id}/run
Admin. Needs an unlock token (x-tempolight-token) while a PIN lock is set; without a lock, anyone can call it.

Does what the schedule does, now.

Path parameters

idstringrequired

A schedule id (t…).

Responses

200OKapplication/json
oktruerequired
403Locked, or not allowed.application/json
errorstringrequired

What went wrong, in a sentence for people.

404No such id.application/json
errorstringrequired

What went wrong, in a sentence for people.

Request
curl -X POST 'http://localhost:8080/api/schedules/id/run'
Response
{
  "ok": true
}
Edit on GitHub