/
/Renterd API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 42m ago · Updated 1mo ago
  • postEvaluate autopilot configuration
  • getGet the autopilot state
  • postWake up autopilot
  • getGet a worker account
  • getGet all worker accounts
  • postReset drift for a worker's account
  • getGet overview of worker's memory usage.
  • putUpload a part of an ongoing multipart upload
  • getDownload an object
  • putUpload an object
  • deleteDeletes an object
  • postDelete a batch of objects with a given prefix
  • getGet the worker's state.
  • getGet download stats
  • getGet upload stats
  • getGet all ephemeral accounts
  • postSave accounts
  • postFund account
  • getGet all alerts
  • postDismiss alerts
  • postRegister an alert
  • getGet autopilot configuration
  • putUpdate autopilot configuration
  • getGet all buckets
  • postCreate bucket
  • putUpdate bucket policy
  • getGet bucket
  • deleteDelete bucket
  • postAccept block
  • getGet network details
  • getGet siafund fee
  • getGet consensus state
  • getGet the syncer's address
  • postConnect to a syncer
  • getGet syncer peers
  • getGet recommended fee
  • getGet all transactions
  • postBroadcast transaction

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