<?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: API V2 Modified date for specific revision of a file in Python in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252650#M14573</link>
    <description>&lt;P&gt;In this example, you would call like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dbx.files_download('rev:2bc3d561afc23')&lt;/PRE&gt;
&lt;P&gt;You don't need to specify the file path itself. You just need the "rev:abc123" format. The rev string actually identifies the file without the use of the path.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2017 22:01:54 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-11-14T22:01:54Z</dc:date>
    <item>
      <title>API V2 Modified date for specific revision of a file in Python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252440#M14554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to get the metadata for a specific revision of a file,&amp;nbsp;&lt;/P&gt;&lt;P&gt;with V1 I used to do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;metadata = client.metadata(FileName, list=False, file_limit=1, hash=None, rev=revN, include_deleted=False)
 &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;then I had it in "metadata['modified']".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I can only see how to download a particular revision or&amp;nbsp;get the metadata for the last N (up to 100) revisions of a file. What if I have more than 100 versions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;How I can specify the revision in the path, as the SDK states for "file_download"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;files_download(path, rev=None)&lt;/P&gt;&lt;P&gt;Download a ﬁle from a user’s Dropbox.&lt;/P&gt;&lt;P&gt;Parameters &amp;nbsp;&amp;nbsp; • path (str) – The path of the ﬁle to download.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; • rev (Nullable) – Deprecated. Please specify revision in path instead.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:17:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252440#M14554</guid>
      <dc:creator>dega</dc:creator>
      <dc:date>2019-05-29T09:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: API V2 Modified date for specific revision of a file in Python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252564#M14562</link>
      <description>&lt;P&gt;API v2 only supports listing up to 100 revisions, but I'll pass this along as a feature request for more.&lt;BR /&gt;&lt;BR /&gt;To specify a particular revision in the `path` parameter, you should use a string like "rev:abc123" where abc123 is the rev string for the revision you want.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 16:56:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252564#M14562</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-11-14T16:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: API V2 Modified date for specific revision of a file in Python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252644#M14572</link>
      <description>&lt;P&gt;Hi Greg, yes being able to go back more than 100 revision I believe will be something very nice to have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the files_download, passing the revision inside the path, I tried this (and lots of different combinations):&lt;/P&gt;&lt;PRE&gt;dbx.files_download(FileName + "?rev:u'2bc3d561afc23'")&lt;/PRE&gt;&lt;P&gt;but it gives me an error,&amp;nbsp;however&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;dbx.files_download(FileName)&lt;/PRE&gt;&lt;P&gt;retrieves the latest file (as expected).&lt;/P&gt;&lt;P&gt;Moreover&lt;/P&gt;&lt;PRE&gt; dbx.files_download(FileName,u'2bc3d561afc23')&lt;/PRE&gt;&lt;P&gt;retrieves the version I was looking for, so the revision string is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;I am tring to follow the guide not to implement something that will soon be deprecated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 21:34:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252644#M14572</guid>
      <dc:creator>dega</dc:creator>
      <dc:date>2017-11-14T21:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: API V2 Modified date for specific revision of a file in Python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252650#M14573</link>
      <description>&lt;P&gt;In this example, you would call like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dbx.files_download('rev:2bc3d561afc23')&lt;/PRE&gt;
&lt;P&gt;You don't need to specify the file path itself. You just need the "rev:abc123" format. The rev string actually identifies the file without the use of the path.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 22:01:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252650#M14573</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-11-14T22:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: API V2 Modified date for specific revision of a file in Python</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252656#M14574</link>
      <description>aaaah! this was not so easy to understand from the guide (at least for me).&lt;BR /&gt;Thanks!!!</description>
      <pubDate>Tue, 14 Nov 2017 22:26:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Modified-date-for-specific-revision-of-a-file-in-Python/m-p/252656#M14574</guid>
      <dc:creator>dega</dc:creator>
      <dc:date>2017-11-14T22:26:54Z</dc:date>
    </item>
  </channel>
</rss>

