collection_brief_songs

🟢 Stable

This API is stable since festivald v1.0.0.


Retrieve an array of every Song title in the current Collection.

The returned array of string's is in lexicographical order.

Inputs

None

Outputs

FieldTypeDescription
lenunsigned integerHow many Song's there are
songsarray of string'sThe title of every Song in the Collection

Example Request

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

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "len": 3,
    "songs": [
      "aaa",
      "bbb",
      "ccc"
    ]
  },
  "id": 0
}