<?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: Listing Shared &amp; Deleted Files v2.1.1 Java API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Listing-Shared-Deleted-Files-v2-1-1-Java-API/m-p/189198#M8086</link>
    <description>&lt;P&gt;Hi Dan, by "soft-deleted", do you mean files that have been deleted but not permanently deleted?&lt;/P&gt;
&lt;P&gt;If so, it sounds like you're looking for&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.1.x/com/dropbox/core/v2/files/ListFolderBuilder.html" target="_blank" rel="nofollow noreferrer"&gt;ListFolderBuilder&lt;/A&gt; using&amp;nbsp;withIncludeDeleted(true), and&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderContinue-java.lang.String-" target="_blank" rel="nofollow noreferrer"&gt;listFolderContinue&lt;/A&gt;&amp;nbsp;(in the files namespace).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using those, you can list out (in a paginated fashion) all of the files and folders in the account, whether or not they're deleted. You can get the basic sharing information for each Metadata in the&amp;nbsp;sharingInfo field. You can then call the relevant sharing methods if you need more information about them.&lt;/P&gt;
&lt;P&gt;Hope this helps! Let me know if I've misunderstood though.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2016 01:18:56 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-09-14T01:18:56Z</dc:date>
    <item>
      <title>Listing Shared &amp; Deleted Files v2.1.1 Java API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Listing-Shared-Deleted-Files-v2-1-1-Java-API/m-p/189197#M8085</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Newer to Dropbox development so my apologies for any noobishness. &amp;nbsp;I haven't seen another solution on stackoverflow or this forum.&lt;/P&gt;
&lt;P&gt;I'm attempting to list out all files and folders that have been soft-deleted, including shared items. &amp;nbsp;My solution successfully lists out non-shared items and I can list out shared items but not items that are both deleted and shared. &amp;nbsp;Is this something I'm doing or an issue with the API?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a source excerpt...&lt;/P&gt;
&lt;P&gt;DbxUserSharingRequests sharing = client.sharing();&lt;BR /&gt; &lt;BR /&gt; ListFoldersResult listSharedFolderResults = sharing.listFolders();&lt;BR /&gt; List&amp;lt;SharedFolderMetadata&amp;gt; sharedFolders = listSharedFolderResults.getEntries();&lt;BR /&gt; for(SharedFolderMetadata sharedFolder : sharedFolders) {&lt;BR /&gt; System.out.println("Found shared folder: " + sharedFolder.toStringMultiline());&lt;BR /&gt; }&lt;BR /&gt; ListSharedLinksResult listSharedFileResults = sharing.listSharedLinksBuilder().withDirectOnly(false).start();&lt;BR /&gt; List&amp;lt;SharedLinkMetadata&amp;gt; sharedFiles = listSharedFileResults.getLinks();&lt;BR /&gt; for(SharedLinkMetadata sharedFile : sharedFiles) {&lt;BR /&gt; System.out.println("Found shared file: " + sharedFile.toStringMultiline());&lt;BR /&gt; }&lt;/P&gt;
&lt;P&gt;Any thoughts on this very welcome!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:30:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Listing-Shared-Deleted-Files-v2-1-1-Java-API/m-p/189197#M8085</guid>
      <dc:creator>Daniel d.19</dc:creator>
      <dc:date>2019-05-29T09:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Listing Shared &amp; Deleted Files v2.1.1 Java API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Listing-Shared-Deleted-Files-v2-1-1-Java-API/m-p/189198#M8086</link>
      <description>&lt;P&gt;Hi Dan, by "soft-deleted", do you mean files that have been deleted but not permanently deleted?&lt;/P&gt;
&lt;P&gt;If so, it sounds like you're looking for&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.1.x/com/dropbox/core/v2/files/ListFolderBuilder.html" target="_blank" rel="nofollow noreferrer"&gt;ListFolderBuilder&lt;/A&gt; using&amp;nbsp;withIncludeDeleted(true), and&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderContinue-java.lang.String-" target="_blank" rel="nofollow noreferrer"&gt;listFolderContinue&lt;/A&gt;&amp;nbsp;(in the files namespace).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using those, you can list out (in a paginated fashion) all of the files and folders in the account, whether or not they're deleted. You can get the basic sharing information for each Metadata in the&amp;nbsp;sharingInfo field. You can then call the relevant sharing methods if you need more information about them.&lt;/P&gt;
&lt;P&gt;Hope this helps! Let me know if I've misunderstood though.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 01:18:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Listing-Shared-Deleted-Files-v2-1-1-Java-API/m-p/189198#M8086</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-09-14T01:18:56Z</dc:date>
    </item>
  </channel>
</rss>

