cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you using the Microsoft co-authoring beta for Dropbox? Share your feedback and learn more about it here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

List folder returns shared folders & files even passing include_mounted_folders as false

List folder returns shared folders & files even passing include_mounted_folders as false

sagar_lonkar
Explorer | Level 4

 

We have following java method in SDK , but even passing false , it list shared folders

 

https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/ListFolderBuild...

 

public ListFolderBuilder withIncludeMountedFolders(java.lang.Boolean includeMountedFolders)

 

 https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder

include_mounted_foldersBooleanIf true, the results will include entries under mounted folders which includes app folder, shared folder and team folder. The default for this field is True.

1 Reply 1

Greg-DB
Dropbox Staff

That include_mounted_folders documentation indicates that it controls whether or not to include entries under the mounted folders. So, the mounted folder (such as a shared folder) itself will still be listed, but the contents of that shared folder should not.

 

If that's not what you're seeing, feel free to share the code and output.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?