Playlists

Playlists are ordered sequences of animations that play one after another on a universe. They’re useful for setting up a creature to perform a scripted show.

GET /api/v1/playlist — List all playlists.

GET /api/v1/playlist/id/{playlistId} — Get a playlist by its UUID.

POST /api/v1/playlist — Create or update a playlist. Accepts a raw playlist JSON string.

POST /api/v1/playlist/start — Start playing a playlist on a universe.

{
  "universe": 1,
  "playlist_id": "uuid"
}

POST /api/v1/playlist/stop — Stop the currently running playlist on a universe.

{
  "universe": 1
}

GET /api/v1/playlist/status — Get the status of all playlists across all universes.

GET /api/v1/playlist/status/{universe} — Get the playlist status for a specific universe.