We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Mark R.5
9 years agoHelpful | Level 5
ObjC 3.3.5 new(ish) parameters for listFolder method
I have just updated the SDK and there are 3 new parameters in the listFolder: method. However the documentation does not really go into much detail (and the last parameter is not mentioned at all):
...
Greg-DB
Dropbox Community Moderator
9 years agoThanks for the report! I'll ask the team to fix the documentation.
1) includeMountedFolders: "If true, the results will include entries under mounted folders which includes app folder, shared folder and team folder."
That is, whether or not to have the Dropbox API return information about those types of folders and their children in the listFolder (and listFolderContinue) responses. So, if you set includeMountedFolders=false, the listed entries will not include shared folders, etc.
2) limit: "The maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases."
This controls how many entries are returned per page, i.e., per single response from listFolder/listFolderContinue. This is useful if the user has many files and you would prefer to have your app list them out in smaller batches.
3) sharedLink: "A shared link to list the contents of. If the link is password-protected, the password must be provided. If this field is present, ListFolderArg.path will be relative to root of the shared link. Only non-recursive mode is supported for shared link."
This parameter enables you to list the contents of a shared link for a folder, instead of just a folder in the connected user's account which you would identify by path alone.
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!