Greg-DB Dropbox Community Moderator

Comments

  • 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…
  • No, unfortunately I don't have an update on this.
  • Did you make any changes to your app's configuration on the App Console recently, perhaps accidentally? Specifically, please check that your have "Allow implicit grant" set to "Allow" on the app's page on the App Console, since you do need that for the app authorization flow used by the Java SDK. If it's set to "Disallow",…
  • I see, thanks for clarifying that screenshot. I'm afraid I don't have a solution to offer, but I'm sending this along as feedback to the team.
  • The ShareFolderAsync method returns a ShareFolderLaunch. Per the ShareFolderAsync documentation, if a ShareFolderLaunch.AsyncJobId is returned, you need to periodically call CheckShareJobStatusAsync to see when the job (i.e., sharing the folder) is done. Once you get ShareFolderJobStatus.Complete…
  • The Dropbox API now offers the ability to get a temporary upload link so that you can have clients upload to an account without an access token for the account. You can find more information in this blog post: https://blogs.dropbox.com/developers/2019/01/new-file-upload-link-api/
  • The Dropbox API now offers the ability to get a temporary upload link so that you can have clients upload to an account without an access token for the account. You can find more information in this blog post: https://blogs.dropbox.com/developers/2019/01/new-file-upload-link-api/
  • @"Info V.1" That's correct, on the API, this determines whether or the events in the 'file_operations' event category are returned. You can find some more information in the /2/team_log/get_events documentation.
  • Thanks for following up. I'm glad to hear you already tracked down how to reproduce this. I don't believe this is a new behavior; it's just appears to be not as common. Unfortunately, there isn't a way to change how the file ID system works. You can essentially "resolve" these file IDs though, by calling the API with them.…
  • If you want to share folders with other members programmatically but handle the communication yourself, you can do so. You will still need to call AddFolderMemberAsync; otherwise they won't have access to the folder. To do so, you would want to: * Share the folder initially using ShareFolderAsync (this only needs to be…