We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
De L.1
9 years agoCollaborator | Level 9
Return API /previews call with location instead of content
I would like to show previews to the user via the /get_preview call, without downloading/processing each preview via the server. To do so, I now need to point the user to https://content.dropboxapi.com/2/files/get_preview with authentication. But that means that the users are able to obtain the access_token if they look at the GET/POST request.
So I was wondering, will it be possible to request for a preview url via an API call with authentication which will return a temporarily location of the preview (comparable with the /2/files/get_temporary_link call)? When that is possible, I can just redirect the user to this location directly without authentication.
1 Reply
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks for the post! I can definitely see how this could be useful. This isn't available in the API, but I'm filing it as a feature request with the team.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!