跳转到内容
AsterDrive Developer Docs开发者

get_file_image_preview

GET
/api/v1/files/{id}/image-preview
curl --request GET \
--url https://example.com/api/v1/files/1/image-preview \
--header 'Authorization: Bearer <token>'
id
required
integer format: int64

File ID

Image preview (WebP)

Image preview is being generated

Image preview not modified

Image preview not supported for this file type

Unauthorized

File not found

Storage backend is disabled or not ready

Unexpected image preview generation failure