Types
UploadMode
Where binary upload bytes flow — server-mediated vs direct-to-storage
enum
UploadModeValues
DIRECT_PRESIGNED
Client uploads the whole file directly to S3 using a single presigned URL. Reserved; no shipped strategy uses this in v1.
DIRECT_PRESIGNED_PER_PART
Client uploads each chunk directly to S3 using per-part presigned URLs. Reserved; no shipped strategy uses this in v1.
SERVER_MEDIATED
Bytes flow through Rails; the server holds the S3 multipart upload ID and re-emits each chunk as UploadPart.