bus

Complete a multipart upload

Changed on

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

post/bus/multipart/complete

Request

  • The document declares no server URL.
  • Auth
    none declared

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

Changes

    • warning

      the // request property's max was set to 10000.00

    • warning

      the // request property's min was set to 1.00

    • breaking

      removed the media type text/plain for the response with the status

    • info

      api tag bus added