CreateCollectionRequest

Request payload for creating a collection.

Should be used in the CreateCollection endpoint.

{
  "name": "test collection",
  "comment": "this is a collection",
  "items": [
    {
      "type": "song",
      "id": "300000060"
    },
    {
      "type": "album",
      "id": "200000021"
    },
    {
      "type": "genre",
      "name": "vaporwave"
    }
  ]
}
FieldTypeReq.OpenS.Details
namestringYesYesThe human-readable name of the collection.
commentstringNoYesThe collection comment.
publicbooleanNoYestrue if the collection should be visible to all users, false otherwise. Default false.
itemsCollectionItemID[]NoYesA list of items.