State

List effects

GET/api/effects
Open. Open to everyone who can reach Tempolight.

Every effect, built-in and your own.

Responses

200OKapplication/json
object[]
idstringrequired
namestringrequired
tagstring

When automatic mode uses it.

One of "calm" "build" "drop" "home"
customboolean

One of your own effects.

Request
curl 'http://localhost:8080/api/effects'
Response
[
  {
    "id": "shock",
    "name": "Shock",
    "tag": "drop"
  },
  {
    "id": "u-k3j9q2",
    "name": "Pink chase",
    "tag": "drop",
    "custom": true
  }
]
Edit on GitHub