files
Request Upload Url
Get a presigned URL for direct file upload.
This allows clients to upload files directly to S3/MinIO without passing the file data through the API server, saving bandwidth and tokens.
Flow:
- Call this endpoint to get upload_url and file_id
- PUT the file directly to upload_url using curl or similar
- Call /files/confirm-upload to create the database record
post/api/files/request-upload
Request
- Base URL: https://app.ctlsurf.com (the document declares no server; this is the origin it was published from)
- URL: https://app.ctlsurf.com/api/files/request-upload
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.