Download an object

Downloads an object from the Sia network.

get/worker/object/{key}

Path parameters

keystring required
Example:myDir/myFile

The key of the file to download

Query parameters

bucketstring required

The name of the bucket.

The name of the bucket the object belongs to

Headers

Rangestring
Example:bytes=0-100

The range of bytes to download. If not provided, the entire object will be downloaded.

Response

Successfully downloaded object

Changes