action appwrite_storage_get_file_preview { label: "Get File Preview" description: "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." provider: appwrite method: GET path: "/storage/files/{fileId}/preview" encoding: json input: { type: "object" properties: { background: { type: "string" } borderColor: { type: "string" } borderRadius: { type: "integer" format: "int32" } borderWidth: { type: "integer" format: "int32" } fileId: { type: "string" } gravity: { type: "string" } height: { type: "integer" format: "int32" } opacity: { type: "number" format: "float" } output: { type: "string" } quality: { type: "integer" format: "int32" } rotation: { type: "integer" format: "int32" } width: { type: "integer" format: "int32" } } required: ["fileId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }