Skip to main content

CollectionsResponseV2

data object[]required
  • Array [
  • idintegerrequired
    namestringrequired

    The collection's display name.

    descriptionstringrequired
    ratingRatingV2 (string)required

    Content rating.

    Possible values: [G, PG, PG-13, R, NC17, unknown]

    explicitbooleanrequired

    True when any track in the collection is explicit.

    publishedOndate-timenullable
  • ]
  • pagination objectrequired
    nextCursorstringnullablerequired

    Opaque cursor for the next page, or null when there are no more results. This is the only end-of-results signal — a page shorter than limit does NOT mean the end (unavailable items are omitted).

    totalResultsintegernullable

    Exact size of the full result set being paged (every item, regardless of per-item availability). May be null on high-cardinality lists where an exact count is impractical.

    CollectionsResponseV2
    {
    "data": [
    {
    "id": 0,
    "name": "string",
    "description": "string",
    "rating": "G",
    "explicit": true,
    "publishedOn": "2024-07-29T15:51:28.071Z"
    }
    ],
    "pagination": {
    "nextCursor": "string",
    "totalResults": 0
    }
    }