Upload an object

Uploads an object to the Sia network.

put/worker/object/{key}

Path parameters

keystring required
Example:myDir/myFile

The key of the file to upload

Query parameters

bucketstring required

The name of the bucket.

The name of the bucket the object belongs to

minshardsinteger

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

totalshardsinteger

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

mimetypestring

The MIME type of the object

Response

Successfully uploaded object

Changes