Forum Discussion

sayoko1's avatar
sayoko1
Explorer | Level 3
4 years ago

Obtain preview_url from list_folder

Hello support,

The reference documentation states that the https://api.dropboxapi.com/2/files/list_folder call returns entries that are an array of "List of (Metadata)..."

Both the FileMetadata and the FolderMetadata are said to contain the parameter called "preview_url" (see screenshot) but it says that this field is optional.

 

How can we make it so that this field shows up in the API response? I've tested calling it a few times but so far have not been able to get the "preview_url" in the metadata response.

 

Thank you all!

3 Replies

About Dropbox API Support & Feedback

Node avatar for 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!