Greg-DB Dropbox Community Moderator

Comments

  • Using the 'include_mounted_folders' parameter would be the closest option to this, but from your description it sounds like you want the "false" behavior, not the "true" behavior as you wrote. Anyway, note per the documentation that this only affects "entries under mounted folders", not the mount points themselves. I.e.,…
  • That's correct, and no, unfortunately there isn't really an easier way to do that with the old configuration. (You may want to look into using /2/team/namespaces/list[/continue] and listing by each namespace though; that may streamline it, depending on what you're looking to do exactly.)
  • The Dropbox API doesn't offer a way to list/retrieve events programmatically unfortunately, but I'll pass this along as a feature request. (The Dropbox Business API does offer /2/team_log/get_events[/continue] but that's for the Dropbox Business activity log, and only available to Dropbox Business API apps connected…
  • Yes, on the Dropbox Business API, you can use the /2/team/features/get_values endpoint to check the 'has_team_shared_dropbox' feature to see if the team uses the team space configuration. Or, on the Dropbox API, you can call /2/users/get_current_account and check the returned RootInfo type to see if the user is a member of…
  • It looks like your questions is about the Box API, but this is the forum for the Dropbox API. You should reach out to Box for help.
  • @"VitalyK" Can you try again and let me know if you're still seeing this? Thanks in advance! 
  • We unfortunately don't have a way for developers to get test accounts like this, with this feature toggle-able, but I'll pass this along as a feature request. For reference, I do recommend reviewing the Namespace Guide and Content Access Guide, if you haven't already, as they are good references for this. In accounts on…
  • Dropbox API access tokens currently don't expire automatically, so you should be able to store and re-use them like this. Note that they can be revoked by the user or app at any time though. Can you inspect the AuthException you're getting? It inherits from StructuredException<AuthError>. The AuthError should more…
  • No, unfortunately the Dropbox API doesn't offer a way to check the data transport usage, but I'll pass this along as a feature request. 
  • If you've already created the team folder, you can then share a sub folder under it using /2/sharing/share_folder, and then add the group as a member using /2/sharing/add_folder_member. That would look like this: curl -X POST https://api.dropboxapi.com/2/sharing/share_folder \ --header "Authorization: Bearer…
  • When using upload sessions to upload larger files, you can likewise specify the WriteMode in the CommitInfo you pass to UploadSessionFinishAsync using CommitInfo.Mode.
  • The CreateSharedLinkWithSettingsAsync method can be used to create shared links for files or folders. If you access a shared link for a zip file in particular, the Dropbox web site will allow the user to browse through the contents of the zip file.
  • In the code you shared here, you're getting the PreviewUrl for the shared folder, which does require members to be signed in. If you want a shared link that anyone can access, you should use CreateSharedLinkWithSettingsAsync. If a shared link already exists, that will give you…
  • No, for a link created using CreateSharedLinkWithSettingsAsync with the default settings, the recipient does not need to be signed in.
  • Thanks! The omission of the path on the deleted entries in this case would be for the same reason as mentioned in my previous post yesterday; i.e., without the path root there's no root for the paths to be mounted relative to. For shared folders, the shared folder ID will be consistent across users, so you can keep a list…
  • Thanks! We'll look into it.
  • Thanks for the report! To help us investigate, please let me know: * the full URL of the page where you're seeing this issue * the full name and version number of the browser(s) installed on the device(s) where you're seeing this issue * what, if any, error or output you get on the page or in the JavaScript console Thanks…
  • You should be able to create a shared link that anyone can access using CreateSharedLinkWithSettingsAsync. (Though, content may be subject to team and/or shared folder policies.) Is that what you're using? Please share the code/output if something isn't working as expected.
  • [Cross-linking for reference: https://stackoverflow.com/questions/54578157/view-only-no-download-for-audio-file-by-api ] This feature is not currently available via the API, but I'll pass this along as a feature request. 
  • The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. It is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons. However…
  • Yes, you can control what happens when uploading to a path where a file already exists by specifying a particular WriteMode, e.g., to the `mode` parameter for UploadAsync. Please refer to those documentation pages for more information (and be sure to review the `autorename` parameter as well).
  • Can you share a bit of sample code/output for that case so I can take a look? Thanks in advance! 
  • To delete a file or folder, you should use DeleteAsync. Note that deleting a folder removes it from the account, but it does not unshare it from other members. To remove a specific member from a shared folder, use RemoveFolderMemberAsync. To fully unshare a shared folder, use UnshareFolderAsync.
  • there are several folders that are inside team folders and show up within the team folder on the UI, but when I list those folders via API I don't see `path_display` Do you mean you're calling for a namespace directly as an admin without a root like this? curl -X POST https://api.dropboxapi.com/2/files/list_folder \…
  • The Dropbox iOS SDKs don't offer the ability to switch between multiple app keys, but I'll pass this along as a feature request. Can you elaborate on your use case for reference? Also, note that even if you switched app keys, any stored access tokens (and consequently, the corresponding app folders) would still only be…
  • Thanks! That stack is helpful. This looks like something that would need to be addressed in the Dropbox SDK itself. We'll look into it.
  • Thanks! We'll check on that.
  • Thanks for following up. I'm glad to hear that's working now. The "implicit grant" is another name for the "token flow", which is the OAuth app authorization flow used by the Java SDK on Android. You can read more about it in the documentation if you wish. That was always required to be set to "Allow" for this to work. Did…
  • Thanks for the feedback! We appreciate it. I'm sharing this with the team. Note that if a Metadata object doesn't contain `path_lower` or `path_display`, it indicates that "the file or folder is not mounted". I.e., it's in a shared folder that isn't currently added to the account, so it doesn't have a path in the account.…
  • The Dropbox API offers the ability to get thumbnails for images files via the /2/files/get_thumbnail and /2/files/get_thumbnail_batch endpoints. Note that it only supports retrieving thumbnails of certain pre-determined sizes though. Click on "ThumbnailSize" to see the list. The particular sizes you mentioned are not…