collection_brief

🟡 Incomplete

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


Retrieve some brief metadata about the current Collection.

This method is a subset of the collection_full method.

Inputs

None

Outputs

FieldTypeDescription
emptybooleanIf the Collection does NOT have any Artist's, Album's, or Song's
timestampunsigned integerThe UNIX timestamp of when this Collection was created
count_artistunsigned integerHow many unique Artist's there are in this Collection
count_albumunsigned integerHow many unique Album's there are in this Collection
count_songunsigned integerHow many unique Song's there are in this Collection
count_artunsigned integerHow much unique Album art there are in this Collection

Example Request

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

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "empty": false,
    "timestamp": 1690410052,
    "count_artist": 195,
    "count_album": 825,
    "count_song": 8543,
    "count_art": 824
  },
  "id": 0
}