v5

latestOpenAPI 3.1.02026-08-04166362486.5 KB
files

Create multipart upload

Initiate a multipart upload and receive presigned URLs for uploading parts directly to storage.

post/v1/files/uploads

Request body

filenamestring required

Name of the file including extension

file_sizeinteger required

Total size of the file in bytes

mime_typestring required

MIME type of the file

part_countinteger

Number of parts to split the upload into

Example request

{
  "filename": "document.pdf",
  "file_size": 10485760,
  "mime_type": "application/pdf",
  "part_count": 3
}

Response

The multipart upload details with presigned URLs

idstring required

The multipart upload ID (use this to complete or abort)