Announcements

Help Wizard

Step 1

NEXT STEP

Pagination of Playlist Tracks with Fields

Pagination of Playlist Tracks with Fields

When requesting a playlist via GET playlist the value of "next" in the paginated tracks includes the same fields. This link, however, is for the get playlist items endpoint and as such the format for the fields may change. For instance my fields query for the playlist references tracks.items.added_by. The playlist items endpoint would use simply items.added_by (there is no "tracks" wrapper).

 

Specifically it appears that when I include `id,name,images` in my fields for retrieving the playlist and these are included in the "next" URL for pagination I receive no items from playlists/id/tracks.

 

I can manually rebuild these URLs, but I was wondering if this was intended or what others are doing with this behavior?

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random