-
Does sharing_create_shared_link_with_settings create new link every time?
I am using python SDK and looking at 2 different methods: 1. sharing_create_shared_link 2. sharing_create_shared_link_with_setting So from documentation I see that first method returns previously created shared link if it already exists, and creates it if it is not. Does the second method work the same, or it create a new…
-
How to get the time from folder in Dropbox?
Hello Dropboxers, I am using files_list_folder() and files_list_folder_continue() to get a list of files and folders of a given directory. This works and the time of a file is in server_modified in FileMetadata. But I want to know the time of a folder and I cannot find any information in FolderMetadata. How to get this…
-
Revoke short-lived access token without revoking the refresh token
I am using the HTTP API calls to access Dropbox. I'm trying to migrate from long-term access tokens to short-lived tokens. In order to do this, I need to test calling a refresh to get a new access token based on the refresh token. Unfortunately, the short-lived tokens take about four hours to expire, so it makes iterative…
-
Production Approval for a very small amount of users
Our team uses Dropbox to share files. We are a small company and we have recently developed an internal tool to help associate some additional data with our files on Dropbox. We're going through the testing with it and it's working as intended. But as I'm reading through the documentation on production approval for our…
-
Get deletion time for deleted files in a folder?
Is there any way to, in API v2, when listing the folder contents (using list_folder or its various versions), get the time of deletion for deleted items (files in particular, but folders might also be good)? From what I've seen so far, the only way to find a time of deletion of a file is to do a list_revisions call on the…
-
Dropbox, webhooks, continue, 20,000+ folders
So I have setup dropbox, have everything working well, have also setup webhooks to notify that a unknown change has happened. Here is my problem, the dropbox instance has 22,000+ folders inside it. There is absolutely no way I can efficiently process this volume of /folder/continues just for example if one file / folder…
-
How to get OAuth2 access token from OAuth1 token and secret with API v2
hi, While creating an OAuth2 access token from OAuth1, I am getting error saying Error in call to API function "auth/token/from_oauth1": Invalid value in HTTP header "Authorization": "Bearer lZRzKu_9W****BSRr9Ul*****1inv****XSNQmj"% Referred Documentation:…
-
Index was broken, SearchV2 lost answer
Hi, I'd like to understand Indexing for Folders. My service suddenly stopped answering SearchV2, which returned no match files. This folder had over 170,000 files. I recovered following steps, * Rename old folder * Create new folder as same name * Move included files from old to new, take care count of files. After 1.5…
-
Get the Webhook Request from the SDK
Hello Team, We have implemented webhook functionality as per your documentation of the Webhook and getting the Webhook request. But i want to implement Webhook Process from the SDK. is there any way to do that ?. Thanks & Regards Rajhans Kumar.
-
Javascript sdk
Hi. I am kind of stuck. I tried following the github example for the javascript sdk dropbox api but i am not able to access files in the app folder. Can I get an overview of the process and a short sample code to get me started. What i intend to do is to create a web page using html and javascript where i can access a file…
-
Retrieve Dropbox Business plan level via API
Hello. I am trying to determine the dropbox plan level of a dropbox tenant via the API (eg Advanced or Standard). Is this possible? Or perhaps infer the plan level by checking some feature set only available on the advanced plan?
-
Searching for all files with certain extension in Java API and some issues with search queries
Hello! I'm building a small function in which i want to get metadata from for example all of PDF's and DOC files. So I am using a SearchV2Builder withFileExtension option. But i don't know hot write a query for any string. I tried with regexes, wildcards characters and nothing works. ``` private final String extensions[] =…
-
Error: options: expected array, got string - but it is an array?
I'm having trouble with an API call. It claims I send a string, but it seems to me to be an array. This is the full error: Error in call to API function "https://content.dropboxapi.com/2/files/search_v2": options: expected array, got string This is what was sent to cURL: method:"POST"header:"Authorization: Bearer…
-
filesMoveBatchV2 instead of moving files from one folder to another it just deletes the files.
Hello, I am creating this app which upon request will move desired files from one folder to another. However, after request, files are being deleted instead of moved to another folder. To achieve this, I am using filesMoveBatchV2 call and it returns async_job_id. After checking async_job_id with filesMoveBatchCheckV2 call…
-
Search_v2 API Changes
Hi folks, I just wanted to give some feedback regarding the new search_v2 API, which came as a bit of surprise to me. Firstly it seems that the creation of this new API was not announced, at least not anywhere that I can find. I'm a registered Dropbox developer, but I don't seem to have received any notification. I did not…
-
Rename folder and file Directly from the Dropbox
Hello Team, We have implemented Webhook functionality when we are renaming files or folders getting the response to continue API, but We do not identify what files or folder has been changed. Any specific tag in the JSON response, while renaming folder and files. Thanks & Regards Vineet Dubey2
-
Python 3 files_download JPEG. Get UnicodeDecodeError
Using Python 3.8 I can successfully download a JPEG image. However, I want to access the exif information so am trying to use Pillow to open it. Whatever I try I get the following error: 'UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte'. I'd be grateful for any suggestions as I'm…
-
Export file: Size and content_hash mismatch?
Hi there, We use the Dropbox API to fetch and export Paper documents. Recently (like 2 days ago) we observed that the API is returning, what seems to us, inconsistent values. For example, we added a trivial paper document (which had one emoji) and ran the following: curl -i -X POST…
-
moblie app using /oauth2/authorize interface redirect_uri problem
We plan to use the HTTP interface instead of the Android SDK when connecting to the dropbox. There is a problem in using the redirect_uri parameter in /oauth2/authorize. After the authentication is complete, we intend to redirect the app to continue subsequent operations. Now we can't go back to our app. After the…
-
409 restricted_content being returned for files which are not restricted
I believe there is a probem with how file contents are hashed to determine whether content is restricted for API downloads. Here is an exmaple file which is 8 octets long and contains the string "target/" followed by a newline charecter, i.e.: $ od -c TestRestrictedContent 0000000 t a r g e t / \n Clearly, this file cannot…
-
Setting custom properties on files in App Folder
Hi there, I'm trying to set custom properties on files uploaded to the App Folder belonging to my app, but according to the API docs, none of the file properties endpoints "support apps with the app folder permission." I'm wondering if there's an alternative way to set properties that are using the App Folder?
-
Need php sdk v2 for dropbox
Hi there, I need php sdk v2 for dropbox access file and folder. I have searched all around and can't able to find out the solution. Pls suggest the solution.
-
default order of returned metadata of files_list_folder and files_list_folder_continue Python APIs
Hi, What is the default order of the returned metadata when iterating with files_list_folder and files_list_folder_continue Python APIs? Is it arbitrary? By modification datetime? By other metadata? Asking because a third party application iterates and reads files (guessing with files_list_folder and…
-
Getting the Latest Changes of the Files and Folders
Hello Team, We have consumed the Continue API this https://api.dropboxapi.com/2/files/list_folder/continue To get the latest changes of the Dropbox account, but I am still confused what is meaning of has_more Boolean If true, then there are more entries available. Pass the cursor to list_folder/continue to retrieve the…
-
Reducing API Bandwidth Consumption by Limiting Requested Fields
Hello! First-time poster, I've never used the Dropbox REST API before! I was curious if anyone knew the answer to this question. When making a request to https://api.dropboxapi.com/2/files/list_folder you get back a JSON object obviously. However, I only need a subset of those fields in the result object, namely…
-
Upload video from external link
So I'm building this video conference app (ASP.NET) hooked to the jitsi meet platform (https://jaas.8x8.vc/), which allows the Moderator to record the current conference and save it on jitsi's cloud. Through a webhook the moderator is able to get the downloadurl for this video, but since it only remains active for 24…
-
Dropbox integration on a existing website
Good Afternoon, Kindly ask if the below is feasible. My company has an website in use for software repository. Is it possible to integrate dropbox with API on it, so using dropbox only as back end but having as the website as front end ? Trying to understand if the permission related to the file can be managed by the front…
-
Redirect URI with variable loopback port
Is there any way to register an OAuth2 redirect URI that will support using an unreserved (random) port over loopback/localhost? For desktop applications that might not be installed system-wide (e.g., portable installs), app-declared custom URI scheme redirection and app-claimed HTTPS URI redirection aren't available, and…
-
Dropbox changing certificates to more than two?
Hey guys, I am aware that you guys are updating your certificates for Dropbox OTA and it looks like you are planning on going from one overarching certificate to requiring two. I was wondering what the reason for switching from one to two was and if there is any chance in the future that you would add even more? We are…