The Community is undergoing a major upgrade. Find out more, or let us know what you think here.
Forum Discussion
guymayor
5 years agoExplorer | Level 4
Get parent team folder from name space
Hey,
When I am using https://www.dropbox.com/developers/documentation/http/documentation#team_log-get_events-continue to get events I got the path without the team folder and the minimum shared par...
- 5 years ago
Thanks for confirming! Unfortunately, no, I can't think of a more direct or faster way to query that information.
guymayor
Explorer | Level 4
Thank's for the response.
You have understood me right :)
I have already thought about the solution you suggested but I wondered if there is a simpler, not recursive way to do that (Just get the parent team_folder_id form file_id or ns_id in one call)?
Greg-DB
5 years agoDropbox Staff
Thanks for confirming! Unfortunately, no, I can't think of a more direct or faster way to query that information.
- guymayor5 years agoExplorer | Level 4
Hey,
I have noticed that 'parent_shared_folder_id' value is optional, so I can't always get the team folder for a namespace (file/folders can be not under team folder on Dropbox for enterprise?)
I also tried to use "Dropbox-API-Path-Root" for each team folder and see if I got a valid response, but it doesn't work.
- Greg-DB5 years agoDropbox Staff
That's correct, 'parent_shared_folder_id' isn't guaranteed to be set. It is only set if the item is inside a shared/team folder. Some or all of a user's files and folders may just be in their own private folder, and not shared with anyone, in which case 'parent_shared_folder_id' will not be set.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,874 PostsLatest Activity: 36 minutes agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!