bus

Stores or updates an object.

put/bus/object/{key}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

keystring required
Example:folder/file

The key of the object

Request body

bucketstring

The name of the bucket.

eTagstring

The ETag of the object

mimeTypestring

The MIME type of the object

metadataObjectUserMetadata

User-defined metadata about an object provided through X-Sia-Meta- headers

Example request

{
  "bucket": "default",
  "object": {
    "bucket": "default",
    "etag": "W/\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
  }
}

Response

Successfully stored object

Changes

    • breaking

      added subschema #2 to the ///// request property allOf list

    • breaking

      the ///// request property type changed from integer to no type, and format from uint8 to no format

    • info

      removed the pattern .* from the path request parameter key

    • info

      for the path request parameter key, the type was generalized from string to no type

    • info

      api tag bus added

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status