Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The help on this topic is:
shared_folder_id
is specified. If true, include a list of members and a list of groups for the shared folder.My interpretation is that include_membership=True MUST have a shared folder ID. Ideally I'd like to have include_membership WITHOUT a shared folder ID and get a JSON return with all the shared folders and all of the members of the share (basically in one REST request).
The other option, which I'm doing now, is to get the shared folder metadata and for every folder call shared folder metadata again supplying a shared folder id (retrieved from the original get shared folder metadata request) with include_membership =True.
Thanks,
kevin
It looks like you're referring to the Core API /shared_folders endpoint. The documentation means that if shared_folder_id is specified, you must also specify include_membership. However, that doesn't mean you can't use include_membership without a shared_folder_id. That means you can call /shared_folders and set include_membership=true without specifying a shared_folder_id, and it will return all of the shared folders along with the membership.
I just tried that and it worked for me. Give that a try and let me know if you run in to any trouble.
Gregory,
Brilliant, works perfectly. Cuts my processing time down (for say user with 20 shared folders) by an order of magnitude, it's that significant.
Cheers,
Kevin
Hi there!
If you need more help you can view your support options (expected response time for a 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!