Upload an object
Uploads an object to the Sia network.
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
The MIME type of the object
Response
Successfully uploaded object
Changes
Changed in 4 of the 50 revisions of this API.822
- ▲
for the
queryrequest parameterminshards, default value10was addedrequest-parameter-default-value-added
- ▲
for the
queryrequest parametertotalshards, default value30was addedrequest-parameter-default-value-added
- ▲
for the
queryrequest parameterminshards, the type/format was changed frominteger/uint32tointeger/uint8request-parameter-type-changed
- ▲
for the
queryrequest parametertotalshards, the type/format was changed frominteger/uint32tointeger/uint8request-parameter-type-changed
- ●
for the
queryrequest parameterminshards, the min was set to1.00request-parameter-min-set
- ●
for the
queryrequest parametertotalshards, the min was set to2.00request-parameter-min-set
- ▲
- ▲
removed the media type
text/plainfor the response with the status400response-media-type-removed
- ▲
removed the media type
text/plainfor the response with the status404response-media-type-removed
- ▲
removed the media type
text/plainfor the response with the status503response-media-type-removed
- ○
api tag
workeraddedapi-tag-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api removed without deprecation
api-removed-without-deprecation
This revision also has 99 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