跳转到内容
AsterDrive Developer Docs开发者

shared_folder_file_thumbnail

GET
/api/v1/s/{token}/files/{file_id}/thumbnail
curl --request GET \
--url https://example.com/api/v1/s/example/files/1/thumbnail
token
required
string

Share token

file_id
required
integer format: int64

File ID inside shared folder

Thumbnail image (WebP)

Thumbnail generation accepted

Thumbnail not modified

Thumbnail not supported for this file type

Password required or file outside shared scope

Share or file not found, or thumbnail unavailable

Storage backend is disabled or not ready

Unexpected thumbnail generation failure