Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
rbchapman
3 years agoExplorer | Level 3
Listing shared files
I'm looking for a way to list individual files that a user is sharing with specific users (not shared links). I can list shared folders with the /sharing/list_folders route, but there doesn't seem to be a corresponding /sharing/list_files route.
Ultimately, I'd like to be able to get the shared files for a particular user and feed them into the /sharing/list_file_members route to determine who the files are shared with.
rbchapman Thanks for following up. It sounds like what you want is to set 'include_has_explicit_shared_members: true' when calling /2/files/list_folder, so you can get 'has_explicit_shared_members' for the files in the results (and then call /2/sharing/list_file_members as needed).
4 Replies
Replies have been turned off for this discussion
- Scott-DB3 years ago
Dropbox Staff
- rbchapman3 years agoExplorer | Level 3
Thanks, Scott. According to the docs, that route returns "a list of all files shared with current user." I'm looking for the list of files the user owns and has shared with specific individuals.
- Greg-DB3 years ago
Dropbox Community Moderator
rbchapman Thanks for following up. It sounds like what you want is to set 'include_has_explicit_shared_members: true' when calling /2/files/list_folder, so you can get 'has_explicit_shared_members' for the files in the results (and then call /2/sharing/list_file_members as needed).
- rbchapman3 years agoExplorer | Level 3
That's what I'm looking for. Thank you
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!