-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview API: expose supported file/MIME types via Capabilities endpoint #31267
Comments
Related docs:
|
Could the capability also include available formats of the preview itself? Example 1Source:
Available previews:
Example 2Source:
Available previews:
Related: |
Yes, this would be awesome. That way, clients could - in addition to knowing which files to request previews for - also pick the preview format they can process best. |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
Clients targeting the Preview API at
remote.php/dav/files/[user]/[file]?x=[width]&y=[height]&c=[eTag]&preview=1
have no way of telling in advance for which file types a preview can likely be expected to be available.Ideally, a list of MIME types, for which the Preview API is likely capable of providing a preview, would be available as part of the capabilities endpoint.
Using that list, clients could then see if the MIME type of an item is in that list and only request thumbnails for those items for which this is the case.
The text was updated successfully, but these errors were encountered: