Files
Finish a multipart upload
Requires scope `runs:upload`. PAT only. Sends the part list and the whole-file CRC64NVME checksum to S3, then marks the file uploaded.
Requires scope runs:upload. PAT only. Sends the part list and the whole-file CRC64NVME checksum to S3, then marks the file uploaded.
Authorization
bearerAuth AuthorizationBearer <token>
Personal access tokens begin with dhub_… and are restricted by their assigned scopes.
In: header
Path Parameters
fileId*integer
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/files/1/multipart-upload/complete" \ -H "Content-Type: application/json" \ -d '{ "upload_id": "string", "checksum_crc64nvme": "string", "parts": [ { "part_number": 0, "etag": "string" } ] }'{ "file_id": 0, "status": "string", "already_uploaded": true}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}