Greg-DB Dropbox Community Moderator

Comments

  • No, the Dropbox API doesn't offer an option for restricting search results like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • @"FormtoolOffice" Здравко is correct. The information from the developers is out of date. To elaborate and clarify, there have been three different ways an app may have worked at various points: * long-lived access tokens: Apps previously could have the user authorize the app to receive a long-lived access token that could…
  • The OAuth process where the user chooses to authorize the app and the app then receives the resulting access token and optional refresh token does require manual interaction, but this only needs to be done once per Dropbox account. If your app needs to maintain long-term access without the user manually re-authorizing it…
  • It sounds like the makers of Empower haven't implemented support for "refresh tokens" and so the app is only using "short-lived access tokens", which expire after a few hours. The developers of the app will need to update it accordingly to maintain long-term access on new authorizations. You may want to reach out to them…
  • @"tkirby926" Здравко is correct. The Dropbox API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. 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…
  • @"EthanW" A 'path/not_found' error indicates that there was nothing found in the specified account under the relevant root at the specified path. There are a number of ways you may end up with this error. For example, you may just have a typo in the path value, or may be connected to the wrong account, etc. The Getting…
  • You don't need any special kind of account to create an app; any kind of account can do so. I just gave it a try, and it is working for me. The "Create app" button gets enabled once I select scoped access, pick an access type, enter an app name, and check the checkbox to agree to the terms (if not previously done on the…
  • Thanks for the feedback! As Здравко said, there may some ways to optimize your call pattern, but it would very much depend on your particular scenario, and it sounds like you have certain design constraints to accommodate. As for the Dropbox API itself, you're already using the right endpoints. The…
  • Some API objects/fields are re-used in the API specification, and are not returned in every case or from every endpoint. The 'preview_url' is available for shared items, and can be retrieved from the sharing endpoints such as /2/sharing/get_folder_metadata for shared folders and /2/sharing/get_file_metadata for…
  • Other types of namespaces like that aren't specific to a single team member. Shared folders have multiple members (and the owner can change over time), for instance, and team folders are owned by the team. And that's correct, /2/sharing/list_file_members/batch does work differently than /2/sharing/list_file_members. Refer…
  • @"EthanW" No, I don't have an update on this. Thanks for the feedback!
  • For team member folders, the /2/team/namespaces/list and /2/team/namespaces/list/continue results include the relevant team_member_id in the NamespaceMetadata object. For shared folders, you can still use /2/sharing/list_folder_members and /2/sharing/list_folder_members/continue to list the shared folder's members and…
  • [Cross-linking for reference: https://stackoverflow.com/questions/74813769/retrieve-thousands-of-files-and-folders-without-throttling ] It sounds like you have the right idea here, though be sure to use batch options/endpoints whenever possible. For instance, use recursive:true on /2/files/list_folder and then page through…
  • @"Cinelist" As Здравко indicated, Dropbox does not offer the ability to grant an app/access token access to specific existing folder(s) only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The Dropbox API currently offers two levels of file/folder access: "app…
  • @"shivanitanwar" The /2/files/download endpoint is still the right way to download file content from the Dropbox API. (By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS…
  • @"vas92" As Здравко mentioned, it sounds like you have one or more "team" scopes enabled on the app you're attempting to connect. The "team" scopes enable access to Dropbox team-specific functionality, and so can only be authorized by Dropbox team admins. If your account is not on a Dropbox team, you won't be able to…
  • Thanks for following up. Unfortunately as that library is not made by Dropbox, we cannot provide support for it. You may want to refer to the documentation or support resources for that library for help using it. If something is not working as expected on the Dropbox API itself, such as with the Dropbox OAuth app…
  • Update: the API does now support a "concurrent" upload session mode. Check out the documentation for more info: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start
  • A 'lookup_failed/incorrect_offset' error like this indicates that the "offset" parameter value you supplied for the upload session in the API call does not match what the server currently expects for that upload session. The "offset" value is the amount of data (in bytes) that has been uploaded so far for that upload…
  • Yes, it is possible to connect an app to a team itself, instead of just a specific account, by requesting any "team" scopes. You can find more information in the team endpoints documentation here. That can be used to access files/folders like an individually-connected app can, without the files/folders needing to be moved…
  • 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…
  • First, note that there are currently two different Paper configurations that an account may be using, which will affect how you use the API to interact with Paper docs. You can find information on this in the Paper Migration Guide. For legacy Paper docs, you would use the /2/paper/docs/list and /2/paper/docs/list/continue…
  • @"bspindia" As Здравко mentioned, you need to set the file extension (and name) when uploading to Dropbox via the API. For example, when uploading using the /2/files/upload endpoint, you should set the full path, including file name and extension, of where you want to upload the file in the "path" parameter. In the output…
  • Dropbox does offer an API that can be used to integrate with Dropbox. If you're a programmer, or are working with one, that would enable you to list, upload, and download files to/from Dropbox, among other operations You can find everything you need to get started with the Dropbox API, including documentation, tutorials,…
  • @"bspindia" Здравко is correct; you can use a refresh token to get new short-lived access tokens when needed without having the user manually re-authorize the app each time. Please refer to the resources linked earlier in this thread for more information on that.
  • Thanks for writing in, and for the feedback. I understand you're interested in making a photo gallery on your web site. Dropbox does offer the Dropbox Embedder which can display a folder of photos via a shared link to the folder, but it doesn't offer custom branding. I'll pass that along as a feature request, but I can't…
  • The Dropbox Saver unfortunately does not officially support data/blob/object URIs like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
    in saver Comment by Greg-DB December 2022
  • The choice of trust store to use with your client is up to you, but to be able to successfully verify and connect to the Dropbox API servers you'll need to trust the root CA(s) used by the Dropbox servers. I can't provide any guarantee on if/when Dropbox will change its certificates.
  • No, there isn't a way to fully automate the Dropbox Saver, but if you want to perform save operations like that programmatically, you can use the /2/files/save_url API endpoint instead. That's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those…
    in saver Comment by Greg-DB December 2022
  • @"projectdeliverypartners" As Здравко noted, unfortunately Dropbox does not offer an API or way to programmatically manage the official Dropbox desktop client, such as to pause or resume syncing, except that the Dropbox desktop client on Linux only does support some command line commands. I'll pass this along as a feature…