Greg-DB Dropbox Community Moderator

Comments

  • That thread is regarding an older, retired Dropbox iOS SDK. For the current Dropbox Objective-C SDK, please refer to the documentation here for information on background sessions: https://github.com/dropbox/dropbox-sdk-obj-c#note-about-background-sessions
  • You can specify a particular time range, and/or a particular member, via the `time` and `account_id` parameters, respectively. You can find more information on those in the documentation: https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events The API v2 Explorer may be helpful for building/testing…
  • No, Dropbox doesn't offer a way to programmatically upload to file requests, but I'll pass this along as a feature request.
  • Dropbox doesn't support explicit wildcards for Chooser domain registration, but we're tracking this as a feature request. For reference though, if you only need subdomains like in your example, you can register just the main domain, e.g., example.com, which would enable use on any subdomain of example.com, e.g.,…
  • The Dropbox API doesn't directly return a few of these pieces of information unfortunately, such as file ID in DeleteMetadata, modified/deleted time in FolderMetadata/DeletedMetadata, or modified_by for FolderMetadata, but I'll pass these along as feature requests. There are some other things you can do though. You can…
  • In addition to the PhotoWatch sample you already mentioned, we also have some samples on the GitHub page here. Apologies there aren't more! For reference though, for downloading files, you would use the download methods, and for listening for changes, you would use listFolderLongpoll. If you run in to any issues with…
  • Apologies for the trouble. This should be fixed now.
  • [Cross-linking for reference: https://stackoverflow.com/questions/48846545/dropbox-password-control-api ] The Dropbox API doesn't expose this unfortunately, but I'll pass this along as a feature request.
  • You will get a different cursor each time, but the cursor itself doesn't tell you about the contents anyway. You should refer to the 'entries' list in the response to see what, if anything, changed under that folder.
  • @"rahlpanchal" Pash237 shared an example of using the getTemporaryLink method. Is that not what you're looking for? If not, please feel free to open a new thread with the details of your question.
  • No, I don't have an update on this unfortunately. I'll bring it up with the team again.
  • @"Jan_Zeman" Thanks for the detailed write up! I can't speak on behalf of other users or developers, but I'll make sure this post is brought to the right people.
  • Thanks! Server issues can happen occasionally, so it may be helpful to add some automatic retries for failures like this.
  • The API doesn't offer a way to get the percent progress for these jobs, but I'll pass this along as a feature request.
  • If you don't have a shared link and want to instead download the file directly from the connected account, you can use the download methods.
  • The Dropbox API does offer the ability to download files. Dropbox doesn't have an API v2 SDK for Ruby in particular, but you can use the HTTPS endpoints directly. For example, to download a file, you would use /2/files/download: https://www.dropbox.com/developers/documentation/http/documentation#files-download Or, you can…
  • What kind of "change" for the folder are you looking for exactly? By storing and re-using the latest cursor you received, you can get any/all changes in the folder. If you want to receive changes in subfolders too, set recursive=true.
  • There's no limit on the cursor length, as there's no limit on the number of files/folders that can be in an cursor. There isn't an option for compressing it, and the cursor does contain information that the API, so it's not possible to just send up a hash.
  • @"Pash237" In the Dropbox API v2 Objective-C SDK, you would use the DBFILESUserAuthRoutes -getTemporaryLink: method: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)getTemporaryLink: That's an RPC-style method, so it would be used the same…
  • @"Jan_Zeman" Thanks for the feedback. I know the response on this issue has not been satisfactory, and we sincerely appreciate you following up on it and letting us know. This issue is still open directly with the team, and I'm adding your feedback to it. For reference though, this issue would not be trivial to fix, and…
  • The leading slash is required when identifying non-root paths, so "/images" would be the correct format. The not_found error indicates that there is nothing at the specified path in the connected account. That being the case, make sure that: - you're using an access token for the account you mean to interact with. - you're…
  • The best way to keep track of changes in folders via the API is to use the /2/files/list_folder[/continue] endpoints. By storing and re-using the latest cursor you received and calling back to /2/files/list_folder/continue when desired, you can see just what changed, if anything. The documentation for those endpoints…
  • I listed everything that came to mind in my last post. I recommend using the "state" parameter on /oauth2/authorize.
  • You do need to send the user to the /oauth2/authorize page for them to authorize your app, so you can't get an authorization code directly on your own page. Instead though, you could look into either: 1) sending them there in a pop-up or new tab/window, so that they don't lose the contents of your page or 2) saving the…
  • Thanks for the report! Based on the error message, it looks like the JSON parsing is failing because the response didn't contain valid JSON (e.g., it has "<"). That could happen due to intermittent server issues on our side. I can't reproduce the issue right now. Are you still seeing it?
  • If you want to get the event log, and continuing checking it over time, for a Dropbox Business team from C#, you should use the GetEvents and GetEventsContinue methods in the official Dropbox API v2 .NET SDK, or directly via /2/team_log/get_events[/continue] if you can't use the SDK. Per the message in the documentation…
  • No, Dropbox doesn't offer anything like that, but I'll pass this along as a feature request.
  • Thanks! I was on an older version of carthage, but it looks like this issue is related to more recent versions. It's open as an issue on GitHub here: https://github.com/Carthage/Carthage/issues/2277 I just upgraded, but I still can't seem to reproduce this though. In any case, can you try downgrading to 0.24 to see if that…
  • I believe you can just do something like this instead: dbx.filesDownload({path: '/test.jpg'}) .then(function(response) { var fileUrl = URL.createObjectURL(response.fileBlob); var img = document.createElement('img'); img.setAttribute('src', fileUrl); document.getElementById('results').appendChild(img); })…
  • It looks like you opened another thread for this, so I'll follow up there: https://www.dropboxforum.com/t5/API-support/Binary-to-image/m-p/264555