Greg-DB Dropbox Community Moderator

Comments

  • Sure, there's more information and sample code in the documentation for DropboxOAuth2Helper in the .NET SDK. 
  • @"FrankK1" Thanks for the feedback! No, unfortunately this has not been added to the API. 
  • @"VictorNemiro" As Здравко mentioned, this isn't available. It's not possible to get a preview URL for a specific previous revision of a file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • @"SahithKumar" If you just need a temporary link to the file data, you should use /2/files/get_temporary_link. That will give you a direct link to the file data that lasts for four hours. If you need a longer-lived link though, you should use /2/sharing/create_shared_link_with_settings. As you found, by default, that will…
  • Thanks for the report! Based on your code though, I see that you're running this in a web view, which is not officially supported, per the /oauth2/authorize documentation. (Web views are more prone to issues like this, and are being disallowed by other providers anyway, such as Google, who we support as an sign-in provider…
  • No, unfortunately Dropbox webhooks aren't sent for sharing events like this, e.g., when a user is given access to a shared file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Dropbox webhooks currently only get sent when there is a change the actual contents of…
  • No, unfortunately the Dropbox API doesn't offer the ability to list/download specific files from inside a zip archive stored on Dropbox, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • The files_download method returns a tuple of (FileMetadata, requests.Response), so you can get the file data from requests.Response using the methods provided by that class. For instance, you can stream content from it piece by piece, without downloading the whole thing, using requests.Response.iter_content…
  • If you only want to access the files in one particular account, you can register a "Dropbox API" app with the "Full Dropbox" permission and then use the /2/files/download endpoint to download files from a connected account without any extra configuration. (You can also connect the app to multiple different accounts, but…
  • No, it's not possible to disable the challenge step for configuring webhook notifications for a Dropbox API app.
  • That's correct, the Dropbox Business API does not offer the ability to add more licenses to a team, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • In order for a Dropbox API app to make an API call to access a user's account, the app will need an access token for that user's account. The app can get one by having the user authorize the app to access their account, via the OAuth app authorization flow. You can find more information on how this works in the OAuth Guide…
  • Since this isn't possible with the official app, you would need to write a custom third party app to get the behavior you want. You mentioned you're not a developer, but just for reference, in case you do want to work with a developer on this, note that the Dropbox API doesn't exactly offer a way to list/retrieve events or…
  • That's correct, when you move or rename a file, it gets reported as a deletion and addition. Unfortunately DeletedMetadata doesn't include the file ID, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. For files, you can call /2/files/list_revisions with the path…
  • It sounds like you're using a third party library built on the official Dropbox SDK. You'll need to register a custom URL scheme, which includes your specific app key, in order to setup the Dropbox app authorization flow. You can find information on how to register that under CFBundleURLTypes in the official SDK…
  • The Dropbox API offers custom "file properties" functionality you can use to programmatically add your own metadata to files of any type: https://www.dropbox.com/developers/documentation/http/documentation#file_properties Note that this isn't specific to images and is only accessible to the API app itself. 
  • Apologies for the confusion; I was overly broad in my earlier message. While you can use /2/sharing/add_folder_member to add individual members or groups to shared folders, for team folders in particular you can only add groups, not individual members. If you try the above again, using the 'Dropbox-API-Select-Admin'…
  • Thanks for writing this up! I'm sending this feature request along to the team.
    in webhooks Comment by Greg-DB January 2020
  • @"khan_sikki" I see you also requested help for this issue in your support ticket and included more information there, so we'll follow up with you there shortly.
  • There shouldn't be an issue with AWS in particular, but there are a few reasons you may not be seeing webhook notifications. 1) Have you "linked" or "connected" or "authorized" the app to your account? Webhook notifications will only be sent for changes in accounts that are connected to the app. When you create a Dropbox…
  • There are a number of variables that can affect the overall performance here, so we can't promise any specific speed for listing a folder. Looking at your code though, there are a few things that may help: * You're using "limit: 5", which will limit Dropbox to returning about 5 entries per page. Since you need to make an…
  • From your description, I understand that you registered an API app with the "app folder" permission, resulting in the "app folder" in your account then you connected the app. Unfortunately, app folders are incompatible with shared folders, meaning you can't share an app folder (except as a link, like you mentioned), put a…
  • The /2/sharing/add_folder_member endpoint is a Dropbox API user endpoint, but you can call it using the same "team member file access" Dropbox Business API app via the "member file access" feature. That's a way for Dropbox Business API app's with the "team member file access" permission to call Dropbox API endpoints by…
  • That's correct. The Dropbox API operates by communicating with the Dropbox servers, so information about unstarted or incomplete activity from desktop clients wouldn't be available anyway. I'm afraid I don't have any information to offer about inspecting local file attributes or the local Dropbox client/service. I…
  • Unfortunately, Dropbox doesn't offer an official API for checking the status of the local Dropbox desktop client or files like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • Yes, when you first create a new team folder using /2/team/team_folder/create, it won't have any members. This does mean even the team itself won't automatically be added to it. To add members to the folder, whether that's individual members, groups, or the entire team, you should use /2/sharing/add_folder_member via the…
  • Thanks for the report, and apologies for the confusion! You're correct, these messages should refer to the newer version of the method like you said. I'll ask the team to fix that up.
  • Great, thanks for confirming that. If you want to paginate through all events, you should page through using the cursors as you describe, except that you don't need to start over with the current timestamp once you get has_more = false. You should instead just use that latest cursor you received and call back to…
  • Thank you for the well written bug report! I can reproduce this issue here. We'll look into it and I'll follow up on this thread once I have an update on it from the team.
  • We've deployed a fix for an issue affecting /2/team_log/get_events that would have resulted in a 500 error like this. Please try again now and let me know if you're still seeing any issues. If so, please provide some new request IDs for the latest failures. Thanks in advance!