Discussions
-
Generating Preview for a shared document
Hello, I am working on a system where users can submit sharing links from dropbox. They are also able to preview these shared files. When a user submits a file: we make a request to t get_sharing_link_metadata endpoint and get the id. When a user wants to preview the file, we make a request to get_file_preview passing the…
-
Distinguish shared link and preview links
Am I correct to assume the following: a shared link will alawys have /s/ in the URL The original preview link is of the from : www.dropbox.com/home/path/to/file?preview=filename.pdf What I am trying to do I have a list of URLs in my DB, and I need to use the API to generate a preview and embed it in a webpage for the…
-
Is there a difference between PDF preview (endpoint : files/get_preview) and PDF files by /download
Hello, I am trying to display a doc file through /get_preview end point. My understanding is that it will generated a pdf preview (I guess that means a pdf file ? ) The pdf preview I am getting is generating an empty file. However, I test the same code generating the file with the response from /download endpoint…