跳转到内容
AsterDrive Developer Docs开发者

get_thumbnail

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

File ID

Thumbnail image (WebP)

Thumbnail generation in progress

Thumbnail not modified

Thumbnail not supported for this file type

Unauthorized

File not found or thumbnail unavailable

Storage backend is disabled or not ready

Unexpected thumbnail generation failure