Get a short-lived URL to upload media straight to storage
Issues a presigned URL so file bytes go directly to object storage instead of through this API. For an upload, PUT the raw bytes to signedUrl with the same Content-Type and exactly the contentLength you declared. Both are bound into the signature and a mismatch is rejected by storage. Then pass the returned resolvedKey as a mediaUrls entry or coverR2Key when creating a post. Keys are forced under your own storage prefix, so you cannot presign into another tenant's space. Uploads are capped at 500 MB for video, 15 MB for images and 10 MB otherwise, rate-limited to 20 presigns per minute per account, and counted against your storage quota.
Request
- Base URL: https://www.juzpost.com/api/cli/v1
- URL: https://www.juzpost.com/api/cli/v1/storage/presign
- Auth: HTTP bearer
Request body
Response
A presigned URL valid for expiresIn seconds.
Changes
No recorded changes to this operation across all 1 revision of this API.