Upload an object
Changed onUploads an object to the Sia network.
Request
- The document declares no server URL.
- Authnone declared
Path parameters
The key of the file to upload
Query parameters
The name of the bucket.
The name of the bucket the object belongs to
The number of data shards a piece of an object gets erasure-coded into
Used to override the minimum number of shards the object should be split into.
The number of total data shards a piece of an object gets erasure-coded into
Used to override the total number of shards the object should be split into.
The MIME type of the object
Request body application/octet-stream
Response
Successfully uploaded object
Changes
- breaking
for the
queryrequest parameterminshards, default value10was added - breaking
for the
queryrequest parametertotalshards, default value30was added - breaking
for the
queryrequest parameterminshards, the format changed fromuint32touint8 - breaking
for the
queryrequest parametertotalshards, the format changed fromuint32touint8 - warning
for the
queryrequest parameterminshards, the min was set to1.00 - warning
for the
queryrequest parametertotalshards, the min was set to2.00
- breaking
- breaking
removed the media type
text/plainfor the response with the status - breaking
removed the media type
text/plainfor the response with the status - breaking
removed the media type
text/plainfor the response with the status - info
api tag
workeradded
- breaking