worker

Upload a part of an ongoing multipart upload

Changed on

Upload a single part of an ongoing multipart upload. Parts can be uploaded in parallel and then combined afterwards.

put/worker/multipart/{key}

Request

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

Path parameters

keystring required
Example:folder/file

The key of the file to upload

Query parameters

bucketstring required

The name of the bucket.

Example:default

The name of the bucket the multipart upload belongs to

uploadidstring required

A unique identifier for a multipart upload

Example:7aaac83c6d553865755286c326e852a68300bebf7feea1b435d61bd3610bf82b

The ID of the ongoing multipart upload

partnumberinteger required

The number of this part

Example:123

The part number of the part being uploaded

minshardsinteger

The number of data shards a piece of an object gets erasure-coded into

Used to override the minimum number of shards the part should be split into.

totalshardsinteger

The number of total data shards a piece of an object gets erasure-coded into

Used to override the total number of shards the part should be split into.

encryptionoffsetinteger

The offset of the part within the final object. This is required unless the upload was explicitly created to not be encrypted before erasure coding.

Request body application/octet-stream

string binary required

Response

Successfully uploaded part

Changes

    • breaking

      for the query request parameter minshards, default value 10 was added

    • breaking

      for the query request parameter totalshards, default value 30 was added

    • breaking

      added the pattern ^[0-9a-fA-F]{64}$ to the query request parameter uploadid

    • breaking

      for the query request parameter minshards, the format changed from uint32 to uint8

    • breaking

      for the query request parameter totalshards, the format changed from uint32 to uint8

    • warning

      for the query request parameter partnumber, the max was set to 10000.00

    • warning

      for the query request parameter minshards, the min was set to 1.00

    • warning

      for the query request parameter partnumber, the min was set to 1.00

    • warning

      for the query request parameter totalshards, the min was set to 2.00

    • info

      for the query request parameter partnumber, the format was generalized from uint32 to no format

    • info

      for the query request parameter uploadid, the type was generalized from no type to string

    • breaking

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

    • breaking

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

    • breaking

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

    • info

      api tag worker added