-
Is there an audit log endpoint in v2?
Business api v1 has an endpoint for audit events: log-get-events , does v2 have an endpoint with similar features? Also, I'd like to match events with files, f.e. comments, but in v1 I've seen that no path is returned in the add_comment event info_dict, but only base_name (not even path), which makes harder to match in…
-
Photos
I have the "Photos" section in my Dropbox under https://www.dropbox.com/photos Is there an API for this service? I'd like to at least list my Photo albums and their contents. Thank you, Péter
-
Dropbox Chooser allows invalid extensions using Upload option
My QS team is testing an application that utilizes the Dropbox chooser. We have the option set to allow only certain file extensions, but they've found that if they select "Upload" with the widget open, and upload a file with an invalid file type, they are allowed to choose it.
-
After updating to iOS 9, App gets stuck when trying to login into dropbox
Hi, My App stopped working after updating to iOS 9 because of the new Apple restriction on canopenurl which forces to register the url schemes you plan to you use in your app. I followed this tutorial to register the url schemes for my App:…
-
How to access a directory programatically with java android code in dropbox
Not able to provide the correct path to upload a file programatically in dropbox. putfile() can be used..But the path i am not able to provide . Searching for last 4 hours.Not able to find a solution.Please help if anyone can.
-
Migrating oauth1 to oauth2 using token_from_oauth1
I have been using Dropbox via the Sharpbox toolkit for a while. It's based on oAuth1, so I have a database full of oAuth1 access tokens for my users. I'd like to convert to the new Dropbox API, which is based on oAuth2. I see that there is a "token_from_oauth1" endpoint in Dropbox's v1 spec, but I'm not figuring out how to…
-
Swift API v2 Example of uploading a file using filesUploadSession(Start, Append, Finish)
I have used the OSX interface in the past for chunked file uploads to support large files. I can not quite figure out the process with the Swift API. Test cases for the API would be great, they would provide examples of usage. In the absence ... do you have any code examples that you can share.
-
Search API: More than 1000 results / pages / offsets / pointers?
The search API seems to have a limit of 1000 results. Is there a way to retrieve the next 1000 results via paging, search offsets, or result set pointers?
-
Search API: Support for start/end anchors (eg ^/$ regex)
In https://www.dropboxforum.com/hc/en-us/community/posts/203590593-Search-API-More-than-1000-results-pages-offsets-pointers- I asked about the 1000-item limit on the search API. If there's no way around it, one option could be to do a more precise search with start/end anchors. eg searching for ".xls" matches all ".xlsx"…
-
API v2 - /files/download, <video>, https and CORS
Hi, In our app we need direct links with access-control-allow-origin: * header applied. How we can do that in V2 of the api? So far we used 4h-expiring direct links and that was cumbersome due to the expiration, so we hope to get a nicer way with version 2, however seeing /files/download is being handled only via POST or…
-
how to display files in listview android??
I am new to android development and this is my first school project. I have followed the procedure of authenticating my app https://www.dropbox.com/developers-v1/core/start/android I want to display my dropbox files as a listview in a fragment and also allow user to download the file if it is selected. any useful tutorial…
-
API v2 upload_session_finish with mode:update 400 error
app permission type: App folder API version: dropbox API v2 description: API "upload_session_finish" with mode:update error ------ Have no idea how the "update mode" works (how it works with "rev" param?). Thanks for your help! screen_shot_01: screen_shot_02: -------------- Console logs: curl -X POST…
-
Unable to download/delete files using File Id in Java API v2
I am trying the to download/delete the file using unique Ids but I am getting error saying ----- "String 'path' does not match pattern" Following is the code snippet : FileOutputStream out = new FileOutputStream("/home/vartika/Desktop/abc.jpg"); try { FileMetadata downloadedFile =…
-
error using DropbBox api v2
Hello I downloaded the latest sdk using maven : <dependency> <groupId>com.dropbox.core</groupId> <artifactId>dropbox-core-sdk</artifactId> <version>2.0-beta-1</version> </dependency> Then I create a project and I added the following jars: dropbox-core-sdk-2.0-beta-1.jar dropbox-core-sdk-1.7.7.jar…
-
Can I do this with Dropbox API?
I'm building an API for my app. I would like my API-server to have a Dropbox account. Each registered user would get a shared Dropbox link of his/her own. When the user drops file in the shared folder the server is noticed and will import the files. The server will delete the file from Dropbox after importing. Instead a…
-
okhttp - Dropbox http API v2
I'm trying to upload a file from android but I'm getting an exception SocketTimeoutException. I have tried use curl and upload the same file and it works. More details: http://stackoverflow.com/questions/33598816/okhttp-dropbox-http-api-v2
-
Business API v2
Hi, I can't seem to be able to use the Business API in its V2 incarnation. First of all, what is the correct header to send? Here it's Dropbox-API-Select-Team-Member and here it's X-Dropbox-Perform-As-Team-Member. This works in v1: url = 'https://content.dropboxapi.com/1/files_put/auto' headers = { 'Authorization': 'Bearer…
-
SwiftyDropbox: uploading from an asset file
Great next step, thanks! But. (isn't there always?). A [more] common use case for file uploading is asset uploading (image/videos etc). (scheme: assets-library) which won't work with this new code. Yes, you could pick up an 'assets-library to NSInputStream library' (wheee, more code!), but it is simple enough to add it by…
-
TVos support
v2 of SwiftyDropbox is great. Prior to the official api release this week, it worked on TVos with a recent-isa version of Alamofire. Downloading files to memory- no problem. The official v2 api release appears to have broken downloads on TVos. Based on some debugging, I'm thinking it's the recent Alamofire changes- but…
-
New API v2 sharing and unsharing errors
Hi, I have a few problems with the new API v2 when trying to remove a user: curl -X POST https://api.dropboxapi.com/2/sharing/remove_folder_member \ --header "Authorization: Bearer <OMITTED>" \ --header "Content-Type: application/json" \ --data '{"shared_folder_id": "<OMITTED REAL FOLDER ID>", "member": { ".tag": "email",…
-
Is it possible to get user's action details on a file ?
Hi, I'm trying to build an app that record every action happening on my Dropbox For business like the Report API for Google Drive to store something like this: what the user did, on which file, at which moment. The expected result would be like the dropbox event page (File Renamed, File Edited etc ...). I setted up the…
-
Using new api v2 can't seem to add folder members to a shared folder.
I have been testing out the new HTTP api (here https://www.dropbox.com/developers/documentation/http#documentation ) which looks really promising! I've successfully shared a folder, but when i add a member to it using https://www.dropbox.com/developers/documentation/http#documentation-sharing-add_folder_member using a curl…
-
DBChooser and iOS 9 not returning to original app
Hi, I had a simple implementation of DBChooser in my iPad app, and it worked fine up until the moment I upgraded my device and SDK to iOS 9. What happens now is: 1) My app launches DBChooser (DBChooserLinkTypeDirect) 2) Dropbox appears 3) I pick my file 4) I get a 'Generating Link' message 5) I remain in the DropBox app…
-
Java - wait until file is finished syncing to dropbox
Hi, I am new to this API so apologies in advanced if this question has an easy answer, but is there any way in Java to tell when a file is fully synced to Dropbox? I have files that need to be downloaded and moved into different folders, but if the file doesn't sync to Dropbox before my code attempts to move it, it will…
-
DropboxServerException (nginx): 404 Not Found (File not found)
I'm developing an android app with Dropbox API (SDK 1.6.3). I have a problem to get file from dropbox (There's no problem a few months ago.) Folder structure (1 file and 1 folder) Libro+ (root directory) - libro.db - images (directory that contains image files) When I access libro.db to download, it raises 404 not found,…
-
I am getting the error "Error in call to API function "files/download"" when uploading and downl ...
oading the files on dropbox? I am using the DropBox .net sdk in my project and I have a Folder "Test" and file "TestFile" in this folder in my dropbox ,now i am trying to download this "TestFile" by using the following code by passing folder="Test",file="TestFile" : async Task Download(DropboxClient dbx, string folder,…
-
How to display the contents of folder on index page when link is clicked in rails?
I have code in rails 4.2.3 where on the index page of the dropbox connect feature, it creates a list of the files in the user's root dropbox directory once logged in. This is the code: def index druidbox = current_user.dropbox_session if current_user.dropbox_session # find the current user's dropbox_session from the…
-
onActivityresult() not being invoked after choosing file using Dropbox Chooser
Hi, I am trying to use the Dropbox Chooser Api in android app to allow the user to choose files from Dropbox. I was able to launch the Dropbox Chooser successfully from the android app, but after selecting the file, it shows "Creating link..." and then returns to the app. I've overridden onActivityresult() method to get…