collectionItemID
An identifier for a collection item to be added.
Categories:
Opensubsonic:
Depending on the item type, either id or name must be provided.
For most types, id is the natural choice, but some types (e.g. Genre)
don’t have it, so name should be used.
{
"type": "song",
"id": "20"
}{
"type": "album",
"id": "30"
}{
"type": "genre",
"name": "vaporwave"
}| Field | Type | Req. | OpenS. | Details |
|---|---|---|---|---|
type | string | Yes | One of: song, album, artist, playlist | |
id | string | No | ID of the item, where applicable | |
name | string | No | Name of the item, where applicable |