Torch Object Storage
Field name | Location | Type | Required | Example value | Description |
Field name | Location | Type | Required | Example value | Description |
doc_jobs | Query | String | Yes | - | It is a unique identifier representing a submitted document transcoding task request. |
job_type | Query | String | Yes | DocConvert | Task type, the value is DocConvert only in document transcoding scenarios. |
Field name | Type | Required | Example value | Description |
Field name | Type | Required | Example value | Description |
Input | Array | Yes | - | File information to be processed. |
Key | String | Yes | input/obj1.docx | Complete file name including path in the storage bucket. Parent node: Input |
DocProcessConfig | Array | Yes | - | Specific configuration for document transcoding. |
StartPage | Integer | Yes | 1 | Convert starting from page X. In a table file, one table may be split into multiple pages for conversion, generating multiple images. Parent node: DocProcessConfig |
EndPage | Integer | Yes | 2 | Convert to page X. In a table file, a table may be split across multiple pages for conversion, generating multiple images. -1 means convert all pages. Parent node: DocProcessConfig |
SrcType | String | No | - | Source data file extension type. If the source type is set, the system will prioritize the set value; if not set, the source data type will be determined based on the specified object's file extension. You can set this value when the specified object has no suffix. Parent node: DocProcessConfig |
TgtType | String | No | jpg | convert output target file type.
parent node: DocProcessConfig |
Output | Array | Yes | - | Specify the address information for saving the transcoded post-processing result. |
Region | String | Yes | cn-beijing | The region where the bucket is located. Parent node: Output |
Bucket | String | Yes | testbkt | The bucket where the results are stored. Parent node: Output |
Object | String | Yes | abc_${Page}.jpg | Output file path.
Parent node: Output |
Field name | Type | Example value | Description |
Field name | Type | Example value | Description |
Code | String | OK | Error code. An error code is a unique string that identifies an error condition. |
Message | String | Success | Detailed English description of the specific error in the error response message. Returned only when the task fails. |
JobId | String | 1878c5dd2*****67f6fff7 | new task ID. |