Torch Object Storage
Category | Notes |
Category | Notes |
Number of objects |
|
URL | Only supports fetching publicly accessible URL resources. |
Permission | Make sure the Volcengine account you use has permission to upload objects to the corresponding bucket; otherwise, asynchronous fetch tasks will fail. |
trigger mechanism | Uses an asynchronous triggering mechanism that does not execute tasks sequentially but allows multiple tasks to run simultaneously; task blocking does not prevent others from running. |
call result | After calling the PutFetchTask API, only the task ID will be returned. If you want to check the details of this task, such as whether it executed successfully, you can call the GetFetchTask API. For details, see GetFetchTask. |
QPS | When calling the PutFetchTask interface to submit tasks, a maximum of 100 QPS is supported. |
Bucket type |
Name | Location | Type | Required | Sample value | Note |
Name | Location | Type | Required | Sample value | Note |
fetchTask | Query | String | Yes | - | Represents the special identifier for the PutFetchTask request. |
x-storage-class | Header | String | No | STANDARD | Specifies the storage type of the destination object. If this parameter is unset, the object inherits the default storage type of its containing bucket. Valid values:
tip Cold Archive is only supported in China (Beijing), China (Shanghai), and China (Guangzhou).
tip Deep Cold Archive is only supported in China (Beijing), China (Shanghai), and China (Guangzhou). It is currently in closed beta. Please contact your account manager to use this storage type. |
x-tos-acl | Header | String | No | private | Object ACL setting. Valid values:
|
x-tos-grant-full-control | Header | String | No | id=123,id=456 | Grants the grantees READ, READ_ACP, and WRITE_ACP permissions on the object during object creation. Format: id=account1,id=account2. |
x-tos-grant-read | Header | String | No | id=123,id=456 | Allows the grantee to read the object and its metadata. Format: id=account1,id=account2. |
x-tos-grant-read-acp | Header | String | No | id=123,id=456 | Allows the grantees to read the object ACL. Format: id=account1,id=account2. |
x-tos-grant-write-acp | Header | String | No | id=123,id=456 | Allows the grantees to modify the object ACL. Format: id=account1,id=account2. |
x-tos-server-side-encryption-customer-algorithm | Header | String | No | AES256 | Specifies the algorithm for SSE-C encrypting the object. Valid values are as follows: AES256: Encrypt the object using AES256 algorithm. |
x-tos-server-side-encryption-customer-key | Header | String | No | 1234567890abcdefghijklmnopqrstuv | Specify the SSE-C encrypted object's key. |
x-tos-server-side-encryption-customer-key-MD5 | Header | String | No | 0gYVWExOAz67jX5A6qY4+A== | Represents the MD5 value of the key used for the encrypted object. The value is derived by Base64-encoding the 128-bit MD5 of the key and is used for message integrity check to ensure error-free transmission of the encryption key. |
x-tos-meta-* | Header | String | No | x-tos-meta-key: value | Used to add custom metadata for customized object management. Your custom metadata will appear in the response headers when others retrieve this object or query the object metadata. |
Name | Location | Type | Required | Sample value | Note |
Name | Location | Type | Required | Sample value | Note |
URL | Body | String | Yes | http://abc.123/ | URL to be captured. tip Currently supports only a single URL. |
Object | Body | String | Yes | objectName | Specify the object name stored in TOS. |
IgnoreSameKey | Body | Bool | No | true | Fetch strategy when an object with the same name exists in the bucket, with the following options:
The default is false. tip The key of the object is used to determine if it has the same name; object content is not compared. |
ContentMD5 | Body | String | No | XrY7u+Ae7tCTyyK7j1rNww== | The base64 value of the MD5 of the object to be uploaded. After setting, TOS calculates the MD5 of the uploaded object and verifies it against the MD5 carried by PutFetchTask. If verification fails, the object fetch will fail. |
CallbackUrl | Body | String | No | http://domainname.com/callback | The callback request URL specifies the address of the third-party application service. After a successful upload, the TOS service sends an HTTP/HTTPS request to this address. The details are as follows:
warning
|
CallbackHost | Body | String | No | alternative-domainname.com | The HOST header used when sending callback requests to replace the HOST parsed from callbackUrl. warning
|
CallbackBody | Body | String | No | {"bucket" : ${bucket}, "object" : ${object},"fetchTaskId":${fetchTaskId}} | The message body sent during the callback request must match the type specified by callbackBodyType. tip
|
CallbackBodyType | Body | String | No | application/json | The message body type of callback request (Content-Type), used together with callbackBody. Only values of application/x-www-form-urlencoded and application/json are supported; other values are invalid. The default value is application/x-www-form-urlencoded. tip Callback parameter variables are not supported. |
Name | Type | Sample value | Description |
Name | Type | Sample value | Description |
TaskID | String | da62d05e-e6e4-4bad-924a-ed4ab98ae17a | Asynchronous task ID. |