Comments
-
No, we'll consider it a feature request though.
-
The id field has been changed to required, so every FileMetadata/FolderMetadata object will have it now.
-
Right now, just due to various technical details on the backend, we can't guarantee that every single file will have an ID, though it should be very rare for a file not to have one. We'll be working on improving this though towards the goal of making this guaranteed.
-
Hi Annabel, the problem in this thread was about using the Dropbox developer platform and was resolved in the StackOverflow post. If you're a developer and have a different question, you should post a new thread with the details in the API Development forum. If you're not a developer, you'd be better served in the Issues &…
-
[Cross-linking for reference: https://stackoverflow.com/questions/33671366/dropbox-api-searchin-files-and-content ]
-
The /delta endpoint on API v1 and the /list_folder endpoints on API v2 allow your app to get the full current state of the Dropbox account, and then efficiently stay up to date with further changes. They do not offer information about previous revisions. If you do need full revision information, you will need to use the…
-
Using a Dropbox Business API app with the "Team Member File Access" permission sounds like the right way to do this. To get non-file events, you can use the /1/team/log/get_events endpoint, as you mentioned. To get file events, you will need to use the user-specific methods. In the Java SDK, using the asMember method to…
-
Hi Anchal, API v2 doesn't support the file type permission, but I'll be sure to pass this along as a feature request.
-
It's not currently possible to switch the permission on an existing app. If you want to switch the permission for an app in development mode, you can do so by deleting the current app and registering another with the desired permission. Deleting an app in development mode frees up the name so you can register it again.…
-
You're still using an empty DropboxAPI.Entry, like Steve mentioned before. To see how this works, I recommend just starting with a simple path. For example, try this to get started: response = mDBApi.putFile("/hello.txt", inputStream, file.length(), null, null);
-
Can you clarify what you mean when you say you can't provide the path? The path should be the path in the Dropbox account where you want to upload the file. For example, to upload a file "test.txt" into a folder named "Documents", you would use the path "/Documents/test.txt"
-
There isn't currently an interface for checking the desktop client like this, but I'll be sure to pass this along as a feature request.
-
Thanks for the feedback! I don't know off hand why append and finish are different, but I'll be sure to pass this along.
-
Each call to filesUploadSessionStart, filesUploadSessionAppend, or filesUploadSessionFinish uploads all of the data you give to it. So in your case, if you supply 1 GB, it will attempt to upload all of that data at once, before response is called. That will likely fail though, so you should instead only upload a piece at a…
-
I don't think we have a full sample using that published, but here's a very simple example I just put together: (apologies for the atrocious code formatting on the forum) // Write a file to the local documents directory let text = "Hello world. Usually something much longer here." let filename = "working-draft.txt" let…
-
Hi Daniel, we have a new release of the iOS Core SDK that should enable you to build an archive: https://www.dropbox.com/developers-v1/core/sdks/ios If you want, give that a try and let me know if that does or doesn't work for you.
-
Searching for "Mac" or "OSX" in Finder yields: DBAuthHelperOSX.h DBAuthHelperOSX.m DBKeychain-OSX.m DBRestClient+OSX.h DBRestClient+OSX.m DropboxOSX-Info.plist DropboxOSX-Prefix.pch DropboxOSX.h MPOAuthCredentiaIConcreteStore+KeychainAdditionsMac.m So I'd recommend just removing those instead of trying to add just iOS…
-
I imagine it may depend a bit on how the project is set up, but as I recall the steps I've used in the past are: 1. Remove DropboxSDK.framework from your project but right clicking it and choosing "Delete", and choose to delete files. 2. If you're not building for OS X, delete all of the files that reference "Mac" or "OS…
-
[Moved to the API Development forum] Hi Daniel, it sounds like you're using the iOS Core SDK. I'll pass this along as a feature request for an updated version with bitcode enabled, but one workaround is to add the source directly to your app, instead of adding the built framework. There's an existing thread about this with…
-
API v2 now offers /save_url: https://www.dropbox.com/developers/documentation/http/documentation#files-save_url https://www.dropbox.com/developers/documentation/http/documentation#files-save_url-check_******_status
-
No update on this quite yet!
-
[Cross-linking for reference: https://stackoverflow.com/questions/33655061/display-file-names-in-list-view-from-dropbox-and-also-allow-to-download-selected ] It looks like you already found the Android Core SDK, which should suit your needs here. (Alternatively, you could use the new Java SDK for Dropbox API v2.)…
-
This should be fixed in the latest version of the SDK. Let us know if you're still having any trouble.
-
Thanks! This is a known issue that should be resolved in the next version of the SDK. Specifically, the SDK will be updated so that the value used for Files.ThumbnailSize.xs is instead 'w32h32'.
-
It's not currently possible to do this via the Dropbox API, but this is the right place to make this request. Thanks for the detailed of what you would like the interface to look like. I've sent it along to the team as a feature request.
-
[Cross-linking for reference: https://stackoverflow.com/questions/35743478/how-to-get-thumbnails-for-image-dropbox-sdk-c-sharp ] Here's a simple example that works for me to save a thumbnail of a file in Dropbox at "/test.jpg" to a local file on my computer: public async Task GetThumbnail(string path) { using (var response…
-
The GetThumbnailAsync method gives you IDownloadResponse<FileMetadata>. As shown in the documentation there, there are three different GetContent methods you can call on the response to get the content of the thumbnail requested. For example, you could get the thumbnail data as a byte array by using: (in your sample though…
-
To close the loop here, this was fixed in version 0.7.1.
-
Thanks! This is a known issue that should be resolved in the next version of the SDK.
-
[Cross-linking for reference: https://stackoverflow.com/questions/35675997/dropbox-http-api-always-returns-not-currently-allowed-to-use-api-v2 ] Your app must be registered for the file type permission, which unfortunately isn't supported by API v2. You can register a new app with a different permission level here:…