v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Client

Get Download Strategy (Deprecated — use GET on the canonical path)

Deprecated alias of GET /api/storage/buckets/{bucketName}/download-strategy/objects/{objectKey}. Retained at the original path/method for backward compatibility with SDK releases that already shipped against this POST endpoint. Any request body is ignored.

post/api/storage/buckets/{bucketName}/objects/{objectKey}/download-strategy

Path parameters

bucketNamestring required
objectKeystring required

Response

Download strategy details

method'presigned' | 'direct' required

Download method:

  • direct: Direct URL access (S3 public buckets or local storage)
  • presigned: Secure URL with signature and expiration (S3 private buckets)
urlstring required

URL to download the file from

expiresAtstring date-time

Expiration time for presigned URLs (only present when method is 'presigned')

headersobject

Optional headers to include in the download request

Example response

{
  "method": "direct",
  "url": "https://s3-bucket.s3.us-east-2.amazonaws.com/app-key/public-assets/logo.png",
  "expiresAt": "2025-09-05T01:00:00Z"
}