<?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: V1 getDelta() vs. V2 listFolder() in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/V1-getDelta-vs-V2-listFolder/m-p/158833#M5392</link>
    <description>&lt;P&gt;The equivalent of v1's getDelta on v2 is listFolder with recursive=true and listFolderContinue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that both getDelta and listFolder/Continue are paginated, so for both it's possible that the initial call won't contain all of the results. In either case, for a correct implementation you need to save the cursor from the last&amp;nbsp;call and keep calling back (i.e., to getDelta or listFolderContinue) if the previous reply included hasMore=true. You don't need to keep track of multiple cursors. As long as you originally set recursive=true you'll get all entries back.&lt;/P&gt;
&lt;P&gt;The documentation&amp;nbsp;for /1/delta and /2/files/list_folder and/2/files/list_folder/continue have more information:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers-v1/core/docs#delta" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers-v1/core/docs#delta&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It sounds like you may be using the Java SDK. The Java SDK documentation for listFolder can be found here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-" rel="nofollow noreferrer"&gt;https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2016 02:33:06 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-03-11T02:33:06Z</dc:date>
    <item>
      <title>V1 getDelta() vs. V2 listFolder()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/V1-getDelta-vs-V2-listFolder/m-p/158832#M5391</link>
      <description>&lt;P&gt;The old getDelta() returns everything for an "App Folder", meaning the app folder and all its subfolders.&lt;/P&gt;
&lt;P&gt;It appears that the new listFolder/Continue() isn't really equivalent in that way. It seems to list the files and if you want subfolders&amp;nbsp;you need to make another listFolder call to delve deeper.&amp;nbsp;I can figure out if those paths are absolute or relative, but I'm unclear on how to handle the cursors for the subfolders. Can I just keep track of the app folder one, or do I need to track subfolder cursors as well?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:35:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/V1-getDelta-vs-V2-listFolder/m-p/158832#M5391</guid>
      <dc:creator>Joel T.9</dc:creator>
      <dc:date>2019-05-29T09:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: V1 getDelta() vs. V2 listFolder()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/V1-getDelta-vs-V2-listFolder/m-p/158833#M5392</link>
      <description>&lt;P&gt;The equivalent of v1's getDelta on v2 is listFolder with recursive=true and listFolderContinue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that both getDelta and listFolder/Continue are paginated, so for both it's possible that the initial call won't contain all of the results. In either case, for a correct implementation you need to save the cursor from the last&amp;nbsp;call and keep calling back (i.e., to getDelta or listFolderContinue) if the previous reply included hasMore=true. You don't need to keep track of multiple cursors. As long as you originally set recursive=true you'll get all entries back.&lt;/P&gt;
&lt;P&gt;The documentation&amp;nbsp;for /1/delta and /2/files/list_folder and/2/files/list_folder/continue have more information:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers-v1/core/docs#delta" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers-v1/core/docs#delta&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It sounds like you may be using the Java SDK. The Java SDK documentation for listFolder can be found here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-" rel="nofollow noreferrer"&gt;https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 02:33:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/V1-getDelta-vs-V2-listFolder/m-p/158833#M5392</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-11T02:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: V1 getDelta() vs. V2 listFolder()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/V1-getDelta-vs-V2-listFolder/m-p/158834#M5393</link>
      <description>&lt;P&gt;Correct, I'm using the Java API. The recursive option is sort of "buried" in API, but I'm doing this now:&lt;BR /&gt;&lt;BR /&gt;getClient().files().listFolderBuilder(").withIncludeDeleted(true).withRecursive(true);&lt;BR /&gt;e(true);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 03:00:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/V1-getDelta-vs-V2-listFolder/m-p/158834#M5393</guid>
      <dc:creator>Joel T.9</dc:creator>
      <dc:date>2016-03-11T03:00:08Z</dc:date>
    </item>
  </channel>
</rss>

