Comments
-
No update right now.
-
Thanks, that's helpful. We'll follow up here once we have an update.
-
Thanks! We're looking into it. If you can also share some sample values for self.metadata.path and imageSize though, that may also be helpful, just to make sure we're reproducing this exactly the same way.
-
Hi James, thanks for checking that. Can you share the relevant code snippet to reproduce this, so we can make sure we're addressing this properly? Thanks in advance!
-
Hi James, unfortunately I don't have any additional information on this right now. I'll send this along to the team though.
-
Thanks for writing this up! That's correct, the API doesn't currently officially support video thumbnails, so I'm sending this along as a feature request.
-
Hi David, it sounds like you have a good handle on this already. In order to make an API call, the client (in this case, the browser) needs the access token. Fundamentally though, client-side apps, (such as in a browser) can't keep secrets. That means that the access token would be exposed to the users, compromising your…
-
The first kind of link you posted, with "/home/" in it, is the private URL of a file in a user's account. It doesn't offer access to the file unless you're logged in to that account. The second kind of link you posted, with "/s/", is a shared link for a file, which does allow access to the file. There isn't a way to get a…
-
Apologies, I wasn't clear before. Even if you don't specify the format, the returned data is already the jpeg data for the thumbnail for the file. In either case though, that is, for png or jpeg thumbnails, the thumbnail data will be returned directly in the response of the API call as binary data. It sounds like you want…
-
By default, the thumbnail data returned by /2/files/get_thumbnail is jpeg. (You can choose between jpg and png using the "format" parameter.) And no, unfortunately we don't have any sort of batch thumbnail call, but I'll be sure to pass this along as a feature request.
-
HI Matthew, the endpoints you mentioned are the right ways to list files and get thumbnails, respectively. Can you elaborate on what you mean when you say you "get only cryptic output"? If the endpoint replies with a successful status code (200), the body will be the raw data for the thumbnail directly. You can then use…
-
Hi Neha, can you share the code where you're building your restClient? This error indicates that the API call didn't include the necessary authorization (e.g., an access token for a user). Also, although this is a different issue, if you're using an app folder app, you don't need to include the app folder name in your…
-
Thanks for the feedback! That's the only user method that is restricted to Business apps. I'll send this along as a feature request to make this available to non-Business apps though.
-
Hi Dan, the permanentlyDelete method you mentioned is the right method for permanently deleting files. Have you tried using it and run in to any issues? If so, please share the error you're getting if you're still having trouble. Note that per the documentation though, it's only available to Dropbox for Business apps. You…
-
FileMetadata doesn't contain the ID for its parent(s), so you'll have to query the parent folder(s) to get the ID(s) if you need them. E.g., use GetMetadata or ListFolder to get the FolderMetadata as desired.
-
There are two scenarios I'm aware of that can cause this: 1) X-UA-Compatible setting mismatch: If the X-UA-Compatible value set by your site doesn't match the Chooser, this can cause the communication issue. 2) Security level mismatch: If your site and the Dropbox site are in different security levels, this can also cause…
-
Hi Dan, you can use the delete method in DbxUserFilesRequests. For example: Metadata metadata = client.files().delete(path); Hope this helps!
-
Dropbox does offer an API that enables programmatic listing, uploading, downloading, and sharing of files, so this is possible. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here. You'll need to register an app here. App authorization is processed using…
-
Yes, the functionality in your screenshot is an extension provided by the official Dropbox for iOS app. You can display that sheet using UIActivityViewController, without registering an app for the Dropbox API.
-
I believe the change rolled out on Monday, the 6th.
-
Thanks for the report Vasanth, and apologies for the trouble! It looks like there was a recent change to our routing system that changed the handling for calls with an extra trailing slash like this. We of course never intend to release breaking changes without notifying developers. The API v2 routes are documented without…
-
1. I can't make any promises, but I'm sending this along as a feature for official/documented support for thumbnails for images larger than 20 MB like this. 2. This isn't related to API v1 exactly. (API v1 also only officially supports thumbnails for images less than 20 MB.) We have been working on improving our…
-
Thanks for the feedback! I've sent it along to the team.
-
We'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: - the name and version of the platform and SDK/library you are using, if any - the full text of the error/any output - the relevant code snippet(s)
-
The API doesn't offer ModifiedBy for the folder itself, but I'll be sure to pass this along as a feature request.
-
It sounds like you're looking for FileMetadata.SharingInfo.ModifiedBy. Hope this helps!
-
Hi Eric, no, the API doesn't distinguish between files and folders in DeletedMetadata, but I'll be sure to pass this along as a feature request.
-
Thanks Nathan! We'll take a look and reply there.
-
It looks like you already got this working. For reference, the /move endpoint lets you move items, be it files or folders. Both the to_path and from_path must specify the full, exact path of the existing item and the new desired path, respectively. If you wanted to move an entire folder, which is currently at /folder1, to…
-
Dropbox API access tokens don't expire. Users can manually revoke tokens themselves though, e.g. via: https://www.dropbox.com/account/security Apps can also revoke access tokens via: v1: https://www.dropbox.com/developers/core/docs#disable-token…