<?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 Python, get the latest revision of deleted file to restore them in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-get-the-latest-revision-of-deleted-file-to-restore-them/m-p/256005#M14826</link>
    <description>&lt;P&gt;Hi I have a list of 5400 files that have been deleted, I need that files to be restored.&lt;/P&gt;
&lt;P&gt;The file list is in csv format and carries the file path but not the revision to restore them.&lt;/P&gt;
&lt;P&gt;I need to get the latest revision of all the 5400 files in order to restore them with another script (which I've written using the dropbox python api).&lt;/P&gt;
&lt;P&gt;Anyone is able to share a python snippet showing how to return the latest revision of a deleted file using the file name and path?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:16:46 GMT</pubDate>
    <dc:creator>zanotti</dc:creator>
    <dc:date>2019-05-29T09:16:46Z</dc:date>
    <item>
      <title>Python, get the latest revision of deleted file to restore them</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-get-the-latest-revision-of-deleted-file-to-restore-them/m-p/256005#M14826</link>
      <description>&lt;P&gt;Hi I have a list of 5400 files that have been deleted, I need that files to be restored.&lt;/P&gt;
&lt;P&gt;The file list is in csv format and carries the file path but not the revision to restore them.&lt;/P&gt;
&lt;P&gt;I need to get the latest revision of all the 5400 files in order to restore them with another script (which I've written using the dropbox python api).&lt;/P&gt;
&lt;P&gt;Anyone is able to share a python snippet showing how to return the latest revision of a deleted file using the file name and path?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:16:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-get-the-latest-revision-of-deleted-file-to-restore-them/m-p/256005#M14826</guid>
      <dc:creator>zanotti</dc:creator>
      <dc:date>2019-05-29T09:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Python, get the latest revision of deleted file to restore them</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-get-the-latest-revision-of-deleted-file-to-restore-them/m-p/256189#M14837</link>
      <description>&lt;P&gt;In the Python SDK, you can use &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_list_revisions" target="_self"&gt;files_list_revisions&lt;/A&gt;&amp;nbsp;to get the revisions for the file. There's an example of calling that&amp;nbsp;&lt;A href="https://github.com/dropbox/dropbox-sdk-python/blob/6100257bdbebb67826a29f0ad0526aecb94a4ab6/example/back-up-and-restore/backup-and-restore-example.py#L61" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2017 15:16:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-get-the-latest-revision-of-deleted-file-to-restore-them/m-p/256189#M14837</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-12-11T15:16:31Z</dc:date>
    </item>
  </channel>
</rss>

