What's the best/optimal way of fetching team folders without including the folders shared by individual users? I have tried the below option, but it fetches all shared folders (folders inside team folder and the ones shared by individual users)
- Call dbxTeamClient.team().namespacesList()
- Use namespace type to filter shared_folder and team_folder
- Call metadata API to get is_inside_team_folder flag for each namespace filtered above
Entire list of namespaces is fetched first, then metadata API is called to get additional details and filtered locally based on attributes. Is there another API that can give just the folders inside team folder?