collection_brief_artists

🟢 Stable

This API is stable since festivald v1.0.0.


Retrieve an array of every Artist name in the current Collection.

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

Inputs

None

Outputs

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

Example Request

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

Example Response

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