<?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: How to navigate to Team root with JDK in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-navigate-to-Team-root-with-JDK/m-p/496843#M1735</link>
    <description>&lt;P&gt;It sounds like you want access the folders in your "team space". By default, Dropbox API calls operate in the "member folder", not the team space, but you can configure them to operate in the team space when desired, by setting the "Dropbox-API-Path-Root" header. For information on how to do so, please refer to &lt;A href="https://www.dropbox.com/lp/developers/reference/dbx-team-files-guide" target="_self"&gt;the Team Files Guide&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the Java SDK in particular, you can set the "Dropbox-API-Path-Root" header using &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/DbxClientV2.html#withPathRoot-com.dropbox.core.v2.common.PathRoot-" target="_self"&gt;the&amp;nbsp;DbxClientV2.withPathRoot method&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 12:54:25 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-02-16T12:54:25Z</dc:date>
    <item>
      <title>How to navigate to Team root with JDK</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-navigate-to-Team-root-with-JDK/m-p/496687#M1733</link>
      <description>&lt;P&gt;I have been trying all day to access my team's root folder with the Java SDK and I haven't been able to find any documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My folder structure is like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/MyName
/Folder-I-Want-To-Access
/Other-Folder-I-Want-To-Access&lt;/LI-CODE&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;Unfortunately I'm trying to do this in Rhino, so apologies that this doesn't look like normal Java 🤦‍:male_sign:&lt;/img&gt; I don't really know where to go from here:&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;LI-CODE lang="markup"&gt;var config = new com.dropbox.core.DbxRequestConfig("dropbox/java-tutorial", "en_US");
var teamClient = new com.dropbox.core.v2.DbxTeamClientV2(config, accessToken);
var client = teamClient.asMember('my-id');&lt;/LI-CODE&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;the TeamClient doesn't have the file access methods, but the individual Client always has it's root set to /MyName. How can I navigate paths with the JDK?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 15:50:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-navigate-to-Team-root-with-JDK/m-p/496687#M1733</guid>
      <dc:creator>bauerb</dc:creator>
      <dc:date>2021-02-16T15:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to navigate to Team root with JDK</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-navigate-to-Team-root-with-JDK/m-p/496843#M1735</link>
      <description>&lt;P&gt;It sounds like you want access the folders in your "team space". By default, Dropbox API calls operate in the "member folder", not the team space, but you can configure them to operate in the team space when desired, by setting the "Dropbox-API-Path-Root" header. For information on how to do so, please refer to &lt;A href="https://www.dropbox.com/lp/developers/reference/dbx-team-files-guide" target="_self"&gt;the Team Files Guide&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the Java SDK in particular, you can set the "Dropbox-API-Path-Root" header using &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/DbxClientV2.html#withPathRoot-com.dropbox.core.v2.common.PathRoot-" target="_self"&gt;the&amp;nbsp;DbxClientV2.withPathRoot method&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 12:54:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-navigate-to-Team-root-with-JDK/m-p/496843#M1735</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-02-16T12:54:25Z</dc:date>
    </item>
  </channel>
</rss>

