Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
API
5778 TopicsWhat is the easiest way to download 101 previous revisions of a file?
I have a file that gets edited multiple times a day. There was content in this file that was only visible for a couple days about a month ago. What is the best way to get that information? I tried using the web interface, but it was clear that it would take hours of loading previous versions to get back that far. I did some searching on the forum and saw this post How-to-batch-download-the-entire-file-version-history . I said to myself, that will be a fun project, I might even learn something. With much enthusiasm, I took their advice and wrote my own app. It is Monday morning, April 12, 2021. My app is ready. My file is in the crosshairs. Soon I will be able to find a keyword in all open documents using Notepad++. It is so close. JSON parsing error Reload App . . . JSON parsing error Devastated, I find that I can only load 100 previous versions using list_revisions. This gets me back 10 days... Do I really have to write an autohotkey program to scrape the website to get this information? Or did they implement this request from 2017 and I just don't see it? Thank you683Views0likes2CommentsAPI V2 Modified date for specific revision of a file in Python
Hi, I am trying to get the metadata for a specific revision of a file, with V1 I used to do: metadata = client.metadata(FileName, list=False, file_limit=1, hash=None, rev=revN, include_deleted=False) then I had it in "metadata['modified']". Now I can only see how to download a particular revision or get the metadata for the last N (up to 100) revisions of a file. What if I have more than 100 versions? P.S. How I can specify the revision in the path, as the SDK states for "file_download"? files_download(path, rev=None) Download a file from a user’s Dropbox. Parameters • path (str) – The path of the file to download. • rev (Nullable) – Deprecated. Please specify revision in path instead.Solved2.7KViews0likes5Commentslist_revisions and file deletion information
Dear Dropboxers, In API v1, the list of revisions for a file included information that seems to missing in the new API v2. Specifically: A. In the old API, if a while was created, then deleted, then re-created, the intermediate deletion was visible in the results returned by /revisions (as a "revision" which simply had the "is_deleted" flag set to true, and file size zero). In the results returned by the API v2 "list_revisions" call, there is only a global "is_deleted" flag at the very top, indicating whether the file is currently deleted. In the scenario of creation-deletion-creation, it is completely invisible that the file was for a while deleted. B. In the old API, when a file was deleted, the information returned by /revisions showed who (which user) had deleted the file. In the new API v2 "list_revisions", there is only the global "is_deleted" flag at the top, and the server timestamp indicating when the file was deleted. There is no information on which user deleted the file. Looking at the "Version history" available on the Dropbox website, for the same file, does show the intermediate deletion, and also who deleted the file (for a file in a shared folder). So Dropbox internally does have all this information, still. My questions are then: 1. Did I miss something, or is it indeed the case that /list_revisions is crippled in the way I described, compared to the earlier API? 2. If indeed it is missing information, any plans on changing this? My use case is an app which provides a nice interface to the full history of a Dropbox account, and easy reversion to a previous state. This has worked remarkably well with API v1, but it looks like API v2 is a significant step in the wrong direction in many ways (for example, apparently also limiting the number of revisions to 100 now, from 1000 in API v1). Thanks for any help! PatrikSolved2.3KViews0likes2CommentsApi key
I have a personal Dropbox account I need to get my api key and secret code to backup my KODI configuration and date from my Android device. I have searched the Web for information but can't figure out how to access the information. Do i need need to upgrade my accounr? If so, what level do I need to be able to get the required information? I have previously only used Dropbox as a shared file system between devices. Thanks544Views0likes2Commentshttp/1.1 409 conflict
I have a read-only app folder hosting our software licenses. The access token was a permanent access token. It had been working for years until recently. The query responds with the Http code 409 conflict. The only thing I did several days ago was turning on the two-step authentication. Thinking that may cause the error, I turned that off. However, the query still generate the code 409. Any ideas? Thanks! Yi63Views0likes3CommentsHow to determine the folder type?
Hi. (I am using translation tool.) I think the following method can be used to determine the folder type (team member folder, team folder, shared folder), is this correct? I think it can be determined in the following order: ---------- Step.1: Use "files/get_metadata" endpoint to get the metadata to determine the folder type. If the "shared_folder_id" in the metadata that obtained by Step.1 is null. and If the "parent_shared_folder_id" in the metadata that obtained by Step.1 is null, or the same as the root namespace ID. → Step.2: Determine that the folder type is "team member folder". If the "shared_folder_id" in the metadata that obtained by Step.1 is null. and If the "parent_shared_folder_id" in the metadata that obtained by Step.1 has a value that is not the root namespace ID. → Step.2: Call the "sharing/get_folder_metadata" endpoint with that information as an argument. → Step.3: Determine whether it is a team folder or a shared folder using "is_team_folder" in the result of Step.2. If the "shared_folder_id" in the metadata that obtained by Step.1 has a value. (is not null) → Step.2: Call the "sharing/get_folder_metadata" endpoint with that information as an argument. → Step.3: Determine whether it is a team folder or a shared folder using "is_team_folder" in the result of Step.2. ---------- Thask!63Views0likes2Commentsdropbox integration in make.com
I’m running into a 401 “missing_scope” error while integrating Dropbox with Make.com, and I’d love your insight. The goal: Create a temporary link for a Dropbox file via API. The issue: Dropbox throws [401] missing_scope even after reauth. 🤯 👉 Has anyone dealt with th is before? How did you solve it?55Views0likes1Comment