We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
prabhat1999
4 months agoExplorer | Level 3
shared Folders
1). I am using https://api.dropboxapi.com/2/sharing/list_folders API to fetch the data of all the shared Folders but in the response, some folders are missing which I can see on the website.
2.) How can I limit my search for shared folders to a specific folder_path . In other words i want to get the share info such has member and groups in which the given folder and folders in side this folder is shared with their access_type
- Greg-DBDropbox Staff
1. Does the response from /2/sharing/list_folders have a 'cursor' set? If so, you need to call back to /2/sharing/list_folders/continue to retrieve more results, and so on with each response from /2/sharing/list_folders/continue as well. Refer to the linked documentation for more information.
2. No, the Dropbox API doesn't offer a way to filter the shared folder list server-side like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You'll need to instead retrieve the list as above, and then filter it as desired client-side.
- prabhat1999Explorer | Level 3
the response from /2/sharing/list_folders does not have a 'cursor' set
- iNeilDropbox Engineer
Hello prabhat1999
If all of the user's shared folders are returned while executing the /2/sharing/list_folders endpoint, the response object will not provide a cursor field.
If any shared folders are missing from the response object, please open an API ticket with further information about the expected shared folder path and the full response body from the endpoint.
https://www.dropbox.com/developers/contact
About Discuss Dropbox Developer & API
795 PostsLatest Activity: 3 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!