Initiate a large (multipart) file upload
Changed onInitiate a multipart upload for files up to 10 GB. The response includes an opaque upload_id and a fully populated urls array containing one pre-signed PUT URL per part the client should upload. After uploading every part, call Complete large upload at POST /v2/files/{file_id}/large-upload/complete with the resulting part etag values.
The client may optionally specify the desired number of parts (1 to 10000). If omitted, the server picks a value based on the declared size and the recommended part size — for most uploads this is the right default.
Every URL in urls expires roughly 3 hours after issue. If a part PUT fails after that window, abandon the upload and initiate a fresh session.
Once finalized, inspect the file with GET /v1/files/{file_id} and download it with GET /v1/files/{file_id}/download — no v2 read surface exists yet.
Returns 201 with the upload session details. Orphaned uploads that are not completed are eventually cleaned up.
Required scope: data:file_import or doc:file_import
Request
- Base URLhttps://dovetail.com/api
- URLhttps://dovetail.com/api/v2/files/large-upload
- AuthHTTP bearer
Request body
Response
201
Changes
- breaking
added
subschema #1subschema #2to the/response propertyoneOflist for the response status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - warning
removed the optional property
//from the response with the status
- breaking