...
Applies to | Name | Value(s) | Description and usage | ||||
---|---|---|---|---|---|---|---|
Alias Objects | alias |
| On write requests, indicates that an alias object should be created. The alias argument must be used with a POST method on an alias object and can optionally be included for other operations on alias objects. | ||||
Content Integrity | gencontentmd5 | yes/true to activate | Computes the Content-MD5 for the body data of the request, returning the Content-MD5 as a header in the 201 Created response. Replaces the Expect: Content-MD5 header, which is deprecated. (v9.2) | ||||
hash | hash value | A content integrity hash value provided on the request for validation. The case of this argument does not matter. | |||||
hashtype newhashtype | { md5 | sha1 | sha256 | sha384 | sha512 } | Specifies the value of an object's hash. The The | |||||
validate |
| Validate On Read (VOR). Reads an object with an integrity seal. See Content Seals and Validation. On GET, validates that the data read from disk has not been corrupted. If this check fails, Swarm closes the connection before all of the data is sent. | |||||
Domains | createdomain | value ignored | [Deprecated: v9.2] Add to a WRITE to create the domain specified by | ||||
domain | domain-name | Represents the domain name in some SCSP requests. Client applications most often send the domain name as the Host in the request. When the Host header does not match the domain name, the domain argument can be supplied by the client to explicitly override any value from the Host request header. A domain argument always has precedence over the Host header in the HTTP/1.1 request. The only time domain is required is for an SCSP method on a domain object itself. Neither domain nor Host is required for requests within the default cluster domain. | |||||
Erasure Coding (EC) | encoding | k | The integer values for the data (k) and parity (p) segment counts when specifying erasure coding. | ||||
erasurecoded |
| Used on EC writes to override the cluster's
Using | |||||
segmentsize | integer | The maximum size (in bytes) of a segment in any erasure-encoded set for this object, overriding the | |||||
segmentwidth | integer | Number of bytes. Allows | |||||
Listing Consistency | index | yes/true to activate, no/false to inhibit | Appears on Gateway requests when you enable the Gateway Configuration option Optionally supplied on a POST, PUT, COPY, APPEND, or DELETE request. Performs synchronous search indexing of the newly written/deleted object. | ||||
sync |
| Appears on Gateway requests when you enable the Gateway Configuration option Optionally used on a listing query GET request to force consistency of results that are returned on the listing.
| |||||
Metadata | preserve | yes/true to activate | Works with COPY, PUT, and APPEND requests to ensure that any custom metadata existing on the object is carried over on the write (see Custom Metadata Headers). To overwrite an existing value, include the header name with the new value on the request. Cannot be used with replace . (v9.2, v9.5) | ||||
replace | yes/true to activate | Works with APPEND requests to remove any custom metadata existing on the object on the write, overriding the default APPEND behavior to preserve them (see Custom Metadata Headers). To add new metadata, include the header name with the new value on the request. Cannot be used with preserve . (v9.5) | |||||
Named Objects | newname | {new name for object, bucket, domain} | Provides a new name (within the same bucket only) for an update request (PUT, COPY, APPEND) on a named object. After you rename an object, requests for the original name return a 404 Not Found and the prior search metadata is removed. Remember that 'subdirectory' names are part of the object name, so they must be included as part of a
| ||||
putcreate | yes/true to activate, no/false to inhibit | If set to yes, lets you use HTTP PUT Create to create new named objects. If the If set to no, directs Swarm to treat the request as a regular PUT, generating a 404 Not Found error if the named object does not exist.
See SCSP WRITE. | |||||
inprogress | yes/true to activate | On a multipart PATCH complete, postpones HP segment consolidation until the object is completed again without the query argument, or by another method, such as COPY. (v9.4) | |||||
shrink | On a multipart PATCH, required if the patch reduces the size of the object. (v9.4) | ||||||
partnumber | integer | On a multipart POST, indicates the part number of a multipart upload in progress. (v7.0) | |||||
uploadid | upload id | On a multipart POST or DELETE, identifies all requests associated with a single multipart upload. It returns the ID as a 98-byte string. (v7.0) | |||||
uploads |
| On a multipart POST, PUT, or APPEND, indicates that the request is a multipart upload write initiate. (v7.0) | |||||
Recursive Delete | recursive |
| Required on DELETE of a bucket or domain (context). Indicates when the health process may begin asynchronously reclaiming any content contained in the deleted context. Unless you use | ||||
count | integer | Used to affect the | |||||
replicate |
| Controls the response behavior to a POST, PUT, COPY, or APPEND request for a replicated object.
If the object in the request is a bucket or a domain, the above rules apply with | |||||
SEND | feedid feedtype | all | integer all | search | replication | s3backup | Specifies one or more specific feeds ( Specifies one or more types of feeds as the replication destination, from among these values: search, replication, s3backup. Use the special value “all” to refer to all feed IDs or types, including no feed. The SEND request needs query arguments for feedid, feedtype, or both, which is a union of all of those provided arguments; if you do not provide either, SEND reverts to the legacy behavior. | ||||
timeout | true | number of seconds | false | Sets how long to wait for replication to complete; if disabled (false; not recommended), feed processing could go on indefinitely if a feed is blocked. Using timeout=true waits for the Swarm setting scsp.defaultFeedSendTimeout time in seconds, which defaults to 30. Specifying a positive number for the timeout overrides the value in the Swarm setting. | |||||
version | ETag of desired object version | Used on GET, HEAD, DELETE, COPY, APPEND, or SEND requests to specify a previous version to target on the request: If used in contexts where versioning is disabled, operations that reference the current version proceed normally, but any other ETag results in a 404 - Not Found. (v9.2) If used on GET or HEAD requests of an immutable object (which cannot be versioned), the query will succeed if the query argument value is the UUID (and ETag) of the object. (v9.5) | |||||
suspendversioning | Lets you temporarily suspend version creation on POST, PUT, COPY, APPEND, and DELETE requests for versioned objects. It has the effect of updating the current version without adding to the versioning chain. (v9.5) |
...