Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://appwrite.io/v1/storage/files//preview'