Greg-DB Dropbox Community Moderator

Comments

  • 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.
  • You can find information on using the Dropbox OAuth app authorization flow in the OAuth Guide and the authorization documentation. If you're using any particular SDK or library, be sure to refer to the documentation for that in particular as well.
  • Currently, app folders are incompatible with shared/team folders, meaning you can't share an app folder, put a shared/team folder inside an app folder or put an app folder in a shared/team folder. Instead, if you need to use the API with shared/team folders, you'll need to use "full Dropbox" access type, as opposed to the…
  • @"Omri1984" I can't offer API support via phone or a virtual meeting, but I can help here. Здравко is correct, v4.7.0 of the Dropbox .NET SDK does not support refresh tokens. That was added in v5.0.0. You'll need to update to at least that version (or ideally the latest version, currently v6.30.0) for automatic refresh…
  • @"SirCrumpet" Thanks for the note. I don't have an update on this yet, but I'll follow up here once I do.
  • @"landdogger" Thanks for the information!
  • @"Omri1984" If you are using v4.7 of the Dropbox .NET SDK, then as Здравко noted, that won't work because that version of the Dropbox .NET SDK didn't support refresh tokens. It sounds like by "4.7" you may be referring to the version of the .NET framework itself though, not the Dropbox .NET SDK. Either way, if you still…
  • 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 number of the platform and SDK you are using * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token value(s)…
  • @"Andreas W.4" Thanks for the note. I don't have an update on this yet. I'll reply here once I do.
  • @"alexiscastillodj" Yes, as Здравко said, you can find information about these types and methods in the documentation for the Python SDK. Specifically, the files_list_folder method is only available on the Dropbox type, so you'll need a Dropbox instance to call that. Attempting to call that on DropboxTeam won't work. Note…
  • This isn't related to the (server-side) Dropbox API, so I can't offer much help with this here, but if you open a ticket with the relevant details (e.g., the specific steps and code you're using when you see this issue, and a sample of the unexpected output) we can direct that to the relevant department.
  • SwiftyDropbox does not currently support background uploads, 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 implement your own uploading code outside of SwiftyDropbox, you can do so using the HTTP endpoints. In particular, for uploading large…
  • 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 number of the platform and SDK/library you are using, if any * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or…
  • @"mkozlows" No, unfortunately I don't have any news on this.
  • Yes, this works with app authentication as well. In that case it would look like: curl -X POST https://content.dropboxapi.com/2/files/get_thumbnail_v2 \ --header "Authorization: Basic <ENCODED_APP_KEY_AND_SECRET>" \ --header 'Dropbox-API-Arg: {"resource":{".tag":"link","path":"/test.jpg","url":"<SHARED_LINK>"}}' \ -o…
  • @"bozae" As Здравко explained, it sounds like you'll need to debug your upload process. If something doesn't appear to be working as expected, feel free to share the steps and code to reproduce the issue and any unexpected API error/output so we can take a look.
  • You should be able to use /2/files/get_thumbnail_v2 to get a thumbnail of a file from a shared link for a folder. I just tried it out and it worked for me. Here's an example of what the call might look like for curl, for instance: curl -X POST https://content.dropboxapi.com/2/files/get_thumbnail_v2 \ --header…
  • I'm not sure I follow. Can you clarify what functionality specifically you're looking to implement? You can use the upload methods to overwrite existing files with new data, for instance.
  • Thanks for reporting this issue. This issue has now been addressed. To resolve this issue, please now disable and then re-enable the files.permanent_delete scope and then click "Submit" for any affected apps(s) on the "Permissions" tab for the app on the App Console. If you do not need the files.permanent_delete scope, you…