Returns upload strategy based on storage backend (S3 returns presigned URLs, local returns direct upload endpoints)
Upload strategy details
Upload method - presigned for S3, direct for local storage
presigned, direct "presigned"
URL to upload the file to
"https://s3-bucket.amazonaws.com/"
Generated unique key for the file
"profile-photo-1234567890-abc123.jpg"
Whether upload confirmation is required
true
Form fields for presigned POST (S3 only)
{
"bucket": "my-s3-bucket",
"key": "app-key/avatars/profile.jpg",
"X-Amz-Algorithm": "AWS4-HMAC-SHA256"
}URL to confirm the upload (if confirmRequired is true)
"/api/storage/buckets/avatars/objects/profile.jpg/confirm-upload"
Expiration time for presigned URL (S3 only)
"2025-09-05T01:00:00Z"