Torch Object Storage
Name | Location | Type | Required | Sample value | Description |
Name | Location | Type | Required | Sample value | Description |
metadata | Query | String | Yes | - | Identifies a SetObjectMeta request. |
versionId | Query | String | No | 57AF1A32CECB56721267 | Version ID of the object. Use this to update the metadata of a specific version of the object. |
Content-Type | Header | String | No | text/plain | Object content type. |
Cache-Control | Header | String | No | no-cache, no-store, must-revalidate | Specifies the caching behavior when the object is downloaded. |
Expires | Header | String | No | Mon, 04 Jul 2022 02:57:31 GMT | Specifies the cache expiration time as defined in RFC 2616. |
Content-Disposition | Header | String | No | attachment; filename=123.txt | Specifies the default filename of the object when downloaded. |
Content-Encoding | Header | String | No | gzip | Specifies the content encoding of the object when downloaded. |
Content-Language | Header | String | No | en-US | Specifies the content language of the object when downloaded. |
x-tos-meta-* | Header | String | No | x-tos-meta-key: value | When creating an object, you can specify custom metadata through HTTP request headers prefixed with "x-tos-meta-" to tailor object management. Your custom metadata will appear in the response headers when others retrieve this object or query the object metadata. |
x-tos-object-expires | Header | String | No | 3 | Add expiration time to objects, or modify the expiration time of objects. After expiration, TOS will automatically delete the object. The expiration time is calculated from the Last-Modified time of the object, in days. After setting the expiration time for an object, TOS will start the deletion task at midnight after the expiration time is reached. For example, if the last nodified time of an object is 2024-09-26 12:00, and the expiration time is 3 days, the object will expire at 2024-09-30 00:00. tip The expiration time of an object takes priority over the deletion rule based on its lifecycle. For example, if an object is set to expire in 5 days and a lifecycle rule specifies that the object should be deleted after 3 days, the expiration time will take precedence. Therefore, the object will be deleted after 5 days according to its expiration time. |