Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
There does not seem to be a way to restrict /delta API calls from the iOS SDK in the way that is possible from the REST API, i.e. I want deltas starting at such-and-such a path and below. I run across something saying it would be "added soon", but that was well over a year ago. Is it coming?
Which SDK are you using?
If it's the Core SDK, you might be able to add the path_prefix
parameter pretty easily yourself. For the Sync API, you can register a path observer on whatever path you want. (Underneath, the Sync API still retrieves the full set of changes via /delta
, but it will only fire your observer for changes under the path you specify.)
It's the iOS Core SDK. By "adding it pretty easily myself", you mean not using the methods exposed in the iOS SDK, but instead writing a wrapper and calling the REST API directly?
I just mean editing the code for the iOS Core SDK.
Is the source code available for the iOS SDK for editing?
For the Core SDK, yes.
The download is here: https://www.dropbox.com/developers/core/sdks/ios
(Ninja edit: Sorry, you did already mention that you're using the Core SDK, so you're good.)
Thanks. So that link brings me to the iOS SDK download, which of course I have downloaded and using in my project, hence the questions. But the SDK is just header files and a framework - no source where I can tweak the parameters passed and returned via the API. I apologize if I'm being dense.
There should be a folder in the zip file called DropboxSDK
. Within that folder, there's a folder called Classes
. The code lives in there.
Specifically, loadDelta
is in the file DBRestClient.m
, and you should be able to add a new parameter there.
I was being dense, thanks for your help.
Hi Steve, There's no DBRestClient.m file and DropboxSdk only contains Header file(.h files alone). I'm also looking for above case. But I couldn't. Is there any way with Dropbox Core sdk?
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!