v1
latestOpenAPI 3.0.02026-07-17120114186.8 KBworker
Download an object
Downloads an object from the Sia network.
get/worker/object/{key}
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