Torch Object Storage
Field name | Location | Type | Required | Example value | Description |
workflow | Query | String | Yes | - | Special identifier representing the GetWorkflow request. |
Field name | Type | Example value | Description |
Rules | Content | - | Workflow configuration information. |
ID | String | my-wf-rule-1 | Name of the workflow. Parent node: Rules |
Enabled | String | true | Enable this workflow. The value explanations are as follows:
Parent node: Rules |
Prefix | String | my-audio-dir/ | Path bound to the workflow. The workflow triggers only when files upload to this path. If not specified, the binding applies to the entire bucket, triggering the workflow whenever files upload to the bucket. Parent node: Rules |
ExtFilter | Content | - | Media type. Parent node: Rules |
AudioExts | String | wav | Media type. Only media of this type can trigger the workflow; currently, only the value wav is supported. Parent node: ExtFilter |
Topology | String | my-op-1 | Template names included in the workflow. |
Operations | Content | - | Template information. Parent node: Rules |
AudioTranscode | Content | - | Audio transcoding template information. Parent node: Operations |
OperationID | String | my-op-1 | Workflow template name. Parent node: AudioTranscode |
Format | String | mp3 | Transcoding output format currently only supports the value mp3. Parent node: AudioTranscode |
Bitrate | Number | 128000 | Transcoding bitrate, currently only supports the value 128000. Parent node: AudioTranscode |
Output | Content | - | File storage location. Parent node: AudioTranscode |
Region | String | cn-beijing | Region where the transcoded audio files are stored. Parent node: Output |
Bucket | String | my-bucket | Bucket for storing transcoded audio files. Parent node: Output |
Object | String | test.mp3 | Name of the transcoded audio file. Parent node: Output |