v1

latestOpenAPI 3.0.02026-07-17120114186.8 KB
bus

Complete a multipart upload

Completes a multipart upload by combining all uploaded parts into a single object.

post/bus/multipart/complete

Request body

bucketstring

The name of the bucket.

keystring
uploadIDstring byte

The ID of the multipart upload

metadataObjectUserMetadata

User-defined metadata about an object provided through X-Sia-Meta- headers

Example request

{
  "bucket": "default",
  "key": "folder/file",
  "uploadID": "f1e2d3c4b5a697887776665544332211ffeeddccbbaa99887766554433221100",
  "parts": [
    {
      "partNumber": 123,
      "eTag": "W/\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
    }
  ]
}

Response

Successfully completed multipart upload

eTagstring

The ETag of the completed object