Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
Could you please exaplain what is the differnce between preview_url and url field?
Both of them are returned from the call sharing/get_file_metadata.
The url field is part of the link_metadata (is this feature is still unreleased?)
The value in both fields is the same.
Thanks,
Saar
Please refer to the question if "link_metadata" is released for "sharing/get_file_metadata".
Thanks!
It sounds like you're referring to the response from /2/sharing/get_file_metadata. That endpoint is released and is not in preview/beta, so you can use it in production.
The SharedFileMetadata.preview_url is documented as "URL for displaying a web preview of the shared file."
The SharedFileMetadata.link_metadata.url is documented as the "The URL of the link."
The former is for the shared file itself, and the latter is referring to the link for the shared file in particular. The URL may be the same for both fields.
Thanks for the response.
In the documentation for this endpoint, https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_file_metadata, it is mentioned particulary for the field "link_metadata" that - "this is for an unreleased feature so it may not be returned yet".
Is this field valid for use now?
Do you know when it will be available for all users?
Hi there!
If you need more help you can view your support options (expected response time for a 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!