v1

latestOpenAPI 3.1.12026-07-124448163.2 KB
files

Download file content

Returns a temporary presigned URL to download the file. The URL expires after 10 minutes.

get/files/{id}/content

Path parameters

idstring cuid required

The ID of the item

Example:cmf41ajzv003706un4i99q19z

Headers

x-client-idstring cuid required

The ID of the client

Example:cmf41ajzv003706un4i99q19z

Response

Presigned download URL

urlstring uri required

A temporary presigned URL to download the file

expiresIninteger required

Seconds until the URL expires

Example response

{
  "url": "https://s3.eu-central-1.amazonaws.com/bucket/...",
  "expiresIn": 600
}