<?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: Trouble enumerating directories in a team space with SwiftyDropbox on macOS in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676834#M30491</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1652401"&gt;@jraymonds&lt;/a&gt; First, you should decide if you need your app to be linked to the team or linked to the user. When you use any "team scopes", the app would be linked to the entire team itself. If you don't use any team scopes, the app would be linked to the user account only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you only need access to user functionality, such as things under &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html" target="_blank"&gt;FilesRoutes&lt;/A&gt; like &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:13SwiftyDropbox11FilesRoutesC10listFolder4path9recursive16includeMediaInfo0I7Deleted0I24HasExplicitSharedMembers0I14MountedFolders5limit10sharedLink0I14PropertyGroups0i15NonDownloadableC0AA10RpcRequestCyAA0C0C04ListF16ResultSerializerCAR04ListF15ErrorSerializerCGSS_S5bs6UInt32VSgAR0oU0CSgAA14FilePropertiesC18TemplateFilterBaseOSgSbtF" target="_self"&gt;listFolder&lt;/A&gt;/&lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:13SwiftyDropbox11FilesRoutesC18listFolderContinue6cursorAA10RpcRequestCyAA0C0C04ListF16ResultSerializerCAI0kfg5ErrorM0CGSS_tF" target="_self"&gt;listFolderContinue&lt;/A&gt;, it would be best to not enable any team scopes and only use user scopes. That way, the app gets linked to the account and doesn't have unnecessary access to team operations. It would also mean that you don't need to specify the member ID, as its only connected to one account anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, whether the app is team-linked to user-linked, you would use &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxClient.html#/s:13SwiftyDropbox0B6ClientC12withPathRootyAcA6CommonC0eF0OF" target="_self"&gt;DropboxClient.withPathRoot&lt;/A&gt; to set the Dropbox-API-Path-Root header if you need to access the team space. Accessing the team space that an connected account has access to doesn't require team scopes. Check out the &lt;A href="https://developers.dropbox.com/dbx-team-files-guide" target="_blank"&gt;Team Files Guide&lt;/A&gt; for more context on accessing the team space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can call &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/UsersRoutes.html#/s:13SwiftyDropbox11UsersRoutesC17getCurrentAccountAA10RpcRequestCyAA0C0C04FullG10SerializerCAA04VoidK0CGyF" target="_self"&gt;getCurrentAccount&lt;/A&gt; on &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/UsersRoutes.html" target="_blank"&gt;UsersRoutes&lt;/A&gt; using a &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxClient.html" target="_blank"&gt;DropboxClient&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, for a user-linked app, you could do something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;// DropboxClientsManager.authorizedClient is a DropboxClient
DropboxClientsManager.authorizedClient!.users.getCurrentAccount().response { response, error in
    if let account = response {
        let rootNamespaceId = account.rootInfo.rootNamespaceId  // this gets the root namespace ID for the account, which is the team space if the account has a team space
        DropboxClientsManager.authorizedClient = DropboxClientsManager.authorizedClient!.withPathRoot(Common.PathRoot.root(rootNamespaceId))  // this sets the root for the client to the root found above, e.g., the team space
        DropboxClientsManager.authorizedClient!.files.listFolder(path: "").response { response, error in
            if let listing = response {
                print(listing)
            } else {
                print(error!)
            }
        } // and so on, handling the result and calling listFolderContinue as needed
    } else {
        print(error!)
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, if you do need the app to be team-linked for whatever reason, you would get a &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxClient.html" target="_blank"&gt;DropboxClient&lt;/A&gt; from &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxTeamClient.html#/s:13SwiftyDropbox0B10TeamClientC8asMemberyAA0bD0CSSF" target="_self"&gt;asMember&lt;/A&gt; on&amp;nbsp;&lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxTeamClient.html" target="_blank"&gt;DropboxTeamClient&lt;/A&gt;. You can get a member ID from other methods like &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html#/s:13SwiftyDropbox10TeamRoutesC26tokenGetAuthenticatedAdminAA10RpcRequestCyAA0C0C05TokenfgH16ResultSerializerCAH0kfgh5ErrorM0CGyF" target="_self"&gt;tokenGetAuthenticatedAdmin&lt;/A&gt;, &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html#/s:13SwiftyDropbox10TeamRoutesC16membersGetInfoV20E0AA10RpcRequestCyAA0C0C07MembersfgH16ResultSerializerCAI0kfg5ErrorM0CGSayAI15UserSelectorArgOG_tF" target="_self"&gt;membersGetInfoV2&lt;/A&gt;, &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html#/s:13SwiftyDropbox10TeamRoutesC13membersListV25limit14includeRemovedAA10RpcRequestCyAA0C0C07MembersfG16ResultSerializerCAJ0mf5ErrorO0CGs6UInt32V_SbtF" target="_self"&gt;membersListV2&lt;/A&gt;/&lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html#/s:13SwiftyDropbox10TeamRoutesC21membersListContinueV26cursorAA10RpcRequestCyAA0C0C07MembersfH16ResultSerializerCAI0lfg5ErrorN0CGSS_tF" target="_self"&gt;membersListContinueV2&lt;/A&gt;, etc. on &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html" target="_blank"&gt;TeamRoutes&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 16:03:27 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-04-14T16:03:27Z</dc:date>
    <item>
      <title>Trouble enumerating directories in a team space with SwiftyDropbox on macOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676624#M30484</link>
      <description>&lt;P&gt;I know this is a newbie issue but I cannot seem to find the right track to get over this learning curve...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully authenticate on macOS to this point:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;let client = DropboxClientsManager.authorizedTeamClient&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going off examples it seems to begin an enumeration I would then want to do something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;client!.asMember("me").files.listFolder(path: "")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am having is where do I get the member ID for "me"? To keep things simple I would like to use the account that authorized the app. I did see this in the Dropbox community:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"If you mean the particular member that happened to authorize the app to connect to the team, you can look them up using &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-token-get_authenticated_admin" target="_blank" rel="nofollow noopener noreferrer"&gt;/2/team/token/get_authenticated_admin&lt;/A&gt;. Note that this will vary by access token though, and isn't necessarily the current end-user of your app. It also won't necessarily be available for every access token."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yet, using SwiftyDropbox that doesn't seem particularly helpful. (In other words, I am not sure how to get that out of the Swift SDK) The note above indicates that it might not be available for every access token. Since I have no idea when it would break, would looking it up from a known email be the better approach? Of course all of this assumes I am going down the right track to begin with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two side questions to this as well. First, since this is an in-house app in a controlled space do I need to worry about member IDs changing? Or, would it be "safe" to just hard code the ID when I know what it actually is? Second, I am looking to enumerate the team space the account has access to and not their personal space. I believe I also saw references to differentiate between these roots once I have access. How should that part be handled?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 21:40:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676624#M30484</guid>
      <dc:creator>jraymonds</dc:creator>
      <dc:date>2023-04-13T21:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble enumerating directories in a team space with SwiftyDropbox on macOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676657#M30485</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1652401"&gt;@jraymonds&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;What about using &lt;A title="Get information about the current user’s account" href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/UsersRoutes.html#/s:13SwiftyDropbox11UsersRoutesC17getCurrentAccountAA10RpcRequestCyAA0C0C04FullG10SerializerCAA04VoidK0CGyF" target="_blank" rel="noopener"&gt;getCurrentAccount()&lt;/A&gt; (or &lt;A title="Get information about the current user's account" href="https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account" target="_blank" rel="noopener"&gt;/2/users/get_current_account&lt;/A&gt;)? 🧐 The info there - &lt;A title="This account’s unique team member id" href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Users/FullAccount.html#/s:13SwiftyDropbox5UsersC11FullAccountC12teamMemberIdSSSgvp" target="_blank" rel="noopener"&gt;teamMemberId&lt;/A&gt; - may be more useful about the "me". &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1652401"&gt;@jraymonds&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... First, since this is an in-house app in a controlled space do I need to worry about member IDs changing? ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Every user has its own member id that doesn't change. So, if you mean is this id changes - clearly No. If you mean is it stay the same for any member in your account - definitely No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1652401"&gt;@jraymonds&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... Or, would it be "safe" to just hard code the ID when I know what it actually is? ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Are you the only member for your account would use that application? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; Yes -&amp;gt; Yes. No -&amp;gt; No.... Generally it's not a good idea. Let's say if at some moment you decide to change your member representation, for instance - What's going on? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D2C249CA96A46FE957E27347F5B9E230/emoticons/1f448.png" alt=":backhand_index_pointing_left:" title=":backhand_index_pointing_left:" /&gt;🙋 You have to edit your application every time. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D88F213CAFB196B6AB70612B08AD9D31/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1652401"&gt;@jraymonds&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... Second, I am looking to enumerate the team space the account has access to and not their personal space. I believe I also saw references to differentiate between these roots once I have access. How should that part be handled?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There is info too about the account's root namespace and member's home namespace; just ignore (jump over) your home namespace while enumerating. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; That's it.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 00:39:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676657#M30485</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-04-14T00:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble enumerating directories in a team space with SwiftyDropbox on macOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676760#M30488</link>
      <description>&lt;P&gt;I actually tried to figure out:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;getCurrentAccount()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I guess my issue is I do not know where to access it from. It is not part of the&amp;nbsp;DropboxClientsManager, Team, or even the DropboxClientsManager.authorizedTeamClient classes. I know I am missing something dumb on this but I cannot seem to figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 12:53:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676760#M30488</guid>
      <dc:creator>jraymonds</dc:creator>
      <dc:date>2023-04-14T12:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble enumerating directories in a team space with SwiftyDropbox on macOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676834#M30491</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1652401"&gt;@jraymonds&lt;/a&gt; First, you should decide if you need your app to be linked to the team or linked to the user. When you use any "team scopes", the app would be linked to the entire team itself. If you don't use any team scopes, the app would be linked to the user account only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you only need access to user functionality, such as things under &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html" target="_blank"&gt;FilesRoutes&lt;/A&gt; like &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:13SwiftyDropbox11FilesRoutesC10listFolder4path9recursive16includeMediaInfo0I7Deleted0I24HasExplicitSharedMembers0I14MountedFolders5limit10sharedLink0I14PropertyGroups0i15NonDownloadableC0AA10RpcRequestCyAA0C0C04ListF16ResultSerializerCAR04ListF15ErrorSerializerCGSS_S5bs6UInt32VSgAR0oU0CSgAA14FilePropertiesC18TemplateFilterBaseOSgSbtF" target="_self"&gt;listFolder&lt;/A&gt;/&lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:13SwiftyDropbox11FilesRoutesC18listFolderContinue6cursorAA10RpcRequestCyAA0C0C04ListF16ResultSerializerCAI0kfg5ErrorM0CGSS_tF" target="_self"&gt;listFolderContinue&lt;/A&gt;, it would be best to not enable any team scopes and only use user scopes. That way, the app gets linked to the account and doesn't have unnecessary access to team operations. It would also mean that you don't need to specify the member ID, as its only connected to one account anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, whether the app is team-linked to user-linked, you would use &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxClient.html#/s:13SwiftyDropbox0B6ClientC12withPathRootyAcA6CommonC0eF0OF" target="_self"&gt;DropboxClient.withPathRoot&lt;/A&gt; to set the Dropbox-API-Path-Root header if you need to access the team space. Accessing the team space that an connected account has access to doesn't require team scopes. Check out the &lt;A href="https://developers.dropbox.com/dbx-team-files-guide" target="_blank"&gt;Team Files Guide&lt;/A&gt; for more context on accessing the team space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can call &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/UsersRoutes.html#/s:13SwiftyDropbox11UsersRoutesC17getCurrentAccountAA10RpcRequestCyAA0C0C04FullG10SerializerCAA04VoidK0CGyF" target="_self"&gt;getCurrentAccount&lt;/A&gt; on &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/UsersRoutes.html" target="_blank"&gt;UsersRoutes&lt;/A&gt; using a &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxClient.html" target="_blank"&gt;DropboxClient&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, for a user-linked app, you could do something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;// DropboxClientsManager.authorizedClient is a DropboxClient
DropboxClientsManager.authorizedClient!.users.getCurrentAccount().response { response, error in
    if let account = response {
        let rootNamespaceId = account.rootInfo.rootNamespaceId  // this gets the root namespace ID for the account, which is the team space if the account has a team space
        DropboxClientsManager.authorizedClient = DropboxClientsManager.authorizedClient!.withPathRoot(Common.PathRoot.root(rootNamespaceId))  // this sets the root for the client to the root found above, e.g., the team space
        DropboxClientsManager.authorizedClient!.files.listFolder(path: "").response { response, error in
            if let listing = response {
                print(listing)
            } else {
                print(error!)
            }
        } // and so on, handling the result and calling listFolderContinue as needed
    } else {
        print(error!)
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, if you do need the app to be team-linked for whatever reason, you would get a &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxClient.html" target="_blank"&gt;DropboxClient&lt;/A&gt; from &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxTeamClient.html#/s:13SwiftyDropbox0B10TeamClientC8asMemberyAA0bD0CSSF" target="_self"&gt;asMember&lt;/A&gt; on&amp;nbsp;&lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxTeamClient.html" target="_blank"&gt;DropboxTeamClient&lt;/A&gt;. You can get a member ID from other methods like &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html#/s:13SwiftyDropbox10TeamRoutesC26tokenGetAuthenticatedAdminAA10RpcRequestCyAA0C0C05TokenfgH16ResultSerializerCAH0kfgh5ErrorM0CGyF" target="_self"&gt;tokenGetAuthenticatedAdmin&lt;/A&gt;, &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html#/s:13SwiftyDropbox10TeamRoutesC16membersGetInfoV20E0AA10RpcRequestCyAA0C0C07MembersfgH16ResultSerializerCAI0kfg5ErrorM0CGSayAI15UserSelectorArgOG_tF" target="_self"&gt;membersGetInfoV2&lt;/A&gt;, &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html#/s:13SwiftyDropbox10TeamRoutesC13membersListV25limit14includeRemovedAA10RpcRequestCyAA0C0C07MembersfG16ResultSerializerCAJ0mf5ErrorO0CGs6UInt32V_SbtF" target="_self"&gt;membersListV2&lt;/A&gt;/&lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html#/s:13SwiftyDropbox10TeamRoutesC21membersListContinueV26cursorAA10RpcRequestCyAA0C0C07MembersfH16ResultSerializerCAI0lfg5ErrorN0CGSS_tF" target="_self"&gt;membersListContinueV2&lt;/A&gt;, etc. on &lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/TeamRoutes.html" target="_blank"&gt;TeamRoutes&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 16:03:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676834#M30491</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-04-14T16:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble enumerating directories in a team space with SwiftyDropbox on macOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676883#M30497</link>
      <description>&lt;P&gt;Okay, so this is huge for me. I still need to clean up the code on my end but I seem to have access now AND to the root team space which is exactly what I need. I was adding unneeded complexity assuming I needed to open up access to a business account with the team calls such as:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DropboxClientsManager.setupWithTeamAppKeyDesktop(kDropboxAppKey)

DropboxClientsManager.handleRedirectURLTeam(url, completion: oauthCompletion)

DropboxClientsManager.authorizedTeamClient&lt;/LI-CODE&gt;&lt;P&gt;However, with your wisdom above, I don't need the "Team" calls even though I am accessing a Team space. As dumb as this sounds it was the stumbling block for me getting things to work!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 19:28:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trouble-enumerating-directories-in-a-team-space-with/m-p/676883#M30497</guid>
      <dc:creator>jraymonds</dc:creator>
      <dc:date>2023-04-14T19:28:26Z</dc:date>
    </item>
  </channel>
</rss>

