<?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 using api to access file/folders in Backups in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/638365#M29411</link>
    <description>&lt;P&gt;Using python dropbox.Dropbox (dbx instance), and after connecting using oauth2 generated token;&lt;/P&gt;
&lt;P&gt;am unable to access, so far, the Backups tree. Using the relative-path from "rootdir", cant seem&lt;/P&gt;
&lt;P&gt;to get to the Backups area (as part of the backups feature).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Python&lt;/P&gt;
&lt;P&gt;dbx = dropbox.Dropbox(DROPBOX_ACCESS_TOKEN)&lt;BR /&gt;files = dbx.files_list_folder(path, recursive=True, include_media_info=True)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;where when path is "/xxxx" and "xxxx" is a folder under "home", then the above works fine.&lt;BR /&gt;&lt;BR /&gt;But, the Backups area (you know, the pc backup-with-sync feature) is an area I&amp;nbsp; cant get to, so far.&lt;BR /&gt;Have tried path: "/backups/xxxx"&amp;nbsp;&amp;nbsp; ("xxxx is known top of backup tree)&amp;nbsp; and variations.&lt;BR /&gt;&lt;BR /&gt;So... via the Dropbox api, is it possible to access(read) the "Backups" tree(s).&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 19:00:47 GMT</pubDate>
    <dc:creator>qpy</dc:creator>
    <dc:date>2022-11-22T19:00:47Z</dc:date>
    <item>
      <title>using api to access file/folders in Backups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/638365#M29411</link>
      <description>&lt;P&gt;Using python dropbox.Dropbox (dbx instance), and after connecting using oauth2 generated token;&lt;/P&gt;
&lt;P&gt;am unable to access, so far, the Backups tree. Using the relative-path from "rootdir", cant seem&lt;/P&gt;
&lt;P&gt;to get to the Backups area (as part of the backups feature).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Python&lt;/P&gt;
&lt;P&gt;dbx = dropbox.Dropbox(DROPBOX_ACCESS_TOKEN)&lt;BR /&gt;files = dbx.files_list_folder(path, recursive=True, include_media_info=True)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;where when path is "/xxxx" and "xxxx" is a folder under "home", then the above works fine.&lt;BR /&gt;&lt;BR /&gt;But, the Backups area (you know, the pc backup-with-sync feature) is an area I&amp;nbsp; cant get to, so far.&lt;BR /&gt;Have tried path: "/backups/xxxx"&amp;nbsp;&amp;nbsp; ("xxxx is known top of backup tree)&amp;nbsp; and variations.&lt;BR /&gt;&lt;BR /&gt;So... via the Dropbox api, is it possible to access(read) the "Backups" tree(s).&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 19:00:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/638365#M29411</guid>
      <dc:creator>qpy</dc:creator>
      <dc:date>2022-11-22T19:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: using api to access file/folders in Backups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/639029#M29448</link>
      <description>&lt;P&gt;To access content in your Dropbox, such as your backup data, you'll need to specify the path relative to the root. Do not add additional components not seen when browsing your Dropbox, such as "backups". The folder for backed up data is the name of the backup. For instance, if I have a backup named "Mac", containing a backed up "Desktop" folder, I would list that Desktop backup with the path "/Mac/Desktop".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also start with a path of the empty string "" to list the root itself.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 16:03:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/639029#M29448</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-11-24T16:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: using api to access file/folders in Backups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/639216#M29462</link>
      <description>Depending on the backup type, it might because the backup is under its own namespace instead of root namespace. What you can do is to list all the namespace and concatenation the ns with the path.</description>
      <pubDate>Fri, 25 Nov 2022 12:49:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/639216#M29462</guid>
      <dc:creator>hello_box11</dc:creator>
      <dc:date>2022-11-25T12:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: using api to access file/folders in Backups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/639373#M29474</link>
      <description>yes.. ns based path sounds right; the “root” relative path has been dead end.&lt;BR /&gt;&lt;BR /&gt;Example for ns based arg?&lt;BR /&gt;And. how to discover what ns should be?</description>
      <pubDate>Sat, 26 Nov 2022 21:27:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/639373#M29474</guid>
      <dc:creator>qpy</dc:creator>
      <dc:date>2022-11-26T21:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: using api to access file/folders in Backups</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/639495#M29478</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1593583"&gt;@qpy&lt;/a&gt; Can you clarify what you mean when you say 'the “root” relative path has been dead end'? I tried it and it did work for me, e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl -X POST https://api.dropboxapi.com/2/files/list_folder \
  --header 'Authorization: Bearer ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{"path":"/Mac","recursive":true}'

# {
#   "entries": [
#     {
#       ".tag": "folder",
#       "name": "Mac",
#       "path_lower": "/mac",
#       "path_display": "/Mac",
#       "id": "id:Hcd4PILNenwAAAAAAAAB4w"
#     },
#     {
#       ".tag": "folder",
#       "name": "Desktop",
#       "path_lower": "/mac/desktop",
#       "path_display": "/Mac/Desktop",
#       "id": "id:Hcd4PILNenwAAAAAAAAB5A"
#     },
#     {
#       ".tag": "folder",
#       "name": "test",
#       "path_lower": "/mac/desktop/test",
#       "path_display": "/Mac/Desktop/test",
#       "id": "id:Hcd4PILNenwAAAAAAAAB9g"
#     },
#     {
#       ".tag": "file",
#       "name": ".localized",
#       "path_lower": "/mac/desktop/.localized",
#       "path_display": "/Mac/Desktop/.localized",
#       "id": "id:Hcd4PILNenwAAAAAAAAB5w",
#       "client_modified": "2022-11-24T15:50:01Z",
#       "server_modified": "2022-11-24T15:52:31Z",
#       "rev": "5ee39649961e204f84cfe",
#       "size": 0,
#       "is_downloadable": true,
#       "content_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
#     },
#     {
#       ".tag": "file",
#       "name": "test.txt",
#       "path_lower": "/mac/desktop/test/test.txt",
#       "path_display": "/Mac/Desktop/test/test.txt",
#       "id": "id:Hcd4PILNenwAAAAAAAAB9w",
#       "client_modified": "2022-11-24T15:44:23Z",
#       "server_modified": "2022-11-24T15:52:37Z",
#       "rev": "5ee3964eb20b004f84cfe",
#       "size": 9,
#       "is_downloadable": true,
#       "content_hash": "019fb066085bea5236e22c837c748607c95a050d8c36410da1e7a5ca24f67e16"
#     }
#   ],
#   "cursor": "AAGqg1NuBn6s4_wJjkxck2fGauGff7CMO_LBmSXDSVip2MiTblfHGHKO0VJJMhuKSO5J4zRgLQMAbOnl6d1SNukeivUqpxn06urom3LHaHnxlx93nAtMgHs2X76g_KZpfWyr74hYGT7j6JqIuxDWbbuFDLAPvqsWI06YA2F-oUR-EuhoaPI4jcEUa5lgmmmrc1CTNJviMx6iHG2tLe2o_rrf",
#   "has_more": false
# }


curl -X POST https://content.dropboxapi.com/2/files/download \
  --header 'Authorization: Bearer ACCESS_TOKEN' \
  --header 'Dropbox-API-Arg: {"path":"/mac/desktop/test/test.txt"}'

# something&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 19:21:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-api-to-access-file-folders-in-Backups/m-p/639495#M29478</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-11-27T19:21:23Z</dc:date>
    </item>
  </channel>
</rss>

