<?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: Pagination in dropbox in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514808#M25251</link>
    <description>&lt;P&gt;Can you clarify what you mean when you say "dropbox is providing all the images at once"? For instance, what method(s) are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, to list the contents of a folder, you would use the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt; endpoints, which are paginated by design. You can also set an approximate maximum number of entries to return per page by setting the 'limit' parameter when calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;. Check out the linked documentation for more information on that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, when using endpoints to retrieve the actual data of specific files, such as &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;/2/files/download&lt;/A&gt; or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_thumbnail" target="_self"&gt;/2/files/get_thumbnail_v2&lt;/A&gt;, the app controls how many calls to make and when, so that's under your control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of &lt;A href="https://www.dropbox.com/developers/documentation" target="_self"&gt;the official SDKs&lt;/A&gt; if possible. Those have corresponding native methods for the HTTPS endpoints. If you are using one of those, refer to the relevant SDK documentation for the corresponding documentation for the above HTTPS endpoints.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 15:12:42 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-04-20T15:12:42Z</dc:date>
    <item>
      <title>Pagination in dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514661#M25248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In dropbox, under an "image" folder we have 100 images and those images we are retrieving from the dropbox and showing in the app using dropbox API. The concern here is that it is taking a lot of time to display those images in the app because dropbox is providing all the images at once and I am unable to find any pagination concept with the dropbox API.&lt;/P&gt;
&lt;P&gt;Is there any solution to load the images in a group of 5&amp;nbsp; i.e we will get the first 5 images then the next 5 images and so on...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards&lt;/P&gt;
&lt;P&gt;Ashish&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 09:17:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514661#M25248</guid>
      <dc:creator>Ashish_Bijlwan</dc:creator>
      <dc:date>2021-04-20T09:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pagination in dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514808#M25251</link>
      <description>&lt;P&gt;Can you clarify what you mean when you say "dropbox is providing all the images at once"? For instance, what method(s) are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, to list the contents of a folder, you would use the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt; endpoints, which are paginated by design. You can also set an approximate maximum number of entries to return per page by setting the 'limit' parameter when calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;. Check out the linked documentation for more information on that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, when using endpoints to retrieve the actual data of specific files, such as &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;/2/files/download&lt;/A&gt; or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_thumbnail" target="_self"&gt;/2/files/get_thumbnail_v2&lt;/A&gt;, the app controls how many calls to make and when, so that's under your control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of &lt;A href="https://www.dropbox.com/developers/documentation" target="_self"&gt;the official SDKs&lt;/A&gt; if possible. Those have corresponding native methods for the HTTPS endpoints. If you are using one of those, refer to the relevant SDK documentation for the corresponding documentation for the above HTTPS endpoints.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 15:12:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514808#M25251</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-04-20T15:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pagination in dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514813#M25253</link>
      <description>&lt;P&gt;Thanks for your replay&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;.......&lt;/P&gt;&lt;P&gt;I am using the dropbox Java SDK&amp;nbsp; and in that, I am using&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;listFolder(String Path)&lt;/STRONG&gt; &lt;/EM&gt;method to get the list of images(files). Can we get the files as a paginated way means first 5 files then next 5 and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 15:29:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514813#M25253</guid>
      <dc:creator>Ashish_Bijlwan</dc:creator>
      <dc:date>2021-04-20T15:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pagination in dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514816#M25254</link>
      <description>&lt;P&gt;Yes, in &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;the Dropbox API v2 Java SDK&lt;/A&gt;, the corresponding methods are &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-" target="_self"&gt;listFolder&lt;/A&gt;, &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderBuilder-java.lang.String-" target="_self"&gt;listFolderBuilder&lt;/A&gt;, and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderContinue-java.lang.String-" target="_self"&gt;listFolderContinue&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderBuilder-java.lang.String-" target="_self"&gt;listFolderBuilder&lt;/A&gt; to get a &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/v2/files/ListFolderBuilder.html" target="_self"&gt;ListFolderBuilder&lt;/A&gt; so you can use &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/v2/files/ListFolderBuilder.html#withLimit-java.lang.Long-" target="_self"&gt;ListFolderBuilder.withLimit&lt;/A&gt; to set the desired approximate page size limit, and then page through using &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/v2/files/ListFolderBuilder.html#start--" target="_self"&gt;ListFolderBuilder.start&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderContinue-java.lang.String-" target="_self"&gt;listFolderContinue&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 15:44:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/514816#M25254</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-04-20T15:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pagination in dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/551814#M26237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Whenever i am using the ListFolderBuilder.start and listFolderContinue methods from javasdk to get the content as a pagination then I am not getting the content as sequentially.&lt;BR /&gt;&lt;STRONG&gt;Ex :&lt;/STRONG&gt;&amp;nbsp;In Dropbox , Inside the "&lt;STRONG&gt;Image&lt;/STRONG&gt;" folder, I have uploaded 10 images. Whenever I am retrieving those image from Dropbox using ListFolderBuilder.start and listFolderContinue methods with the limit of 4 then sometimes Initially I am getting the &lt;STRONG&gt;image5,image6,image7,image8&lt;/STRONG&gt; then &lt;STRONG&gt;image1,image2,image3,image4&lt;/STRONG&gt; then &lt;STRONG&gt;image9,image10.&lt;/STRONG&gt; Its not in the sequence like its there in the Dropbox.&lt;/P&gt;&lt;P&gt;The sequence/order of the uploaded images are in the Dropbox :&lt;BR /&gt;image1.png&lt;BR /&gt;image2.png&lt;BR /&gt;image3.png&lt;BR /&gt;..........&lt;BR /&gt;..........&lt;BR /&gt;image10.png&lt;/P&gt;&lt;P&gt;is there anything I am missing in my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 16:48:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/551814#M26237</guid>
      <dc:creator>Ashish_Bijlwan</dc:creator>
      <dc:date>2021-10-20T16:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pagination in dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/551827#M26238</link>
      <description>&lt;P&gt;The listFolder functionality does not guarantee a particular ordering or offer options for controlling the order of the returned entries. You should retrieve all of the entries and then apply whatever sorting you want client-side.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 16:56:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Pagination-in-dropbox/m-p/551827#M26238</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-20T16:56:47Z</dc:date>
    </item>
  </channel>
</rss>

