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

Request

  • Base URL
    https://file.sls.epilot.io
  • URL
    https://file.sls.epilot.io/v1/files:previewS3
  • Auth
    • HTTP bearer
    • or API key in cookie token

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

Changes

No recorded changes to this operation across all 10 revisions of this API.