Playlist List (unknown platform - 400)

Fallback route for unsupported platform values. Returns a 400 with an error message. Documented for completeness — the 200 shape is only defined on the six platform-specific /api/playlist/{platform}/lists routes.

Path Parameters
  • platform
    Type: string
    required

    Streaming platform. Falls through here only when not one of amazon, itunes, deezer, spotify, youtube, soundcloud; the handler returns a 400.

Responses
  • application/json
Request Example for get/api/playlist/{platform}/lists
curl 'https://api.chartmetric.com/api/playlist/{platform}/lists' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "error": "'platform' must be one of [amazon, itunes, deezer, spotify, youtube, soundcloud]"
}