We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ericchubb
4 years agoExplorer | Level 4
How to get list of shared files owned by my account
Hi there,
I would like to get a list of files/folders that I own and have shared with someone else, but I've noticed in the list_folder command from the REST API that it doesn't seem to return information about who owns a shared file/folder - it just contains general sharing info, regardless of whether I own the file and share it with someone else or vice versa.
Looking at the docs, it seems like I need to make separate calls for each file/folder I'm interested in. This could have a major performance impact on the client code we use to connect to DropBox, so I was wondering if what I've said is true, or if there's a quick way for me to get my own files/folders that I shared with someone else?
Thanks
1 Reply
- Greg-DB4 years ago
Dropbox Community Moderator
Unfortunately there isn't a direct way to list all shared files/folders that the connected account specifically owns only. There are a few different types of sharing on Dropbox, so for reference I recommend reading the Sharing Guide if you haven't already.
The check the members/owner of a shared folder, you would use /2/sharing/list_folder_members[/continue]. To list the members/owner of a shared file, you would use /2/sharing/list_file_members[/continue]. To list the shared links, you would use /2/sharing/list_shared_links.
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!