Upload
File uploads are handled via presigned URLs to MinIO. The API exposes two main steps:POST /v1/biz/initiate-upload– create an upload session and receive presigned URLs.POST /v1/biz/complete-upload– finalize the upload and register the file for operations.
Initiate upload
file_name(required) – original file name including extension.size(required) – file size in bytes.mime_type(required) – MIME type (e.g.application/pdf).parts(optional) – multipart upload parts; defaults to1when omitted or zero.
ExternalUploadResponse):
file_key– stable key to reference this file in later operations.object_name– internal object name in MinIO.upload_id– underlying multipart upload id (if applicable).presigned_urls– list ofPUTURLs to upload file parts.
Upload file contents
Use the providedpresigned_urls to upload file data directly to MinIO. For single‑part uploads there will be exactly one URL.
Complete upload
Once all parts have been uploaded, finalize the upload so that the file can be used by operations./v1/biz/do operations.