collection_brief_albums

🟢 Stable

This API is stable since festivald v1.0.0.


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

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

Inputs

None

Outputs

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

Example Request

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

Example Response

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