<?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: File revisions are not moved in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/619008#M2855</link>
    <description>&lt;P&gt;Yes, that's expected. You're using the "id" mode, so it shows the history of the file with the supplied ID across moves, including the revision of the file at each location where it is/was.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 21:01:11 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-08-29T21:01:11Z</dc:date>
    <item>
      <title>File revisions are not moved</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/618507#M2847</link>
      <description>&lt;P&gt;File has several revisions:&lt;BR /&gt;&lt;BR /&gt;$ curl "&lt;A href="https://api.dropboxapi.com/2/files/list_revisions" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/list_revisions&lt;/A&gt;" --header "Authorization: Bearer &amp;lt;&amp;gt;" --header "Content-Type: application/json" --data '{"limit":10,"mode":"path","path":"/Work/versions/Budget.xlsx"}'&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;{"is_deleted": false, "entries": [{"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKg5w", "client_modified": "2020-01-31T21:23:38Z", "server_modified": "2022-08-26T13:04:45Z", "rev": "5e7248ee5dfda003edfac", "size": 114236, "is_downloadable": true, "content_hash": "d63f98efdeba40f1672d80feded27ac5c9851603df3892d2c986c5c69fa79caf"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKg5w", "client_modified": "2022-04-11T14:49:31Z", "server_modified": "2022-08-26T13:03:34Z", "rev": "5e7248aa8065f003edfac", "size": 238648, "is_downloadable": true, "content_hash": "dcf19e77a928f74cd1fc285d5c33415e4aaf7493719034e12914f74a30f0d4fb"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKg5w", "client_modified": "2022-04-11T13:57:47Z", "server_modified": "2022-08-26T13:03:26Z", "rev": "5e7248a2bb0dd003edfac", "size": 15754, "is_downloadable": true, "content_hash": "2b9749bf8cb7747e8086b0fc0811d243060a0c7afa884ff6c550ba2f7fa8b6be"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKgmw", "client_modified": "2022-04-11T14:49:31Z", "server_modified": "2022-08-17T10:51:20Z", "rev": "5e66da526ecb9003edfac", "size": 238648, "is_downloadable": true, "content_hash": "dcf19e77a928f74cd1fc285d5c33415e4aaf7493719034e12914f74a30f0d4fb"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKgmw", "client_modified": "2022-04-11T13:57:47Z", "server_modified": "2022-08-17T10:51:13Z", "rev": "5e66da4bc3bf3003edfac", "size": 15754, "is_downloadable": true, "content_hash": "2b9749bf8cb7747e8086b0fc0811d243060a0c7afa884ff6c550ba2f7fa8b6be"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKRrw", "client_modified": "2018-06-27T11:01:50Z", "server_modified": "2022-06-29T21:34:05Z", "rev": "5e29ce99fc7aa003edfac", "size": 22885, "is_downloadable": true, "content_hash": "c7853a226648a218f3b80227c746f13c57d2bb789771f02b8d8f881f3965d83c"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKRrw", "client_modified": "2022-04-11T13:57:47Z", "server_modified": "2022-06-29T21:08:17Z", "rev": "5e29c8d595ec9003edfac", "size": 15754, "is_downloadable": true, "content_hash": "2b9749bf8cb7747e8086b0fc0811d243060a0c7afa884ff6c550ba2f7fa8b6be"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKRrg", "client_modified": "2022-04-11T13:57:47Z", "server_modified": "2022-06-29T21:01:25Z", "rev": "5e29c74cbb736003edfac", "size": 15754, "is_downloadable": true, "content_hash": "2b9749bf8cb7747e8086b0fc0811d243060a0c7afa884ff6c550ba2f7fa8b6be"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKRrQ", "client_modified": "2022-04-11T14:50:02Z", "server_modified": "2022-06-29T21:00:45Z", "rev": "5e29c725c9f01003edfac", "size": 119673, "is_downloadable": true, "content_hash": "d555aeb8c6a4cd830f80947daed0b9aa39808d1f22498ca083884395586204d0"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/budget.xlsx", "path_display": "/Work/versions/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKRrA", "client_modified": "2022-04-11T14:49:31Z", "server_modified": "2022-06-29T20:59:47Z", "rev": "5e29c6ef4d1e2003edfac", "size": 238648, "is_downloadable": true, "content_hash": "dcf19e77a928f74cd1fc285d5c33415e4aaf7493719034e12914f74a30f0d4fb"}]}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moving a file with move api&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-move" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-move&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;No errors:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ curl "&lt;A href="https://api.dropboxapi.com/2/files/move_v2" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/move_v2&lt;/A&gt;" --header "Authorization: Bearer &amp;lt;&amp;gt;" --header "Content-Type: application/json" --data '{"allow_ownership_transfer":false,"allow_shared_folder":false,"autorename":false,"from_path":"/Work/versions/Budget.xlsx","to_path":"/Work/versions/copy/Budget.xlsx"}'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The revisions don't show in the moved file:&lt;/P&gt;
