Get Upload Strategy (Direct or Presigned URL)
Returns upload strategy based on storage backend (S3 returns presigned URLs, local returns direct upload endpoints)
Documentation Index
Fetch the complete documentation index at: https://docs.insforge.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
^[a-zA-Z0-9_-]+$Body
Response
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"