<?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: Dropbox API List Folders in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-List-Folders/m-p/215468#M11093</link>
    <description>&lt;P&gt;You can do this using either type of app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a normal (not Business)&amp;nbsp;Dropbox API app, the app gets&amp;nbsp;connected&amp;nbsp;to individual user accounts. When you connect a user account, the app gets an access token for that particular account. Using that token, both &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;/2/files/create_folder&lt;/A&gt; will operate on that particular account. To operate on a different account, that other user will need to connect the app to their account, giving the app a different access token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a&amp;nbsp;Dropbox Business API app, the app gets connected to teams entirely. If the app has the "team member file access" permission, it can use the &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_self"&gt;"member file access" feature&lt;/A&gt;&amp;nbsp;to access the account of any member of the team, e.g., to use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;/2/files/create_folder&lt;/A&gt; for that member.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, note that in either case, you can use use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt;&amp;nbsp;instead of&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;if you just want to know if a specific path already exists.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2017 20:31:44 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-04-10T20:31:44Z</dc:date>
    <item>
      <title>Dropbox API List Folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-List-Folders/m-p/215388#M11076</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a part of my POC, I need to check in a user's account if a particular folder is present or not. If not, then I need to create that folder in the user's account. I am having admin account in Business Dropbox and I am able to list folders for my account, using the below user endpoint, passing my access token having Full Dropbox access,where I can maniuplate the output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.dropboxapi.com/2/files/list_folder" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, how can I check the list of folders in another account and then create the folder if it doesnot exist. Would it require Business endpoints/token of app with 'Team Information' access. Also, would 'create folder' API (&lt;A href="https://api.dropboxapi.com/2/files/create_folder" target="_blank"&gt;https://api.dropboxapi.com/2/files/create_folder&lt;/A&gt;) work for that account or only for my account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Madhavi&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:23:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-List-Folders/m-p/215388#M11076</guid>
      <dc:creator>Madhavi T.</dc:creator>
      <dc:date>2019-05-29T09:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API List Folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-List-Folders/m-p/215392#M11077</link>
      <description>*moves to API section*</description>
      <pubDate>Mon, 10 Apr 2017 15:50:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-List-Folders/m-p/215392#M11077</guid>
      <dc:creator>Mark</dc:creator>
      <dc:date>2017-04-10T15:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API List Folders</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-List-Folders/m-p/215468#M11093</link>
      <description>&lt;P&gt;You can do this using either type of app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a normal (not Business)&amp;nbsp;Dropbox API app, the app gets&amp;nbsp;connected&amp;nbsp;to individual user accounts. When you connect a user account, the app gets an access token for that particular account. Using that token, both &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;/2/files/create_folder&lt;/A&gt; will operate on that particular account. To operate on a different account, that other user will need to connect the app to their account, giving the app a different access token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a&amp;nbsp;Dropbox Business API app, the app gets connected to teams entirely. If the app has the "team member file access" permission, it can use the &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_self"&gt;"member file access" feature&lt;/A&gt;&amp;nbsp;to access the account of any member of the team, e.g., to use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;/2/files/create_folder&lt;/A&gt; for that member.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, note that in either case, you can use use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt;&amp;nbsp;instead of&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;if you just want to know if a specific path already exists.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 20:31:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-List-Folders/m-p/215468#M11093</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-10T20:31:44Z</dc:date>
    </item>
  </channel>
</rss>

