Torch Object Storage
This interface is similar to AppendObject for regular buckets but only supports appending from the end of an object and does not support creating objects through ModifyObject. Moreover, ModifyObject does not differentiate between object types; both regular objects and multipart upload objects support appending.
POST /objectName?modify&offset=Offset HTTP/1.1 Host: bucketname.tos-cn-beijing.volces.com Date: GMT Date Authorization: authorization string <modify data>
This request uses the public request header, see Common parameters.
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| modify | Query | String | Is | Represents a special identifier for the ModifyObject request. | |
| offset | Query | Integer | Is | 0 | Specifies where to append from. After a successful append, the response message's x-tos-next-modify-offset header field will include the offset for the next append. |
x-tos-traffic-limit | Header | String | No | 819200 | TOS provides a single link speed limit feature, controlling the flow in operations like file upload and download to ensure other applications' bandwidth. Value explanations are as follows:
|
x-tos-traffic-limit | Query | String | No | 819200 | TOS provides a single link speed limiting feature, which controls the flow in operations such as uploading and downloading files, to ensure the network bandwidth for other applications. Value explanations are as follows:
|
This request does not contain request message elements; the body carries the data content for modifying and writing objects.
This request returns the common response message headers, please see Common parameters.
| Name | Type | Description |
|---|---|---|
| x-tos-next-modify-offset | Integer | Offset for the next append operation to the object. |
| x-tos-hash-crc64ecma | Integer | Represents the 64-bit CRC value of the object. The 64-bit CRC is calculated according to the ECMA-182 standard. |
There is no message element in this request response.
POST /objectName?modify&offset=0 HTTP/1.1 Host: bucketname.tos-cn-beijing.volces.com Date: Fri, 30 Jul 2021 08:05:36 GMT Authorization: authorization string
HTTP/1.1 200 OK x-tos-id-2: 5726ce090a2d002d-a444ed0 x-tos-request-id: 5726ce090a2d002d-a444ed0 Date: Thu, 20 Jun 2024 07:59:37 GMT server: TosServer Content-Length: 0 x-tos-next-modify-offset: 4379329 x-tos-hash-crc64ecma: 6186290338114851376 ETag: "96e79218965eb72c92a549dd5a330112"