Comments
-
The two are functionally equivalent, but the one without /1/ is preferred. (The /1/ route was originally for API v1, which supported both OAuth 1 and OAuth 2, but we introduced the new route to decouple the OAuth version from the API version.)
-
The Saver allows up to 100 files per save operation. The Saver doesn't enforce any particular file size limits, but each request does have a 5 minute timeout. That means the effective file size limit is just however much data can be transferred from the source to Dropbox in 5 minutes.
-
It looks like you opened a new thread for this question, so I'll follow up there: https://www.dropboxforum.com/t5/API-support/Dropbox-Saver/m-p/195527#M8919
-
The Dropbox API doesn't offer anything like that, but I'll be sure to pass this along as a feature request.
-
[Moved to API support forum.] It looks like this was a duplicate of: https://www.dropboxforum.com/t5/API-support/Java-SDK-V2-How-to-find-out-whether-file-exists-or-not/m-p/195114#M8868 I answered it there.
-
This should be fixed now. Let us know if you're still seeing any issues.
-
I can't seem to reproduce this error. Can you check that the Jackson library is installed properly, and that you only have one version installed? You may also want to try upgrading it.
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-java/issues/81 ]
-
Do you mean you want to send the API call to Dropbox directly from the user's browser? That is possible, e.g., using the Dropbox JavaScript SDK: https://github.com/dropbox/dropbox-sdk-js You can also use webhooks to get notifications of changes sent to your server: https://www.dropbox.com/developers/reference/webhooks
-
Yes, using instanceof is the recommended way. For example: https://github.com/dropbox/dropbox-sdk-java/blob/7ecc15cf0f51d6ae2ba5cdb334aac2c2f3474b87/examples/android/src/main/java/com/dropbox/core/examples/android/FilesAdapter.java#L82
-
Yes, this works similarly in the Java SDK for API v1. The uploadFile call, for example, would throw DbxException.BadResponseCode with statusCode=507. You can use getAccountInfo to get DbxAccountInfo which contains the quota information in DbxAccountInfo.Quota. There are more detailed descriptions of those individual quota…
-
HI William, there's a sample app here, in three versions, one for each supported installation method: https://github.com/dropbox/dropbox-sdk-obj-c/tree/master/Examples/DBRoulette Those are set up for use with package managers though, per the installation instructions. We highly recommend using one of the supported package…
-
"Shared links" and "shared folders" are different forms of sharing. Calling /share_folder for a folder doesn't create a shared link for it. You can find more information here: https://www.dropbox.com/help/274
-
You can access the structured error information like this: try { client.files().getMetadata(dropboxPath); } catch (GetMetadataErrorException e){ if (e.errorValue.isPath() && e.errorValue.getPathValue().isNotFound()) { System.out.println("File not found."); } else { throw e; } }
-
The Dropbox web site itself doesn't offer an interface for tracking events like this. (If you're building a Dropbox for Business API app though you can use /team/log/get_events to track team member events like this, among many others.)
-
Calling /sharing/share_folder with just a path parameter does create a shared folder. I just tested it and it is working for me. The icon with two people on it that you mentioned does indicate that the folder is shared. There are two things that may cause some confusion though: 1) In some cases, the share operation may be…
-
1. That's correct, the API doesn't currently expose any sort of file hash, but I'll be sure to pass this along as a feature request. 2. Likewise, the API doesn't offer creation timestamps. I'll send this as a request as well. 3. You can set the client_modified time when uploading a file (e.g., using the client_modified…
-
The Java SDK v1.8.2 is for API v1, which is deprecated: https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/ You should instead use the latest version, which uses API v2: https://www.dropbox.com/developers/documentation/java When using that, if you try to upload to an account that's currently over quota, you'll…
-
It sounds like you're referring to API v1's /media endpoint. The API v2 equivalent is /files/get_temporary_link, but unfortunately it's not designed for displaying directly in the browser. Sorry I don't have a better answer for you!
-
API v2 doesn't return the file/folder listing for shared links, e.g., in SharedLinkMetadata/FolderLinkMetadata, unfortunately. I'll send this along as a feature request though. (A workaround would be to use the deprecated /1/metadata/link.)
-
I don't know if there are other ways to accomplish this, but I couldn't recommend or support them in any case, as they would be likely to break without warning and may be against our terms. If you're interested in a partnership, you can contact our business development team here: https://www.dropbox.com/contact_bizdev
-
We now have an API endpoint for creating team folders available. You can find the documentation here: https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-create If you're using an official SDK, this will be implemented in the next update of the SDK. Once the team folder itself is created, you can…
-
We now have an API endpoint for creating team folders available. You can find the documentation here: https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-create If you're using an official SDK, this will be implemented in the next update of the SDK. Once the team folder itself is created, you can…
-
1. What exception are you getting specifically? 2. What do you have so far? What are you stuck on?
-
Unfortunately, there isn't any official method for getting the email address from the desktop client, or resolving the host or NS ID to email address, but I'll be sure to pass this along as a feature request.
-
1) The file extension doesn't matter. You can share any file type. Are you getting an error when trying to share a different file? 2) You can use ListMountableFoldersAsync/ListMountableFoldersContinueAsync to list the folders available to mount in an account. You can then use MountFolderAsync to mount folders using the…
-
That's correct, you'd need to offer this as an option in your app for the user to use before uninstalling. Or, you may be able to handle this programmatically by storing some flag in NSUserDefaults when you link an account, which I believe doesn't persist across re-installs. So, if you don't see the flag, but you do see a…
-
If you're using one of the official Dropbox iOS SDKs, the access token is stored in the iOS keychain, which persists across app re-installations. If you want to clear that, you can do so explicitly. Exactly how you do so depends on which SDK you're using. For example, in the Dropbox iOS Core SDK for API v1, you can do so…
-
This applies to accessing the content, e.g., via download, get_preview, get_thumbnail, or via a link. Uploading, and file operations like moving and copying are allowed.
-
The uninvite events apply to when you remove an invited member from a shared folder before they accept the invitation. For example, using the "Remove" option in the shared folder settings for an invited member that hasn't joined yet.