<?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: Download data for all users on team in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279429#M16765</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/697713"&gt;@time4116&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's no direct way currently to exclude them via the initial call to /files/list_folder, but&amp;nbsp;if you use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list" target="_self"&gt;/team/namespaces/list&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list-continue" target="_blank"&gt;/continue&lt;/A&gt;], you can filter the NamespaceMetadata&amp;nbsp;that comes back on its "namespace_type" attribute. You could alternatively call &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-list" target="_blank"&gt;/team/team_folder/list&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-list-continue" target="_blank"&gt;/continue&lt;/A&gt;] and just use that list as a guide to filter entries from /files/list_folder[/continue]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Chuck&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2018 19:55:44 GMT</pubDate>
    <dc:creator>chirstius</dc:creator>
    <dc:date>2018-06-07T19:55:44Z</dc:date>
    <item>
      <title>Download data for all users on team</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279292#M16743</link>
      <description>&lt;P&gt;What is the best way to download the contents of all user folders? I've created a DropBox API application but this seems to only allow access to my content, I've also created a DropBox Buisness API (Team member file access) app to see if we can leverage that to download all of our users content. However, I can't seem to find a direct way to do it via the HTTP documentation. We are mainly looking for content that is not a part of a team or shared so we can download to a local box for analyzation. Ideally, any soultion that does not require user intervention. Any tips or pointers would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 May 2019 09:12:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279292#M16743</guid>
      <dc:creator>time4116</dc:creator>
      <dc:date>2019-05-29T09:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Download data for all users on team</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279385#M16755</link>
      <description>&lt;P&gt;To download all non-team and non-shared file content from all members of a team without individual user action, you'll need a&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams" target="_blank"&gt;Dropbox Business API app&lt;/A&gt; with &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#access-types" target="_self"&gt;the "team member file access" permission&lt;/A&gt;. This will let you use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_blank"&gt;the "Member file access" feature&lt;/A&gt; to access each member's account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The basic outline of the code would go like this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Call&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-members-list" target="_blank"&gt;/2/team/members/list&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-members-list-continue" target="_self"&gt;/continue&lt;/A&gt;] to get all of the members.&lt;/LI&gt;
&lt;LI&gt;For each desired member, use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_blank"&gt;the "Member file access" feature&lt;/A&gt;&amp;nbsp;to call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;/continue&lt;/A&gt;] with path="" and recursive=true to get the full file/folder listing for the member. (Note that this will include anything mounted inside the member's&amp;nbsp;Dropbox, e.g., shared folders or mounted team folders, so you'd have to filter those out, and you may get duplicates across members, e.g., from shared folders.)&lt;/LI&gt;
&lt;LI&gt;For every desired file for each member, use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_blank"&gt;the "Member file access" feature&lt;/A&gt;&amp;nbsp;to call /2/files/download to download the file.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Alternatively, you can use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list" target="_blank"&gt;/2/team/namespaces/list&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list-continue" target="_blank"&gt;/continue&lt;/A&gt;] instead of listing each member and then listing everything for each member.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 15:39:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279385#M16755</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-06-07T15:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Download data for all users on team</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279427#M16763</link>
      <description>&lt;P&gt;Thanks Greg! This is perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the /files/download method ignores team folders as far as the ability to download or recurse.? If so, I may not need to worry about excluding folders, but Is there a way to do it via /files/list_folder?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 19:39:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279427#M16763</guid>
      <dc:creator>time4116</dc:creator>
      <dc:date>2018-06-07T19:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Download data for all users on team</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279429#M16765</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/697713"&gt;@time4116&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's no direct way currently to exclude them via the initial call to /files/list_folder, but&amp;nbsp;if you use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list" target="_self"&gt;/team/namespaces/list&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-namespaces-list-continue" target="_blank"&gt;/continue&lt;/A&gt;], you can filter the NamespaceMetadata&amp;nbsp;that comes back on its "namespace_type" attribute. You could alternatively call &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-list" target="_blank"&gt;/team/team_folder/list&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-list-continue" target="_blank"&gt;/continue&lt;/A&gt;] and just use that list as a guide to filter entries from /files/list_folder[/continue]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Chuck&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 19:55:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-data-for-all-users-on-team/m-p/279429#M16765</guid>
      <dc:creator>chirstius</dc:creator>
      <dc:date>2018-06-07T19:55:44Z</dc:date>
    </item>
  </channel>
</rss>

