We’re aware of an issue causing slower load times on the Dropbox Community forum. It should be resolved soon. Thanks for your patience! 

Forum Discussion

prabhat1999's avatar
prabhat1999
Explorer | Level 3
2 years ago

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 

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    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.

  • iNeil's avatar
    iNeil
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    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

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!