File

downloadFile

Generate pre-signed download S3 url for a file

get/v1/files/{id}/download

Path parameters

idstring required
Example:ef7d985c-2385-44f4-9c71-ae06a52264f8

Query parameters

versioninteger

index of file version

attachmentboolean

Controls the Content-Disposition header to control browser behaviour. Set to true to trigger download.

Response

Generated thumbnail image

download_urlstring uri

Example response

{
  "download_url": "https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/temp/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf?AWSParams=123"
}

Changes