worker

Download an object

Changed on

Downloads an object from the Sia network.

get/worker/object/{key}

Request

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

Path parameters

keystring required
Example:folder/file

The key of the file to download

Query parameters

bucketstring required

The name of the bucket.

Example:default

The name of the bucket the object belongs to

dlstring
Example:dl=1

If '1' or 'true', forces the 'Content-Disposition' header of the response to be set to 'attachment'

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