playlist_brief

🟢 Stable

This API is stable since festivald v1.0.0.


Retrieve the names of all Playlist's.

Names are sorted in lexicographical order.

Inputs

None

Outputs

FieldTypeDescription
lenunsigned integerHow many Playlist's there are
playlistsarray of string'sThe names of all Playlist's

Example Request

festival-cli playlist_brief
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"playlist_brief"}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "len": 3,
    "playlists": [
      "Playlist A",
      "Playlist B",
      "Playlist C"
    ]
  },
  "id": 0
}