app

sign s3 objects (caller must have S3 read permission on each key); the signed URLs can then be used by anonymous users in public apps

Changed on
post/w/{workspace}/apps/sign_s3_objects

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/apps/sign_s3_objects
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Request body

expiry_secsinteger

how long the signature stays valid, in seconds. Defaults to 43200 (12h) and is clamped server-side to [60, 604800] (1 minute to 7 days).

Response

signed s3 objects

s3string required
filenamestring
storagestring
presignedstring

Changes