Comments
-
You can find information on how to add or "mount" a shared folder in your account using the Dropbox web UI in this help article: https://help.dropbox.com/files-folders/share/add-shared-folder On https://www.dropbox.com/share/folders , folders that are listed as "Not added" are not currently added or "mounted" in the…
-
If you're new to the Dropbox API, I recommend reading the Getting Started guide: https://www.dropbox.com/developers/reference/getting-started To create a shared link for any particular file or folder, you would use the /2/sharing/create_shared_link_with_settings endpoint:…
-
This error message indicates that the access token you're using isn't of the expected format. You appear to be storing your access token in that "dropbox_access_token" field. To be clear though, you've redacted it for this forum post, correct? (If not, note that attempting to just uses the 'x's will fail. You need to…
-
Yes, that's right. That would use the user's folder, if they're not on a team with a team space, or the team space folder, if they are on a team with the team space. Also, note you can use initWithRoot if you do intend to access the root and want verification mentioned under the "Root" part of the "Dropbox-API-Path-Root…
-
Thanks for the report! It looks like this is failing because you're missing the 'response_type' parameter. You can find more information on the parameters in the documentation for /oauth2/authorize. We support "token" and "code" as the values for 'response_type', so for example you might use one of these: *…
-
If you just want to be able to access files and folders in their "team space", you don't need to register a "Dropbox Business API" app or use the "teamRoutes". (That's for accessing functionality specific to managing Dropbox Business teams, e.g., adding or removing members.) You can use your existing "Dropbox API" app with…
-
@"Здравко" Thanks for the additional note and information!
-
@"Chhavi" That is the file data for the requested file returned by the Dropbox API. The /2/files/download endpoint is a "content-download" style endpoint, meaning it returns the requested content in the HTTPS response body. You can use or save the response body however you wish. Exactly how you do so will depend on what…
-
It sounds like you're referring to shared folders that have been shared with the account, but which have not yet been added or "mounted" in the account. The SharingUserRoutes.ListFolders and SharingUserRoutes.ListFoldersContinue methods will list all of the shared folders the user has access to, whether or not the folders…
-
It sounds like you're referring to the new "team space" configuration, where member folders are mounted underneath the team space (instead of the old way of having team folders mounted underneath member folders). Shared folders can be mounted under either the team space or member folders. You can find more information on…
-
@"Здравко" Thanks for the feedback! Yes, I've filed this as a feature request for an official API for checking the client programmatically.
-
Thanks for sharing that additional information @"Здравко" . Please note though that that socket itself is not officially documented and is not considered an officially supported API for third parties to use to interact with the Dropbox desktop client, so I can't recommend using it. (It's meant for the dropbox.py script we…
-
Здравко is correct, you can't force or predict this. You need to always check hasMore and call back if needed. For reference, you can find the corresponding documentation for the Objective-C SDK in particular under listFolder and listFolderContinue.
-
@"BIMcollab" As Здравко mentioned, you can direct the user to https://www.dropbox.com/logout at any time to log them out of the Dropbox web site. Make sure you do so with the user's understanding though, as forcibly logging them out without their knowledge may be confusing or disruptive to them. Or, you can use the…
-
@"viskin" No, I don't have any news to report here. The deprecated 'include_media_info' functionality on /2/files/list_folder is still planned for retirement shortly, and we don't have a batch version of /2/files/get_metadata available.
-
@"Chhavi" Downloading file content via the Dropbox API works the same way, regardless of file type. You can use the /2/files/download endpoint to download file data whether the file is a .xlsx or any other type. Exactly what you then do with the data is up to you. For example, you may wish to open the data in a document…
-
Unfortunately, I don't have a good solution to offer here. Listing the contents of a folder via a shared link using the API requires an access token, and would be subject to that potential rate limiting. The API doesn't offer an alternative way to anonymously programmatically list the contents of a folder from a shared…
-
@"overlookmotel" Thanks for the feedback. I've shared this with the team, and I will follow up here with any update on this.
-
Please keep in mind that undocumented/private APIs are subject to change without notice, and so should not be used by third party apps.
-
@"caseyprovost" In order to upload to Dropbox via the Dropbox API, you need to upload to some particular user account. If you don't need to connect to arbitrary end-user accounts, and are just connecting to your own account, for instance, you don't need to build the app authorization flow and UI. You can just get your own…
-
It looks like you're already on the right track here. If you want to list everything under the root, you start by calling ListFolderAsync with the empty string as the 'path'. If you want to get nested entries too, you should set the 'recursive' parameter to true. Either way, ListFolderAsync isn't guaranteed to give you…
-
The upload method you're using only officially supports files up to 150 MB. If you need to upload larger files, such as the 24 GB file you mentioned, you'll need to use upload sessions, like you said. You can find an example of doing so in the official Dropbox API v2 Java SDK here:…
-
@"Anuj-" I can't make any promises, but I'll send your note on the urgency along to the team.
-
The thumbnail links returned by the Chooser currently expire after four hours, at which point accessing them will fail with this 410 error. There isn't a way to get permanent thumbnail links from the Chooser, but I'll ask the team to update it to offer this, or at least better document this.
-
@"omrika" I'm not sure I follow your question. I'll be happy to help, but I'll need some more information. Also, this is an old thread, so in order to not spam the original author here, please open a new thread with the details of the issue you're seeing: https://www.dropboxforum.com/t5/forums/postpage/board-id/101000014…
-
@"ccoplestone" I just gave your download handler code a try (with the official Dropbox API v2 JavaScript SDK), and it worked fine for me to download a multiple page PDF without corruption: var fileName = "Getting Started.pdf"; dbx.filesDownload({path: "/" + fileName}) .then(function(response) { var blob =…
-
@"Developer_" I just gave this a try and it seems to be working correctly for me. Can you share some sample calls/output showing the issue so we can take a closer look? Also, so that we don't spam the original author on this thread (they seemed to be asking about different "path" errors anyway), please open a new thread…
-
Dropbox does not offer an API for the Dropbox Transfer feature, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"Anonymous" The Dropbox API doesn't guarantee a particular ordering of folder list results, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Like Здравко said, you can apply whatever ordering you want in your application code.
-
@"Sparsh C." Здравко is correct. There are a number of different variables behind the scenes that can affect this behavior, and it's not possible to predict if/when multiple pages will be used.