v3

latestOpenAPI 3.0.32026-07-21354289.5 KB
Preview

previewS3File

Generate a thumbnail preview from an S3 reference.

Use this endpoint when you have the S3 bucket and key but not the file entity ID.

post/v1/files:previewS3

Query parameters

winteger

Desired width in pixels

hinteger

Desired height in pixels

Request body

bucketstring required
keystring required

Example request

{
  "bucket": "epilot-prod-user-content",
  "key": "123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf"
}

Response

Generated thumbnail image