Forum Discussion

sayoko1's avatar
sayoko1
Explorer | Level 3
3 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!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,949 PostsLatest Activity: 2 hours ago
352 Following

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 or Facebook.

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!