Greg-DB Dropbox Community Moderator

Comments

  • Dropbox is in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh…
  • @"peyo" Thanks for the feedback!
  • In that case, at that point in time, the "BBB" folder is no longer mounted anywhere in the user's account, though they still have permission to access it. If an app is connected to the account via the API, it can remount the folder using /2/sharing/mount_folder. Alternatively, the user can do so manually via…
  • @"itsisaf" Здравко is correct; with a shared link you can download the content directly. Refer to this help article for more information on configuring these links. And as they said, if the shared link is for a folder, you can use /2/files/list_folder[/continue] to list the contents of the folder. And to download a file…
  • It is not possible to get a refresh using an app key and access token programmatically. You can only get a refresh token using the OAuth app authorization flow. Likewise, it is not possible to fully automate the OAuth process where the user chooses to authorize the app and the app then receives the resulting access token…
  • This is the expected behavior. Webhook notifications are only sent for changes that occur in accounts that are connected to the app. Generating an access token for the app on your account the first time connects the app to your account. Likewise, you can use the OAuth app authorization flow to have arbitrary end-users…
  • You can do this via the API. You should use /2/sharing/share_folder to share the nested team folder, if it hasn't already been shared, and the use the resulting shared folder ID for that nested folder with the other sharing endpoints, e.g., /2/sharing/add_folder_member, etc., to manage the sharing as desired.
  • Unfortunately it's not possible to add additional owners to an app, or allow other accounts to view/configure an app's settings on the App Console, or have an app owned by a team itself, but I'll be sure to pass this along as a feature request. I can't promise if or when that might be implemented though. We can transfer…
  • Unfortunately, this isn't available on the public Dropbox API, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • Dropbox doesn't offer a specific mechanism for testing the API exactly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. If you want to check that your app has the ability to make API calls though, you can technically use any endpoint that the app/access token is…
  • I can't say for sure exactly what happened off hand, but it sounds like a team admin may have changed the folder structure and settings. You may want to contact support for help investigating and potentially reverting whatever changes were made. (Or if you're not an admin on the relevant team, it may be best to have them…
  • Unlike the direct temporary links, shared links do not refer directly to the file data. They actually refer to an HTML preview page for the file. That being the case, attempting to embed the file data somewhere using a shared link will fail (because the returned data is the HTML for the web page, not the file data). You…
  • @"eli-" Thanks for the message. We're working on it and I'll follow up here once I have an update.
  • Calling list_folder with "path": "" will start listing everything under the "root" for the call, for either team configuration. By default, the root for a call is the "home" folder (i.e., the member's individual folder). For teams with the team folder configuration, that would include anything in their account. For teams…
  • @"jlang " Thanks for the note. Engineering is looking into it.
  • Unfortunately there isn't a direct way to list all shared files/folders that the connected account specifically owns only. There are a few different types of sharing on Dropbox, so for reference I recommend reading the Sharing Guide if you haven't already. The check the members/owner of a shared folder, you would use…
  • I'm not aware of any changes that should have caused this, but there are a number of possible things that might have occurred here. First, you mentioned using ListFolderAsync, but have you also implemented ListFolderContinueAsync? That interface is paginated and does not guarantee all entries will be returned on a single…
  • @"chaos-cloud" Thanks for the note!
  • You can call list_folder with "path": "" (that is, the empty string), and "recursive": true (if desired), to list everything under the root. The resulting cursors for all further calls resulting from that will retain those settings so you can store and continue to use those over time. I recommend reading the File Access…
  • The /2/file_requests/count endpoint is for getting the count of "file requests", not actual files. The Dropbox API doesn't offer a way to just retrieve the total number of files in an account, but you can list and count them using /2/files/list_folder[/continue].
  • You can also find examples of this functionality in the Dropbox API v2 Java SDK here. For Android apps in particular, if relevant in your case, using the official Dropbox API v2 Java SDK, you should use the updated authorization functionality, starting with the startOAuth2PKCE method. You can find an example app here. For…
  • For reference, I can reproduce this, but only in some browsers (e.g., Chrome but not Firefox), so there seems to be some browser-specific implementation details that affect this. In any case, it still sounds like the right solution here is to move the long work out of the callback.
  • @"Ashrafali" No, there isn't an option to close or hide it explicitly. It will automatically close. As Здравко said, it sounds like the issue here is that you're blocking the callback. You should move your operations out of the callback as they said, so that it will automatically close quickly.
  • @"11robert" Здравко is correct; we don't have VB examples to share, so I recommend referring to and translating the C# examples. I'll pass this along as a feature request for VB examples, but I can't promise if or when that might be implemented.
  • That would be the /2/sharing/relinquish_file_membership endpoint, which is the DbxUserSharingRequests.relinquishFileMembership method in the Java SDK.
  • @"craigz" Thanks for the information!
  • @"mick_bg" Thanks for the note. The team is looking into it. I'll follow up here once I have any news.
  • Yes, you can register an app for "full Dropbox" access, if you haven't already, and use that to interact with any shared folders in the connected accounts of your users. This doesn't require a Business account in particular; any kind of account can use shared folders. You can find information on interacting with the…
  • The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files/folders. While it is technically possible to always connect to just one account for all users, we do not officially support this, for various technical and security reasons.
  • Thanks for reporting this. Yes, we're currently looking into this. I'll reply here once I have any news.