Comments
-
That's correct, the Dropbox API doesn't offer functionality like /2/files/get_temporary_upload_link but for large files. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
No, unfortunately the Dropbox API doesn't offer pre-signed upload session functinoality, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
We don't have information to share on the decisions behind the design of any particular endpoint/scope on the API, but this is the expected behavior for this endpoint and scope.
-
@"julio_diniz_perdigao" There's no particular guarantee on whether using a file ID or a file path to retrieve a file's metadata would be faster. (There may also be other variables that would affect that anyway.)
-
@"julio_diniz_perdigao" As Здравко suggested, you don't necessarily need the file ID and can instead monitor for changes. Check out the Detecting Changes Guide for information on how to do so. If that isn't sufficient for your use case though, you could first upload a placeholder (e.g., a zero byte file, or something else…
-
@"julio_diniz_perdigao" Thanks for the feedback!
-
@"GSD Company" Здравко is correct; you can use the API/SDK to upload and get links to files, but that would require at least two calls. For reference, you can find the official Dropbox Java SDK here. You can find the documentation for the upload functionality in that SDK here. Likewise, you can use…
-
If you're a programmer, you can use the Dropbox API to automatically create folders and move files as desired. The following guides may be helpful: * Getting Started Guide * File Access Guide * Detecting Changes Guide And in particular, the following API endpoints would be useful: * to list the contents of a folder:…
-
@"Msadr" Здравко is correct; you do not need to add anything to make a standard hyperlink work. From your description though, it sounds like you may still be using some Embedder or iframe functionality. Make sure you only have the standard anchor element if that's the only thing you want. Otherwise, feel free to show what…
-
@"Rahul LR" Yes, you can search for tagged items using files_search_v2.
-
@"Egorov_WIIW" Like Здравко said, make sure you're catching and handling any/all potentially relevant exceptions. Additionally, for the case where no exceptions are being raised, check the return value of files_upload.
-
@"rushikesh1" As Здравко said, if you need help with the API/SDK, please share the details of the issue to show us specifically what isn't working as expected so we can take a look.
-
Во-первых, обратите внимание: всякий раз, когда вы получаете подобный ответ об ошибке, например, с кодом ошибки 400, обязательно проверьте тело ответа, поскольку оно может содержать более полезное сообщение об ошибке. Однако, глядя на ваш код на основе вашего «refresh_token: accessToken», похоже, что вы предоставляете…
-
Based on your description, such as creating the app and registering the domain, it sounds like you've tried to set up the Dropbox Embedder. The Dropbox Embedder is a way of displaying content from a Dropbox shared link directly on a third party site. You mentioned that you don't actually want to display the contents…
-
@"Carter57" Здравко is correct. This error occurs when attempting to connect an app with any "team" scopes but the user account isn't a team admin. The "team" functionality can only be used by Dropbox teams, and can only be authorized by Dropbox team admins. If your app only needs to use "user" endpoints, such as for file…
-
@"athithan" That's correct, the SDK hasn't been updated to include that property yet. I'll ask the team to update it, but I can't guarantee a timeline for that.
-
@"dbmt" As Здравко indicated, you would need a refresh token to maintain long-term unattended access. Dropbox issues short-lived access tokens, which expire after a few hours, and optional refresh tokens, which don't expire. Apps can get long-term access by requesting "offline" access, in which case the app receives a…
-
No, a redirect URI is not required to get a refresh token. Whether or not a redirect URI is used though, the manual authorization step does need to be handled by the user manually in order to authorize the app to access their account and receive a refresh token. This only needs to be done once per account though; the…
-
The redirect URI is the location where the user should be sent after they authorize the app to access their account. It should be a URI controlled by your app and defined by you as the developer of the app. That being the case, I can't tell you exactly what yours should be, but for example, if you're building a web app and…
-
Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now 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…
-
@"julio_diniz_perdigao" There isn't webhook functionality specifically for /2/files/save_url jobs, but webhooks would be sent for files added via /2/files/save_url in a connected account just like files from any other source. To check the status of any particular /2/files/save_url job, you should poll…
-
@"julio_diniz_perdigao" The documentation for /2/files/save_url is correct; the limit was changed from 5 minutes to 15 minutes in 2023.
-
@"lanceuep" Thanks for the feedback!
-
Thanks for the feedback! I'll send it along to the team.
-
You can use the refresh process (that is, calling /oauth2/token with grant_type=refresh_token) to get a new short-lived access token using a refresh token at any time, but doing so does not invalidate previous short-lived access tokens. You can use /2/auth/token/revoke to revoke an access token, but that will also revoke…
-
@"Jeff B.63" Dropbox issues short-lived access tokens which expire after a few hours. Apps can get long-term access by requesting "offline" access, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. Refresh tokens…
-
@"Jeff B.63" I see you have changed the parameter data to be JSON, but you still have it in the "Queries" section for your client. I can't offer support for your client itself, but it appears your client sends that as URL parameters. That JSON needs to be sent in the request body, so you probably need to put that in the…
-
@"Jeff B.63" It looks like you are supplying the "path" parameter as a URL parameter; it instead needs to be supplied in JSON in the request body. You can find more information in the documentation for the /2/sharing/create_shared_link_with_settings endpoint, as well as the documentation for the RPC format it uses. You can…
-
@"Jeff B.63" Здравко is correct; while the 'User-Agent' value is meant to contain the app's name, it does not impact the functionality of the API call. If the call is still not working for you, make sure the app is formatting the request correctly. It may help to print out the actual HTTP request, if possible. (If you…
-
Regarding the iOS display issues, since the content is there, albeit not displayed properly, it sounds like the shared link itself is working in that it is returning the file data. We can't really offer help with the display of content on web pages, as it looks like that would be more of a matter of HTML/CSS. As for the…