worker
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
Changes
Changed in 3 of the 50 revisions of this API.13
- ○
added the new optional
queryrequest parameterdlnew-optional-request-parameter
- ○
- ○
api tag
workeraddedapi-tag-added
- ○
- ●
deleted the
queryrequest parameterdlrequest-parameter-removed
- ○
api tag
workerremovedapi-tag-removed
This revision also has 99 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●