跳转到内容
AsterDrive Developer Docs开发者

get_team_file_image_preview

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

Team ID

id
required
integer format: int64

File ID

Team image preview (WebP)

Image preview is being generated

Image preview not modified

Image preview not supported for this file type

Unauthorized

Forbidden

File not found

Storage backend is disabled or not ready

Unexpected image preview generation failure