Music

Reset a song's show

DEL/api/songs/{id}/show
Guest area “effects”. Open unless a PIN lock is set and guests aren't allowed this area (settings.guest.effects); then it needs an unlock token.

Throws away your edits (colours, cues and brightness too) and makes a new show.

Path parameters

idstringrequired

A song id (m…).

Responses

200OKapplication/json
oktruerequired
idstring
namestring
durnumber
editedboolean
showobject[]
colorsobject[]
cuesobject[]
brightobject[]
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 DELETE 'http://localhost:8080/api/songs/m9x2q1/show'
Response
{
  "ok": true,
  "id": "m9x2q1",
  "name": "One More Time",
  "dur": 320.4,
  "edited": false,
  "show": [
    {
      "t0": 0,
      "t1": 32,
      "part": "calm",
      "effect": "aurora"
    }
  ],
  "colors": [],
  "cues": [],
  "bright": []
}
Edit on GitHub