Comments
-
Each Dropbox Business team contains a number of accounts or team members, and each Dropbox account can only be a member of a single Dropbox team at a time. Even when you have access to multiple teams via the "Enterprise console", they still operate as separate teams on the API. When connecting an API app to a team, the…
-
@"vimala_palanisamy22" Connecting an app to a team works the same way as connecting an app to a user account. You would use the OAuth app authorization flow (or the app owner can use the "Generate" button if they just need a short-lived access token), but the developer would enable the relevant "team" scope(s) first.
-
@"vimala_palanisamy22" You cannot get an access token for someone else's app without using the OAuth app authorization flow. If you need an access token for someone else's app to connect to your account, you will need to use the OAuth app authorization flow as documented. (The owner of an app can use the "Generate" button…
-
Unfortunately the Dropbox API doesn't offer a way to do this using the link from an account that isn't an explicit owner/editor like you described, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"makrand kulkarni" Здравко is correct. While the authorization process needs to be processed manually once per user, you can use a redirect URI to make that process easier. Please refer to the resources that Здравко linked to.
-
@"Jistix" You do not need two distinct Dropbox apps. When using just "user" scopes, any kind of Dropbox account, Business or not, can be connected to your app. When using any "team" scopes though, only Dropbox Business teams can be connected to your app, and only Business teams admins can perform that authorization. You…
-
Yes, it's possible for a member (even the owner) of a shared folder to not have it mounted in their account. The Sharing Guide may also serve as a useful reference.
-
If the path is not present, that means that it is not mounted for that user, per the documentation: path_lower String? The lower-cased full path of this shared folder. Absent for unmounted folders. This field is optional.
-
@"vimalapalanisamy22" No, it is not possible to automate the app authorization flow. That will need to be processed manually once per user. The resulting access token and optional refresh token can be stored and re-used programmatically. Refer to the OAuth Guide and authorization documentation for more information.
-
Connecting to Dropbox via the Dropbox API operates using OAuth access tokens, not directly using username and password. I recommend checking out the following guides to get started: * https://www.dropbox.com/developers/reference/getting-started * https://developers.dropbox.com/oauth-guide
-
It looks like you have the output of /2/team/namespaces/list[/continue]. This will give you the namespace ID of shared folders, etc., for the team, but the path can vary for each member of the shared folder. To get the path for any given member, you'd need to look up the shared folder using their account. For instance, you…
-
1. I don't have metrics to share on the failure rate for this endpoint. 2. There is a 5 minute transfer limit on these operations. You can find the documentation here. 3. Retrying the operation is generally the best way to handle this. We may be able to look into these specific failures for you though. If you'd like us to…
-
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!