You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
PaulELong
6 years agoHelpful | Level 6
Help using the dotnet documentation
I'm trying to understand and use the API for dotnet. I'm finding it hard to use the online documentation and I'm wondering if there's something I'm missing.
For instance, I'm using Files.DownloadA...
- 6 years ago
Thanks for the feedback! Dropbox.Api.Files and Dropbox.Api.Files.Routes are each linked separately in the sidebar at the top level here:
https://dropbox.github.io/dropbox-sdk-dotnet/html/R_Project_DotNetApiDocumentation.htm
The docs themselves don't have search built in, but you can search the doc site using a web search engine, such as:
Greg-DB
Dropbox Staff
Thanks for the post, and I'm sorry to hear about the confusion.
You can find the full documentation for the official Dropbox API v2 .NET SDK hosted here:
https://dropbox.github.io/dropbox-sdk-dotnet/html/R_Project_DotNetApiDocumentation.htm
There are a a number of sections listed in the sidebar. The Dropbox.Api Namespace, for instance, contains top level objects:
https://dropbox.github.io/dropbox-sdk-dotnet/html/N_Dropbox_Api.htm
For instance, that contains DropboxClient:
https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_DropboxClient.htm
And, for each area of the API, there is a namespace each for the types and routes. For instance, the Dropbox.Api.Files Namespace lists the Files types here:
https://dropbox.github.io/dropbox-sdk-dotnet/html/N_Dropbox_Api_Files.htm
And the Dropbox.Api.Files.Routes Namespace contains the FilesUserRoutes class:
https://dropbox.github.io/dropbox-sdk-dotnet/html/N_Dropbox_Api_Files_Routes.htm
The FilesUserRoutes Class lists all of the methods for the Files API routes:
https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_Routes_FilesUserRoutes.htm
For example, that lists DownloadAsync:
And that includes the response type, linking to IDownloadResponse:
https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Stone_IDownloadResponse_1.htm
Hope this helps!
PaulELong
6 years agoHelpful | Level 6
I suppose that helps me locate teh IDownloadResponse page, but I can't reproduce your path. I can get to the Dropbox_api_files section, but I don't see Routes. In fact if I click on https://dropbox.github.io/dropbox-sdk-dotnet/html/N_Dropbox_Api_Files.htm and search for "routes" on the page, nothing comes up. Further more I don't know how I would have known to click on routes, I'm sure there's some rational, but it doesn't seem obvious to me. BTW, the arrow glyphs on the left side don't always work.
Is there a search functionallity?
- Greg-DB6 years agoDropbox Staff
Thanks for the feedback! Dropbox.Api.Files and Dropbox.Api.Files.Routes are each linked separately in the sidebar at the top level here:
https://dropbox.github.io/dropbox-sdk-dotnet/html/R_Project_DotNetApiDocumentation.htm
The docs themselves don't have search built in, but you can search the doc site using a web search engine, such as:
- PaulELong6 years agoHelpful | Level 6
That will do, thanks. Maybe somebody could bolt that google link onto the website :)
Paul
- snaidamast6 years agoExplorer | Level 3
There is defintely something wrong here with the API documentation.
To do a simple file download, all of the sample coding I have researched, including the final sample that actually worked uses the following method call to perform the actual download...
loDropBoxClient.Files.DownloadAsync("/ResearchIndex Files" + "/AvailableExtensionsList.txt")
The object, "loDropBoxClient", is my successfully, instantiated cleint. And as one can see, it uses the "Files" namespace with the subordinated method, "DownloadAsync".
However, there is absolutely no way one can backtrack this in the ApI Reference Documentation as the snapshot beliow demonstrates...
As one can see, the methods for the "DropBox.API.Files" namespace does not include the "DownloadAsync" method.
This is the type of issue I have opened a new thread for and the relates to the issue that the poster of this thread has described...
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 11 days ago
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 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!