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's avatar
prabhat1999
Explorer | Level 3
4 months 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 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox 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.