You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Daniel L.20
10 years agoHelpful | Level 6
get email addresses of members of your shared_folders
According to documentation, you can get a list of members on a shared folder with https://api.dropbox.com/1/shared_folders/<id>
and the response will contain:
"members": [
{
...
Sinyshnar
New member | Level 2
Hi,
I am joining this conversation as this would be really usefull. I cannot understand such a simple feature hasn't been migrated from v1 to v2.
Please keep us posted :)
Daniel L.20
8 years agoHelpful | Level 6
Since v1 api is now deprecated, had to transition to v2. You can get a list of shared folders' members' emails, but now it requires multiple calls (with loops):
To get all shared folders:
https://api.dropboxapi.com/2/sharing/list_folders
in order to find the shared_folder_id of a specific folder by name.
To get all members (users) on a shared folder:
https://api.dropboxapi.com/2/sharing/list_folder_members
in order to find the account_id of each user. This now has separate arrays for users who have accepted the share vs those who have merely been invited.
To get the email address for a user:
- makkc7 years agoNew member | Level 2
https://api.dropboxapi.com/2/sharing/list_folders
Newb question?
As this doesn't work, for me, as a direct cut and paste, can anyone point me in the direction of a guide to do this?
At persent I'm faced with cutting and pasting >50 emails and names from a small online window or alternatively starting again.
- Greg-DB7 years agoDropbox Staff
makkc I don't believe we have a guide/full working example for this specific functionality. This is an old thread with a lot of subscribers though, so please open a new thread with what you have so far and what isn't working for you so we can help with your code.
- makkc7 years agoNew member | Level 2
Thanks for the quick reply. I've just solved the immediate problem by doing it longhand.
The probelm for me arose when needing to verify the email list of people sharing a folder with a consent process when then folder in question was beginning to hold data coming under GDPR. This is probably a 'business user' issue but even small organisations and groups can be affected by this legislation.
Therefore the more general question is has Dropbox stared to consider any tools for this? I'll search for a GDPR thread.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,918 PostsLatest Activity: 2 days ago
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 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!