<?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 How to get id of a deleted folder? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764474#M33439</link>
    <description>&lt;P&gt;While building an integration with Dropbox I am running into typical situation of deleting folders at my app's end when a subject folder is deleted by the user on Dropbox. Via webhooks I am getting Metadata object actually DeleteMetadata object which does have path but no id, at my end we don't keep track of paths as such we were expecting the id within DeleteMetadata so as we can take action accordingly at our end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any recommendations?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 21:00:00 GMT</pubDate>
    <dc:creator>user44</dc:creator>
    <dc:date>2024-04-16T21:00:00Z</dc:date>
    <item>
      <title>How to get id of a deleted folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764474#M33439</link>
      <description>&lt;P&gt;While building an integration with Dropbox I am running into typical situation of deleting folders at my app's end when a subject folder is deleted by the user on Dropbox. Via webhooks I am getting Metadata object actually DeleteMetadata object which does have path but no id, at my end we don't keep track of paths as such we were expecting the id within DeleteMetadata so as we can take action accordingly at our end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any recommendations?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 21:00:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764474#M33439</guid>
      <dc:creator>user44</dc:creator>
      <dc:date>2024-04-16T21:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get id of a deleted folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764684#M33450</link>
      <description>&lt;P&gt;Unfortunately, the Dropbox API doesn't return the file/folder ID for the DeletedMetadata, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. &lt;BR /&gt;&lt;BR /&gt;To retrieve the history of a deleted file, you can call the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_revisions" target="_blank"&gt;/2/files/list_revisions&lt;/A&gt; endpoint with the path from the DeletedMetadata. This will provide the file ID(s). Alternatively, you can store the path and ID for each last (File|Folder)Metadata you retrieved so that when you get a DeletedMetadata, you can check what the last known file ID was for that path.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 17:47:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764684#M33450</guid>
      <dc:creator>iNeil</dc:creator>
      <dc:date>2024-04-17T17:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get id of a deleted folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764739#M33453</link>
      <description>&lt;P&gt;Thanks for replying, the call&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_revisions" target="_blank" rel="noopener noreferrer"&gt;/2/files/list_revisions&lt;/A&gt;&amp;nbsp;is only for files I guess, and not for the folders.&lt;BR /&gt;&lt;BR /&gt;I am using Dropbox's Java SDK and I am getting this erxception thrown while reaching it with a path to a folder instead of file : com.dropbox.core.v2.files.ListRevisionsErrorException: Exception in 2/files/list_revisions: {".tag":"path","path":"not_file"}&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So, looks like the bottom line is, there is no way to get deleted folder's id, and we have to align the webhook notification with our system with path only.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 21:52:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764739#M33453</guid>
      <dc:creator>user44</dc:creator>
      <dc:date>2024-04-17T21:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get id of a deleted folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764877#M33456</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1525276"&gt;@user44&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;You are correct that the&amp;nbsp;&lt;/SPAN&gt;&lt;A class="c-link" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_revisions" target="_blank" rel="noopener noreferrer" data-stringify-link="https://www.dropbox.com/developers/documentation/http/documentation#files-list_revisions" data-sk="tooltip_parent"&gt;/2/files/list_revisions&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;endpoint will only work for files.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There isn’t a way to retrieve the deleted folder's id with the Dropbox API. If you have the previous FolderMetadata, you can align it based on the path from the DeletedMetadata.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 13:39:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764877#M33456</guid>
      <dc:creator>iNeil</dc:creator>
      <dc:date>2024-04-18T13:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get id of a deleted folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764891#M33457</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:03:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-id-of-a-deleted-folder/m-p/764891#M33457</guid>
      <dc:creator>user44</dc:creator>
      <dc:date>2024-04-18T15:03:28Z</dc:date>
    </item>
  </channel>
</rss>

