Comments
-
I see, thanks for elaborating. In that case, you can just pass in "" as the access token in the DropboxTransportClient, and then use that with setupWithAppKey. It should still then use the automatic auth flow and client. Give that a try and let me know if it doesn't work for you. (We're planning on making this more…
-
The auth flow and client retrieval should work regardless of which version of setupWithAppKey you used, so you should be able to just use the one that takes a transport client in the first place. Does that work for you?
-
Thanks for elaborating! Right now you can do this explicitly, like: var request: UploadRequest<Files.UploadSessionStartResultSerializer, VoidSerializer>? self.request = DropboxClientsManager.authorizedClient!.files.uploadSessionStart(input: Data()).response(completionHandler: { (result, error) in if ((result) != nil) {…
-
We'll be happy to help with this. Can you share the name and version of the SDK you're using, as well as the relevant code you have so far? Thanks in advance!
-
When you call uploadSessionFinish (to get your UploadSessionFinishUploader), you supply a CommitInfo instance as the commit parameter. That CommitInfo instance should have a mode (a WriteMode) which determines how the file is written. The equivalent to API v1's "parentRev" is to use the update mode where the value is the…
-
Thanks! We'll look into it.
-
Thanks for following up. This has been requested a few times before, and I've added your vote. I can't promise if or when this will be implemented though.
-
Thanks for the feedback! I'm passing it along.
-
Thanks for the feedback! I'm sending this along to the team as a request for a read-only permission.
-
The team has finished some further work on this, and is reporting the performance should be back to about previous levels. There is certainly still room left for improvement, and the team has an open feature request to improve performance in general, but I don't have a timeline for if/when further improvements would be…
-
The team has finished some further work on this, and is reporting the performance should be back to about previous levels. There is certainly still room left for improvement, and the team has an open feature request to improve performance in general, but I don't have a timeline for if/when further improvements would be…
-
You don't need to be already authorized for API v2 to use this endpoint. This endpoint just requires the app key, secret, and OAuth 1 access token (key and secret), not an OAuth 2 access token. The issue you're running in to is that /2/auth/token/from_oauth1 uses "app authentication" (i.e., you should provide the app key…
-
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: - the name and version of the platform and SDK/library you are using, if any - the steps to reproduce the issue - the full text of any output or errors - the relevant code snippet(s) Thanks in…
-
When you set include_media_info=true, files will not be returned until their media information is available. The media information for files isn't always immediately available though, so you can get missing file entries like this. They will get listed once the information is available, but this can take a variable amount…
-
If you're using the official .NET SDK, you can find some examples here: https://github.com/dropbox/dropbox-sdk-dotnet/tree/master/Examples We'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: - the name and version of the SDK/library you are…
-
As you mentioned, this isn't documented so it's subject to change, but I believe it's up to 2000 entries per page.
-
Yes, Business accounts can use the Chooser/Saver.
-
The API v2 Dropbox JavaScript SDK does not handle access token storage automatically. It is left to the developer to decide what makes sense for their app/platform.
-
If you're using the API v2 Objective-C SDK, the equivalent method is getCurrentAccount: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBUSERSRoutes.html#/c:objc(cs)DBUSERSRoutes(im)getCurrentAccount Here's an example of how you would make an "RPC-style" request like that (for creating a folder in this…
-
Si utiliza el Chooser o el Saver, debe registrar los dominios que utilizará en el campo "Chooser / Saver domains" de la página de la aplicación en la consola de aplicaciones: https://www.dropbox.com/developers/apps Si no registra su dominio (s) como dominios Chooser / Saver, obtendrá ese mensaje de error cuando intente…
-
I can't promise if or when we'd release API functionality for that, but I'll be sure to pass this along as a feature request.
-
Hi Raheel, you can find the documentation for listFolderLongpoll itself here. Using it would look like this: // cursor should be the Files.ListFolderResult.cursor as retrieved by the last call to listFolderContinue DropboxClientsManager.authorizedClient?.files.listFolderLongpoll(cursor: cursor).response(completionHandler:…
-
It sounds like you're referring to the download method in SwiftyDropbox:…
-
[Cross-linking for reference: https://stackoverflow.com/questions/42755495/dropbox-download-file-api-stopped-working-with-400-error ] The error message is indicating that the access token isn't being supplied with the request properly. I can't offer much help with using the HTTP client in Angular, but here's a simplified…
-
I don't have an update on this yet. I'll follow up here once I do.
-
Hi Ashley, "include_has_explicit_shared_members" is a parameter that you can set on some endpoints, such as /2/files/get_metadata. The documenation there documents it as: "include_has_explicit_shared_members Boolean If true, the results will include a flag for each file indicating whether or not that file has any explicit…
-
"Dropbox Business API" app keys can't be used for the Chooser or Saver. You'll need to register a "Dropbox API" app for that: https://www.dropbox.com/developers/apps/create You don't need to apply for production to use the Chooser/Saver though, so you can move ahead with the integration as soon as you register the app.
-
Hi Tinus, unfortunately, app folders are incompatible with shared folders. That is, app folders can't contain shared folders, be contained in shared folders, or themselves be shared as shared folders. If you need your app to interact with shared folders, you'll need to use full Dropbox access.
-
Hi Craig, that extra URL scheme is to support users who have the 'EMM' version of the official Dropbox app. (You can find more information on EMM in the help center.) The third party app authorization flow will normally work via the official Dropbox app, if installed. By adding this extra URL scheme, the same thing will…
-
When you use that download method, the file data will be downloaded to whatever stream you supply. In this case, it's your "outputStream" variable, which is a "FileOutputStream" for "file". That being the case, to avoid this I recommend sending the file directly to the desired location, instead of using the Downloads…