-
OAUTH2 code flow V2
In the OAUTH guide the /token api endpoint example is for api V1. I don't see this endpoint defined for V2. How do I retrieve a token using the code flow method? This is the example from the doc: https://api.dropboxapi.com/1/oauth2/token.
-
ObjC listfolder responseblock is null
I'm trying to convert to v2 and have a valid authorized DBUserClient. I'm using the example from DBRoulette, but it the listfolder method is not returning anything. Any suggestions why? Thanks
-
Saver fails with dataURI
For several years my web-app used the Saver with a dataURI successfully. Recently I discovered that it now fails consistently and returns "null" as error message. Normally the Saver returns an error message like "protocol scheme not supported". Not so with dataURI's. I just get "null". Here is an example that worked in the…
-
[Obj-C v2] How to cancel requests?
If I follow the sample guidance, I do this: [[client.filesRoutes ...] setResponseBlock:...] But I'm not sure how to cancel the request. I tried doing something like this: DBTask *task = [client.filesRoutes ...]; [task setResponseBlock:...] And then if I need to cancel, do [task cancel] But then the task wouldn't execute.…
-
Upload User Submitted Photos/Video securely
Hello, I downloaded JavaScript API to try out upload functionality. However, I also noticed using the same token that I generated I can use to see files. Is there a way to seperate a token to only do upload only and no reading folder/files. I don't want people accessing my dropbox account and downloading files - upload…
-
Revoking shared links
I'm new using the API. I wonder what's the best way to revoke shared links. I want to only allow sharing within my organization. My first idea is for each user to check every shared file and their properties. Regards
-
PDF preview (endpoint : files/get_preview)
Hi Why PDF format is not supported by the API call files/get_preview? Whereas now in Dropbox App (chrome) we can see a small PDF previewer ... Is it in the roadmap? Thx :)
-
Graceful shutdown of API V1
This may seem like an obvious thing, but I thought it wise to check. Can you please just confirm that when API V1 is turned off on June 28th that any existing apps which are still running against this API will fail gracefully. So no crashes and no odd behaviour. I would expect it to work the same (to the user) as if there…
-
Api Quota
What's the api quota for application and user request(hourly, daily, monthly)?
-
Dropbox API in C# how to reuse the session id of bulk file upload in case file could not be uplo ...
aded by any issue. In case of uploading big file of more than 100 mb, if by some case the internet connection get dropped then how it will be possible to upload the same file from the chunk it has been failed to upload. Please suggest. I have tried to upload by same session id but it never worked. It is getting exception.
-
Developer vs Production only for some users
Hi all, I would switch from Developement to Production my own API, but I need to use thi API only from some users and not worlwide users. It's possible? Thank-you!
-
.NET Downloading large file GetContentAsStreamAsync
I want to use the Dropbox. Api for .NET to allow my users to download files I have stores in Dropbox from my site. The size of the files ranges from small (a few Mb) to Big (a couple of Hundred Mb) This is the code I have: public async void DownloadWithTracking(string argFilePath) { var aFileName =…
-
Setting client_modified on upload not working
Because of some additional logic we are performing client side, we need to set the client_modified time on an upload. Here is my argument I'm passing on 2/files/upload: 0x08c349f0 "Dropbox-API-Arg: {"path":"/Highlights/My Highlights.hlt","client_modified":"2017-3-29T20:34:36Z","mode":{".tag":"overwrite"}}" Note the 36Z.…
-
Oauth2.0 login with android webview.
In my app, I use Oauth 2.0 flow with webview in andorid. according to google announcing, Google webview log-in is prohibited from April 20. I want to use Dropbox log-in on browser without dropbox sdk. but Oauth2.0's redirect url is only possible starts with "https://" Is there any way to use Oauth2.0 flow in android…
-
Deleted users MetaData and timeframe for purging deleted files
I'm looking for a definitive answer on a couple of things. 1. We were told while negotiating Dropbox services that the v1 API would not be retired until a solution to including deleted metadata was included in v2. From posting in the API support forum, I don't get a warm and fuzzy this is going to happen before the posted…
-
Obj-C V2 disk error after uploadUrl
If I try to backup up my database file using the uploadUrl method, when I next try to access the database using Core Data I get the following error: CoreData: error: -executeRequest: encountered exception = I/O error for database at…
-
Will the file ID never change?
The ID described in the FilesFileMetadata here. Can I use this ID to identify a certain file in my dropbox through the API without fail? E.g. If I use this ID with a webpage where I can add 'notes' to the images, save these notes in a database linked to the image ID's; will my notes still be linked to the correct images…
-
How to display images (get their links) without making two API calls? (Javascript API)
So I currently have a set up to display images on a webpage: dbx.filesListFolder({path: ""}) .then(function(response) { response.entries.forEach( (file) => { dbx.filesGetThumbnail({path: file.path_display, size: 'w1024h768'}) // And here I wrote the code that creates <img> to display them on my page. However, this makes my…
-
How to show a GIF thumbnail that is animated with the Dropbox JavaScript API?
So I have a folder full of GIF's. Each of them might be around 2~6 MB in size. They are too large to display in a gallery at once, so I'd like to load them as thumbnails. But the `dbx.filesGetThumbnail` doesn't work with animation it seems. What is the way to load smaller versions of my GIFs that are still animated?
-
How to access (read/write) advanced file EXIF/metadata in the Dropbox JavaScript API?
How to access (read/write) advanced file metadata in the Dropbox JavaScript API? I'm talking about things like: MacOS file tags. I think they are stored in the file's EXIF data. If I can retrieve a valid file-blob from the JS API then maybe I can use a JS plugin that can extract EXIF data from a blob, like this plugin. But…
-
SwiftyDropbox - Read User's File Structure
What's the best way to setup a collection view emulating the file/folder structure the user has on their account? I know if I use the recursive method it'll take ages before it fully finishes depending on the user, which is absolutely understandable. So I guess I'm just curious what the best way of calling and retrieving…
-
SwiftyDropbox - Get MediaMetadata Count
Currently I have to take the user's dropbox and read through their files counting the images they have. I wasn't sure if there was a better way or a method I could use that you have setup?
-
BeginUploadSessionStart Error
I am getting a wierd error now. i was able to make this work when the stream was empty but when i added the file as a stream which is 750mb i get the error below: at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__2d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at…
-
How to use Global Javascript API functions?
Hello Community, I found a list of extra functions to use and I want to try out `FilesFileMetadata`, to look at Metadata of a photo. However, `dbx.FilesFileMetadata` doesn't exist, and leaving out the `dbx.` also doesn't. I looked for a guide on the global functions, but I couldn't find one. Does anyone know how to use…
-
Get link of already shared Folder (Swift)
Hi, I'm using createSharedLinkWithSettings function to get the link of a already shared folder but it's giving this error: error [request-id ce72d5ed059d9a78c1d7368710550f8e] API route error - { ".tag" = "shared_link_already_exists"; } I would get the already shared link if the link already existed please help me with this
-
Correct way of uploading files in session?
Somethimes i get error too many write operations when uploading multiple small files at once. So I decided to upload them in session. But I can't seem to find the correct example of uploading. In documentation it says UploadSessionStartArg.close or UploadSessionAppendArg.close needs to be true for the last…
-
Objective-C V2 SDK thread safety
I am just in the middle of implementing a syncing solution using the Obj-C V2 SDK. I have a couple of concurrent threads. One for checking for (and downloading) any remote changes, and another for uploading local changes. This could potentially involve some concurrent usage of the V2 SDK. For example simultaneous…
-
OAuth2 problems with Django and Django Db Backup
Hello all! I'm having a problem regarding the usage of the DropBox API. I'm using dropbox to backup a few of my databases, which it worked perfectly. I'm using Django, Django dbbackup and internally it uses the dropbox api. I've checked and we are using the latest versions of all libraries. I have generated a proper Oauth2…
-
Java API - Ensure no deprecated code used for v1
I understand the removal of the V1 API is coming up in a couple of months. For the Java API is it enough to be running 2.06 or 3.0.0 of the Java API? Maybe there are deprecated methods, or anything else to check to ensure we will continue to be compliant? Joel
-
Apply for production Ability to link additional users frozen?
Hello, My app is in this status: "Apply for production Ability to link additional users frozen." This message "You already have a pending production status request." is shown after tapping "Apply for production". Nothing is changed. What can I do since the status being serveral days.