collection_full_artists

🟡 Incomplete

This API's output may have additions in the future.


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

The returned array is in incrementing key order, as in:

Artist 0,
Artist 1,
Artist 2,

[... etc ...]

Inputs

None

Outputs

FieldTypeDescription
lenunsigned integerHow many Artist's there are
artistsarray of Artist objectsEvery Artist in the Collection

Example Request

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

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "len": 1,
    "artists": [
      {
        "name": "Artist Name",
        "key": 0,
        "runtime": 3561,
        "albums": [
          0,
          1
        ],
        "songs": [
          0,
          1,
          5,
          20,
          22,
          23
        ]
      }
    ]
  },
  "id": 0
}