Torch Object Storage
Field name | Location | Type | Required | Example value | Description |
Field name | Location | Type | Required | Example value | Description |
workflow | Query | String | Yes | - | Represents the special identifier for the CreateWorkflow request. |
Field name | Type | Required | Example value | Description |
Field name | Type | Required | Example value | Description |
Rules | Content | Yes | - | Workflow configuration information. |
ID | String | Yes | my-wf-rule-1 | Name of the workflow, described as follows:
Parent node: Rules |
Enabled | String | Yes | true | Enable this workflow. The value descriptions are as follows:
parent node: Rules |
Prefix | String | Yes | my-audio-dir/ | Path bound to the workflow. Uploading files to this path triggers the workflow execution. If not specified, the entire bucket is bound, and uploading files to the bucket triggers the workflow execution. Parent node: Rules |
ExtFilter | Content | Yes | - | Media type. Parent node: Rules |
AudioExts | Content | Yes | wav | media type, only this media type can trigger workflow execution; currently only supports the value wav. Parent node: ExtFilter |
Topology | String | Yes | my-op-1 | Template names included in the workflow. |
Operations | Content | Yes | - | Template information. Parent node: Rules |
AudioTranscode | Content | Yes | - | Audio transcode template information. Parent node: Operations |
OperationID | String | Yes | my-op-1 | Name of the workflow template. Parent node: AudioTranscode |
Format | String | Yes | mp3 | Transcode output format, currently only supports mp3. Parent node: AudioTranscode |
Bitrate | Number | Yes | 128000 | Transcoding bitrate, currently only supports the value 128000. Parent node: AudioTranscode |
Output | Content | Yes | - | Location where files are stored. Parent node: AudioTranscode |
Region | String | Yes | cn-beijing | Region where the transcoded audio file is stored Parent node: Output |
Bucket | String | Yes | my-bucket | Bucket for storing transcoded audio files. Parent node: Output |
Object | String | Yes | test.mp3 | Name of the transcoded audio file. Parent node: Output |