We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
journeymigration
4 years agoHelpful | Level 5
Retrieve thousands of files and folders without throttling
I'm trying to generate a nice big array for each user that contains all the files and folders the user owns as well as the users that each file/folder is shared with (e.g. users: ["John Doe": [{"name...
journeymigration
4 years agoHelpful | Level 5
On initial glance, the namespaces array is returning objects like the following:
{
"name": "*****",
"namespace_id": "*****27",
"namespace_type": {
".tag": "shared_folder"
}
},
{
"name": "*** Test",
"namespace_id": "*****92",
"namespace_type": {
".tag": "team_folder"
}
}
The exception is when "name": "Root". Is there a reason the other objects don't include the team_member_id?
journeymigration
4 years agoHelpful | Level 5
Also for /2/sharing/list_file_members/batch, if I understand correctly this will only list members that are different from the inherited sharing of the parent folder. If I call the batch endpoint I'm getting an array of empty results, like so:
"file": "id:****",
"result": {
".tag": "result",
"members": {
"users": [],
"groups": [],
"invitees": []
},
"member_count": 0
}
However, if I call the /2/sharing/list_file_members endpoint (using just one file id, of course) I get each member and their access type. The problem with the batch approach is how do I know who are the members and owner of each file then?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!