Comments
-
[Cross-linking for reference: https://stackoverflow.com/questions/54762214/how-to-get-complete-path-or-url-of-a-file-in-dropbox ] When you upload a file using the Dropbox .NET SDK, e.g., via the UploadAsync method, you'll get a FileMetadata object back for the uploaded file. You can get the PathDisplay or PathLower…
-
[Cross-linking for reference: https://stackoverflow.com/questions/54758978/dropbox-python-api-upload-multiple-files ] Apologies for the confusion! The Python SDK documentation unfortunately doesn't do a good job identifying the types expected in certain parameters like this; I'll ask the team to work on improving that in…
-
Thanks for clarifying! In that case, I do recommend requesting this with the third party product provider. They can contact us directly, using the contact form or the forum, if they need any help with the Dropbox API.
-
@"ivanhigueram" We'll review your other post and follow up there as soon we can. Thanks in advance for your patience.
-
When calling CreateSharedLinkWithSettingsAsync, if a shared link for the requested item already exists, it will throw an ApiException with CreateSharedLinkWithSettingsError.SharedLinkAlreadyExists. You can then call ListSharedLinksAsync to get the existing link.
-
@"ivanhigueram" I've updated my earlier post to embed the code snippets from the now-defunct StackOverflow Documentation pages directly. Hope this helps!
-
@"cjh39" In place of "MyOauthApiKey" you would put your Dropbox API OAuth 2 access token. Once retrieved, Dropbox API OAuth 2 access tokens can be used entirely programmatically, and don't expire automatically, so they can be used without manual user intervention. E.g., you can use it in unattended code, such as on…
-
The Dropbox URLs in the JSON you mentioned are https://www.dropbox.com/oauth2/authorize... and https://www.dropbox.com/register, which themselves aren't directly related to downloading files. (The former is a page for authorizating an API app, and the latter is the page for registering a Dropbox account.) The link you…
-
Thanks for letting me know. I'll follow up here once I have an update.
-
Unfortunately, it's not possible to add additional owners to an app, or allow other accounts to view/configure an app's settings (i.e., on the App Console), but I'll be sure to pass this along as a feature request. We can transfer API app ownership upon request. To start that process, open an API ticket from the account…
-
When using the Dropbox API to connect to a Dropbox account that's on a Business team using the "team space" configuration, like you describe, API calls will default to the team member folder, not the shared team space. There isn't a way to change this default as an end-user, e.g., from the Dropbox web site, etc.…
-
What specifically are you trying to do, and what are you stuck on at this point? If you're trying to downloading from appspot.com using WebClient, I can't offer help with that, as that's not related to Dropbox. (That said, what you describe does seem expected, since the link you shared is just to an HTML web page. It…
-
Thanks! That helps clarify a bit. One important thing to note: just "deleting" a shared folder from an account does not destroy the namespace for that shared folder. ("Unsharing" the shared folder would.) Deleting a shared folder is just a way to "leave" the shared folder, i.e., to remove yourself as a member. Anyway, if…
-
First, to clarify, do you mean that the deleted user's folder is still listed in the /2/team/namespaces/list response? I can't seem to reproduce that. Can you share the steps you're following to produce that? Is there any way to permanently delete the file? To operate on team owned content, you would use the "member file…
-
@"Michmm90" Thanks for the report! As you found, downloading received files via /2/sharing/get_shared_link_file is unfortunately not currently working, nor is it possible to do so via /2/files/download. I'm afraid that means the API doesn't currently have a working way to download these files programmatically. This is open…
-
I'm closing this thread as a duplicate of: https://www.dropboxforum.com/t5/Discuss-Developer-API/How-to-use-the-public-url-to-access-files/m-p/328617
-
[Cross-linking for reference: https://stackoverflow.com/questions/54691106/need-help-coding-a-downloader-for-dropbox ] The GetSharedLinkMetadataAsync method is meant for accessing the information about shared links from Dropbox itself, e.g., links like this:…
-
Thanks for the report! I can reproduce this issue. We'll look into it, and I'll follow up here once I have an update. It's not possible to change the permission on an existing app. This issue does appear to affect apps with the app folder permission, but not the full Dropbox permission, so you may want to use your new…
-
The Dropbox API doesn't return the file/folder ID for DeletedMetadata, but I'll pass this along as a feature request. You can call /2/files/list_revisions with the path from the DeletedMetadata to get the history of the file at that though, including the file ID(s). Alternatively, you can store the path and id for the each…
-
The 'too_many_write_operations' error indicates "lock contention". That's a result of how Dropbox works on the backend. This is a technical inability to make a modification in the account or shared folder at the time of the API call. This error indicates that there was simultaneous activity in the account, shared folder,…
-
The filesListFolder method you included in your code is just for listing files and folders; it doesn't itself offer access to file data. Also, the 'https://www.dropbox.com/home/folder/...' kind of URLs you mentioned are private URLs for your account. You can't use them to embed file data. Jay was referring to getting a…
-
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.