<?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: Deleted files metadata in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213845#M10891</link>
    <description>&lt;P&gt;Thanks for following up, and apologies for any confusion. It sounds like you are getting DeletedMetadata returned, and those are expected fields for a DeletedMetadata object. You can find the documentation for it if you click to expand "DeletedMetadata" in the HTTP documentation, e.g., under&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox API v2 doesn't return the modified datetime for deleted entries, but we'll consider it a feature request.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 17:54:26 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-03-29T17:54:26Z</dc:date>
    <item>
      <title>Deleted files metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213170#M10825</link>
      <description>&lt;P&gt;None of the v2 get_meta endpoints return any metadata regarding deleted files even though the documentation says they do is include_deleted = true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does one go about getting the modified time of a file or folder after it's been flagged for deletion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:24:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213170#M10825</guid>
      <dc:creator>jwpegram</dc:creator>
      <dc:date>2019-05-29T09:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Deleted files metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213233#M10833</link>
      <description>&lt;P&gt;Thanks for reaching out. Supplying `include_deleted` to a metadata endpoint should return the correct deleted metadata. However, if you just recently deleted the Dropbox object, there can be a small delay (should never be more than a minute) where the deleted metadata is populated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried waiting for a small period of time before requerying to check for deleted metadata?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 13:47:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213233#M10833</guid>
      <dc:creator>Stephen C.14</dc:creator>
      <dc:date>2017-03-25T13:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deleted files metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213799#M10885</link>
      <description>I've tried all the documented endpoints:&lt;BR /&gt;/list_folder&lt;BR /&gt;/alpha/get_metadata&lt;BR /&gt;/get_metadata&lt;BR /&gt;&lt;BR /&gt;None of them return anything other than &lt;BR /&gt;.tag, name, path_lower and path_display for a deleted file. In order to get the modified date I'm having to make a call to:&lt;BR /&gt;&lt;A href="https://api.dropboxapi.com/1/metadata/auto/{path_lower" target="_blank"&gt;https://api.dropboxapi.com/1/metadata/auto/{path_lower&lt;/A&gt;}&lt;BR /&gt;which does return this information but is an extra call vs just getting it in /lift_folder&lt;BR /&gt;&lt;BR /&gt;This is confirmed by various methods and different tools, the response always looks like:&lt;BR /&gt;        {&lt;BR /&gt;            ".tag": "deleted",&lt;BR /&gt;            "name": "bccdcv1.pptx",&lt;BR /&gt;            "path_lower": "/ventureprise/bccdcv1.pptx",&lt;BR /&gt;            "path_display": "/ventureprise/bccdcv1.pptx"&lt;BR /&gt;        },&lt;BR /&gt;&lt;BR /&gt;It might be acceptable if one of the v2 metadata endpoints returned the deleted metadata but since they don't either the only option to get it is the v1 endpoint which is obviously a temporary thing. However, even if the metadata was returned by the metadata endpoints, that's still an unnecessary call back just to get modified date, so it needs to be corrected in the list_folder and list_folder/continue functions.</description>
      <pubDate>Wed, 29 Mar 2017 13:01:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213799#M10885</guid>
      <dc:creator>jwpegram</dc:creator>
      <dc:date>2017-03-29T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deleted files metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213845#M10891</link>
      <description>&lt;P&gt;Thanks for following up, and apologies for any confusion. It sounds like you are getting DeletedMetadata returned, and those are expected fields for a DeletedMetadata object. You can find the documentation for it if you click to expand "DeletedMetadata" in the HTTP documentation, e.g., under&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox API v2 doesn't return the modified datetime for deleted entries, but we'll consider it a feature request.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 17:54:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213845#M10891</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-29T17:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Deleted files metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213861#M10898</link>
      <description>Ok, that makes sense. So what happens when the V1 API goes away? At the very least if the list_folder or list_folder/continue functions were to include the modified date I could avoid a second call, but even if they didn't we still need to get that information.&lt;BR /&gt;&lt;BR /&gt;To expand further, what we are trying to do is manage the deleted files in employee boxes. For example, employee incorrectly gets stuff uploaded or has a large archive they choose to delete. Ideally we would like to be able to set via the admin panel the time to recover? (120 days on Business Plan). Since we can't change that to say 30 days, I'm looking at the files that have been deleted by a user and checking their modified date to determine if they are older than 30 days and if so permanently deleting them so they are removed from the users views at that point. &lt;BR /&gt;&lt;BR /&gt;If you are taking feature requests, I'd suggest just allowing the recover time to be arbitrarily set by business accounts (30,60,90,120) to keep it sane.</description>
      <pubDate>Wed, 29 Mar 2017 18:21:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213861#M10898</guid>
      <dc:creator>jwpegram</dc:creator>
      <dc:date>2017-03-29T18:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deleted files metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213866#M10901</link>
      <description>&lt;P&gt;Thanks for the feedback! Unfortunately I'm afraid I don't have a good non-API v1 solution to offer. I'm sending these requests along to the team.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 18:48:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/213866#M10901</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-29T18:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deleted files metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/232429#M12672</link>
      <description>&lt;P&gt;Why is the v1 API being deprecated if fundamental access to core data is still impossible with the v2 API?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2017 06:35:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/232429#M12672</guid>
      <dc:creator>jrk</dc:creator>
      <dc:date>2017-07-16T06:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Deleted files metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/232607#M12688</link>
      <description>Thanks for the feedback! I can't speak to why any particular feature was or wasn't implemented, but I've sent this along to the team as a feature request.</description>
      <pubDate>Mon, 17 Jul 2017 15:23:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Deleted-files-metadata/m-p/232607#M12688</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-07-17T15:23:00Z</dc:date>
    </item>
  </channel>
</rss>

