Tracks Public

Get list of tracks in a playlist

get/playlists/{playlistId}/tracks

Request

  • Base URL: https://musicfun.it-incubator.app/api/1.0
  • URL: https://musicfun.it-incubator.app/api/1.0/playlists/{playlistId}/tracks
  • Auth: API key in header api-key

Path parameters

playlistIdstring required

ID of the playlist to retrieve tracks for

Response

OK: List of tracks in the playlist

Example response

{
  "data": [
    {
      "type": "tracks",
      "attributes": {
        "attachments": [
          {
            "url": "https://cdn.example.com/uploads/track123/cover.jpg",
            "contentType": "image/jpeg",
            "originalName": "cover.jpg",
            "fileSize": 34872
          }
        ]
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.