Torch Object Storage
Name | Location | Type | Required | Example value | Description |
Name | Location | Type | Required | Example value | Description |
If-Match | Header | String | No | 8a36be0d764367db4eea2deb16b71543 | The object metadata is returned only if the provided expected ETag matches the object's ETag; otherwise, a 412 Precondition Failed response is returned. |
If-Modified-Since | Header | String | No | Mon, 04 Jul 2022 02:57:31 GMT | The object's metadata is returned only if the time specified in the input parameter is earlier than the object's actual modification time; otherwise, a 304 Not Modified response is returned. The time format is RFC1123 GMT. |
If-None-Match | Header | String | No | 8a36be0d764367db4eea2deb16b71543 | The object metadata is returned only if the provided expected ETag does not match the object's ETag; otherwise, a 304 Not Modified response is returned. |
If-Unmodified-Since | Header | String | No | Mon, 04 Jul 2022 02:57:31 GMT | The object's metadata is returned only if the time specified in the input parameter is equal to or later than the object's actual modification time; otherwise, a 412 Precondition Failed response is returned. The time format is RFC1123 GMT. |
x-tos-server-side-encryption-customer-algorithm | Header | String | No | AES256 | This header field is used when accessing an object that has been encrypted with SSE-C. It specifies the algorithm to be used for decrypting the object. The possible values are described as follows:
|
x-tos-server-side-encryption-customer-key | Header | String | No. Required when using SSE-C encryption. | YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh**** | When used in conjunction with x-tos-server-side-encryption-customer-algorithm, this parameter specifies the encryption key for the SSE-C encrypted target object. The key must be a base64-encoded 256-bit encryption key. |
x-tos-server-side-encryption-customer-key-MD5 | Header | String | No | 0gYVWExOAz67jX5A6qY**** | This header field is used when encrypting objects with SSE-C and is used in conjunction with x-tos-server-side-encryption-customer-key. This header field represents the MD5 value of the key used to decrypt the object. This header field is generated by base64 encoding the 128-bit MD5 value of the key. This value is used for message integrity verification to ensure that the encryption key has not been corrupted during transmission. |
versionId | Query | String | No | 57AF1A32CECB56721267 | The version number of the object. Identifies the retrieval of object metadata for a specified version. |
Name | Type | Example value | Description |
Name | Type | Example value | Description |
Last-Modified | String | Mon, 02 Jul 2021 10:29:28 GMT | The object's last update time. |
x-tos-delete-marker | Bool | true | Indicates whether the object is marked as deleted. If not, the message header will not appear in the response. |
x-tos-server-side-encryption | String | kms | This header field is returned when the object is encrypted using SSE-TOS or SSE-KMS. It indicates the server-side encryption method for the object, with possible values as follows:
|
x-tos-server-side-encryption-kms-key-id | String | trn:kms:cn-beijing:****:keyrings/ring-test/keys/key-test | This header field is returned when an object uses SSE-KMS encryption. It indicates the KMS master key ID used for SSE-KMS encryption. |
x-tos-server-side-encryption-customer-algorithm | String | AES256 | This header field is returned when the object is encrypted using SSE-C and indicates the algorithm used for decryption. |
x-tos-server-side-encryption-customer-key-MD5 | String | 0gYVWExOAz67jX5A6qY4+A== | This header field is returned when an object is encrypted using SSE-C and indicates the MD5 value of the key used for decryption. |
x-tos-version-id | String | 57AF1A32CECB56721267 | The version number of the object. If the version number does not exist, this message header will not appear in the response message. |
x-tos-website-redirect-location | String | /abc | When a bucket is configured with Website configuration, requests to retrieve this object can be redirected to another object within the bucket or to an external URL. TOS extracts this value from the header and stores it in the object's metadata. |
x-tos-object-type | String | Symlink | When the object is not a Normal object, this response header will be returned. The description of its values is as follows:
|
x-tos-symlink-target-size | Integer | 10000 | When the object is a soft link object, this header field is returned to indicate the size of the target object pointed to by the soft link object. |
x-tos-storage-class | String | STANDARD | Storage type of the object. The possible values are explained as follows:
|
x-tos-storage-tier | String | INFREQUENT | The access level of the intelligent tiered object, with values described as follows:
tip The x-tos-storage-tier parameter is returned only for intelligent tiered objects. |
x-tos-hash-crc64ecma | Integer | 6186290338114851376 | Represents the 64-bit CRC value of this object. The 64-bit CRC is calculated in accordance with the ECMA-182 standard. tip For objects created before the TOS server supported 64-bit CRC validation, this message header will not appear in the response message. |
x-tos-tagging-count | String | 3 | Number of labels for the object. Returned only if object tag read permission is granted. |
X-Tos-Expiration | String | expiry-date="Sun, 25 Dec 2022 00:00:00 GMT" | There are two possible scenarios regarding the expiration date of the object:
|
x-tos-replication-status | String | COMPLETE | There are two possible scenarios regarding the status of object cross-region replication or intra-region replication:
warning
|
x-tos-restore | String | ARCHIVE | If the object is an archive, cold archive, or deep cold archive object (that is, its storage class is ARCHIVE, COLD_ARCHIVE, or DEEP_COLD_ARCHIVE), this header field will be returned after the Restore Object operation is performed. The details are as follows:
|
x-tos-restore-request-date | String | Sat, 1 Jan 2022 00:00:00 GMT | If the object is an archive, cold archive, or deep cold archive object (that is, the storage type is ARCHIVE, COLD_ARCHIVE, or DEEP_COLD_ARCHIVE), and the Restore Object operation has been performed, this header field will be returned during replica generation to indicate the time the Restore Object operation was executed. For example, Sat, 1 Jan 2022 00:00:00 GMT. |
x-tos-restore-expiry-days | Integer | 7 | If the object is an archive, cold archive, or deep cold archive object (that is, the storage type is ARCHIVE, COLD_ARCHIVE, or DEEP_COLD_ARCHIVE), and the Restore Object operation has been performed, this header field will be returned during replica generation to indicate the number of valid days for the replica. |
x-tos-restore-tier | String | Standard | The recovery priority of archive-type files: During replica generation, this header field will be returned. The explanation is as follows:
|
x-tos-directory | Bool | true | This header field is returned when the bucket type is hierarchical bucket and the file type is directory. |
x-tos-create-time | String | Mon, 02 Jul 2021 10:29:28 GMT | Creation date of the object. |
x-tos-object-lock-mode | String | COMPLIANCE | The mode of the object retention policy can only be set to COMPLIANCE, which indicates compliance mode. tip Your account must have the GetObjectRetention permission for the x-tos-object-lock-mode parameter to be returned. |
x-tos-object-lock-retain-until-date | String | 2025-01-01T00:00:00Z | The lock expiration date of the object is the date during which the object cannot be deleted or overwritten. tip Your account must have the GetObjectRetention permission for the x-tos-object-lock-retain-until-date parameter to be returned. |