&lt;P&gt;$&amp;nbsp;curl "&lt;A href="https://api.dropboxapi.com/2/files/list_revisions" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/list_revisions&lt;/A&gt;" --header "Authorization: Bearer &amp;lt;&amp;gt;" --header "Content-Type: application/json" --data '{"limit":10,"mode":"path","path":"/Work/versions/copy/Budget.xlsx"}'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{"is_deleted": false, "entries": [{"name": "Budget.xlsx", "path_lower": "/work/versions/copy/budget.xlsx", "path_display": "/Work/versions/copy/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKg5w", "client_modified": "2020-01-31T21:23:38Z", "server_modified": "2022-08-26T14:06:26Z", "rev": "5e7256b7b5fa2003edfac", "size": 114236, "is_downloadable": true, "content_hash": "d63f98efdeba40f1672d80feded27ac5c9851603df3892d2c986c5c69fa79caf"}, {"name": "Budget.xlsx", "path_lower": "/work/versions/copy/budget.xlsx", "path_display": "/Work/versions/copy/Budget.xlsx", "id": "id:teAlu1WEq40AAAAAAAKgmw", "client_modified": "2022-04-11T14:49:31Z", "server_modified": "2022-08-26T13:01:46Z", "rev": "5e7248434462b003edfac", "size": 238648, "is_downloadable": true, "content_hash": "dcf19e77a928f74cd1fc285d5c33415e4aaf7493719034e12914f74a30f0d4fb"}]}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 10:27:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/618507#M2847</guid>
      <dc:creator>josuegomes</dc:creator>
      <dc:date>2022-09-06T10:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: File revisions are not moved</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/618537#M2848</link>
      <description>&lt;P&gt;The file revision history doesn't follow a file when it is moved to another path. You can get the file revision history for a file across moves though by setting "mode" to "id" instead of "path" though. Refer to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_revisions" target="_blank"&gt;the /2/files/list_revisions documentation&lt;/A&gt; for more information.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 15:53:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/618537#M2848</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-08-26T15:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: File revisions are not moved</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/619005#M2854</link>
      <description>&lt;P&gt;Using the file id the behavior is even more bizarre. A revision is added after each move. Is this expected?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ curl "&lt;A href="https://api.dropboxapi.com/2/files/list_revisions" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_revisions&lt;/A&gt;" --header "Authorization: Bearer " --header "Content-Type: application/json" --data '{"limit":10,"mode":"id","path":"id:teAlu1WEq40AAAAAAAKg9Q"}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"is_deleted": false, "entries": [{"name": "ada.jpg", "path_lower": "/work/ver/ada.jpg", "path_display": "/Work/ver/ada.jpg", "id": "id:teAlu1WEq40AAAAAAAKg9Q", "client_modified": "2019-07-30T21:11:19Z", "server_modified": "2022-08-29T20:40:07Z", "rev": "5e76744f356ba003edfac", "size": 99003, "is_downloadable": true, "content_hash": "a1feb184b8b5723de4f3d16e8530c71759c4a569bc368b0ee88a3acdde9310df"}]}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ curl "&lt;A href="https://api.dropboxapi.com/2/files/move_v2" target="_blank"&gt;https://api.dropboxapi.com/2/files/move_v2&lt;/A&gt;" --header "Authorization: Bearer " --header "Content-Type: application/json" --data '{"allow_ownership_transfer":false,"allow_shared_folder":false,"autorename":false,"from_path":"id:teAlu1WEq40AAAAAAAKg9Q","to_path":"/Work/ver/copy/ada.jpg"}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"metadata": {".tag": "file", "name": "ada.jpg", "path_lower": "/work/ver/copy/ada.jpg", "path_display": "/Work/ver/copy/ada.jpg", "id": "id:teAlu1WEq40AAAAAAAKg9Q", "client_modified": "2019-07-30T21:11:19Z", "server_modified": "2022-08-29T20:41:50Z", "rev": "5e7674b15c34c003edfac", "size": 99003, "is_downloadable": true, "content_hash": "a1feb184b8b5723de4f3d16e8530c71759c4a569bc368b0ee88a3acdde9310df"}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ curl "&lt;A href="https://api.dropboxapi.com/2/files/list_revisions" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_revisions&lt;/A&gt;" --header "Authorization: Bearer " --header "Content-Type: application/json" --data '{"limit":10,"mode":"id","path":"id:teAlu1WEq40AAAAAAAKg9Q"}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"is_deleted": false, "entries": [{"name": "ada.jpg", "path_lower": "/work/ver/copy/ada.jpg", "path_display": "/Work/ver/copy/ada.jpg", "id": "id:teAlu1WEq40AAAAAAAKg9Q", "client_modified": "2019-07-30T21:11:19Z", "server_modified": "2022-08-29T20:41:50Z", "rev": "5e7674b15c34c003edfac", "size": 99003, "is_downloadable": true, "content_hash": "a1feb184b8b5723de4f3d16e8530c71759c4a569bc368b0ee88a3acdde9310df"}, {"name": "ada.jpg", "path_lower": "/work/ver/ada.jpg", "path_display": "/Work/ver/ada.jpg", "id": "id:teAlu1WEq40AAAAAAAKg9Q", "client_modified": "2019-07-30T21:11:19Z", "server_modified": "2022-08-29T20:40:07Z", "rev": "5e76744f356ba003edfac", "size": 99003, "is_downloadable": true, "content_hash": "a1feb184b8b5723de4f3d16e8530c71759c4a569bc368b0ee88a3acdde9310df"}]}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 20:45:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/619005#M2854</guid>
      <dc:creator>josuegomes</dc:creator>
      <dc:date>2022-08-29T20:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: File revisions are not moved</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/619008#M2855</link>
      <description>&lt;P&gt;Yes, that's expected. You're using the "id" mode, so it shows the history of the file with the supplied ID across moves, including the revision of the file at each location where it is/was.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 21:01:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-revisions-are-not-moved/m-p/619008#M2855</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-08-29T21:01:11Z</dc:date>
    </item>
  </channel>
</rss>

