Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Is there an endpoint that will return a list of folder names and paths? Use-case: presenting my users with a dropdown containing various folders they may send a file to.
Hi,
What's the C# equivalent of path: "" for the 'Files.ListFolderAsync(path)' method to display to root folder?
It seems to want it in 'id: somevalue' format.
Thanks.
@Yohancef With the .NET SDK, you would also pass an empty string to list the root folder. That would look like this:
var list = await client.Files.ListFolderAsync(string.Empty);
or:
var list = await client.Files.ListFolderAsync("");
Hi there!
If you need more help you can view your support options (expected response time for a 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!