<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Playlist API Tracks endpoint does not using a Paging object for more than 100 results in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990806#M662</link>
    <description>&lt;P&gt;You've explitly asked to only return certain fields and you've not included the paging fields.&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jul 2020 20:01:23 GMT</pubDate>
    <dc:creator>kingosticks4</dc:creator>
    <dc:date>2020-07-05T20:01:23Z</dc:date>
    <item>
      <title>Playlist API Tracks endpoint does not using a Paging object for more than 100 results</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4985979#M609</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium Family&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Switzerland&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PC, iPhone&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 10 2004, iOS 13.5.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;According to&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-playlists-tracks" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-playlists-tracks&lt;/A&gt;, the /tracks endpoint of the Playlists API returns a limit of 100 items, wrapped in a Paging object.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;&lt;SPAN&gt;On success, the response body contains an array of&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference/object-model/#track-object-simplified" target="_blank" rel="noopener"&gt;track objects&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference/object-model/#episode-object-simplified" target="_blank" rel="noopener"&gt;episode objects&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;(depends on the&amp;nbsp;&lt;/SPAN&gt;additional_types&lt;SPAN&gt;&amp;nbsp;parameter), wrapped in a&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference/object-model/#paging-object" target="_blank" rel="noopener"&gt;paging object&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;in JSON format and the HTTP status code in the response header is&amp;nbsp;&lt;/SPAN&gt;200&lt;SPAN&gt;&amp;nbsp;OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, if you try it out in the Web Console, you will see that the response body does not use a Paging object, even if there are more than 100 items on the playlist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/console/get-playlist-tracks/" target="_blank" rel="noopener"&gt;https://developer.spotify.com/console/get-playlist-tracks/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead, a simple JSON object is returned that contains an &lt;STRONG&gt;Items&lt;/STRONG&gt; array of the first 100 tracks on the playlist (or whatever limit is specified).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the&amp;nbsp;&lt;STRONG&gt;offset&lt;/STRONG&gt; parameter to get the next tracks, but you need to build the URI yourself and keep requesting more until you get an empty array back.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2020 13:51:51 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4985979#M609</guid>
      <dc:creator>DaveCodesTunes</dc:creator>
      <dc:date>2020-06-28T13:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Playlist API Tracks endpoint does not using a Paging object for more than 100 results</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990719#M658</link>
      <description>&lt;P&gt;I can't reproduce this, I receive the expected paging object. I've verified this in my code (my code uses the paging object and still works as it always has) and also in the developer console at the link you provided.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2020 17:28:14 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990719#M658</guid>
      <dc:creator>kingosticks4</dc:creator>
      <dc:date>2020-07-05T17:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Playlist API Tracks endpoint does not using a Paging object for more than 100 results</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990749#M661</link>
      <description>&lt;P&gt;Hello there! Thanks for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just re-tried it in the web console, I am still seeing the tracks returned in a flat array, no paging object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screenshot from the web console:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaveCodesTunes_4-1593973190351.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/118244i047549A7D10CD62E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaveCodesTunes_4-1593973190351.png" alt="DaveCodesTunes_4-1593973190351.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screenshot from the docs:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaveCodesTunes_1-1593973049579.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/118241iD2C659860CCC0204/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaveCodesTunes_1-1593973049579.png" alt="DaveCodesTunes_1-1593973049579.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2020 18:20:31 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990749#M661</guid>
      <dc:creator>DaveCodesTunes</dc:creator>
      <dc:date>2020-07-05T18:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Playlist API Tracks endpoint does not using a Paging object for more than 100 results</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990806#M662</link>
      <description>&lt;P&gt;You've explitly asked to only return certain fields and you've not included the paging fields.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2020 20:01:23 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990806#M662</guid>
      <dc:creator>kingosticks4</dc:creator>
      <dc:date>2020-07-05T20:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Playlist API Tracks endpoint does not using a Paging object for more than 100 results</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990825#M665</link>
      <description>&lt;P&gt;Ahhh, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I need to tell it that I want the paging fields, otherwise I will not get them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the insight!&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2020 20:29:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Playlist-API-Tracks-endpoint-does-not-using-a-Paging-object-for/m-p/4990825#M665</guid>
      <dc:creator>DaveCodesTunes</dc:creator>
      <dc:date>2020-07-05T20:29:49Z</dc:date>
    </item>
  </channel>
</rss>

