v1
latestOpenAPI 3.0.32026-07-26172157253.6 KBClient
Get Download Strategy (Direct or Presigned URL)
Returns download strategy based on storage backend and bucket visibility.
- S3 with public bucket: Direct URLs (no presigning, better performance)
- S3 with private bucket: Presigned URLs with expiration
- Local storage: Always direct endpoints
Expiry (when presigned) is auto-calculated server-side from bucket visibility; no request body is accepted.
Object keys may contain / (pseudo-folders); the path is matched with a wildcard, so callers should NOT percent-encode / inside objectKey.
get/api/storage/buckets/{bucketName}/download-strategy/objects/{objectKey}
Path parameters
bucketNamestring required
objectKeystring required
Response
Download strategy details
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"
}