VMRack
Home
Products
Solutions
Pricing
Support
Referral Program
Developer Center
OpenAPI Signature Rules
Region and Endpoint
QueueService
Delete Queue
Create Queue
Update Queue
Queue List
MtsTaskService
Create Task
Retry Task
Get Task Details
Delete Task
List Tasks
Batch Delete Tasks
Get Node Process Types
Batch Retry Tasks
PresetService
Create Preset
Preset Details
Delete Preset
Update Preset
Preset List
WorkflowService
Create Workflow
Copy Workflow
Get Workflow
Delete Workflow
Update Workflow
Workflow List
Domain Management
Query the list of domain names
Object Management
Object - Obtain object information
Object - Delete object
Object - Interrupt shard upload, copy, move, modify storage type task
Object - Complete shard copy, move, modify storage type task
Object - Copy object
Object - Create a shard copy, move, modify storage type task
Object - Create directory
Object - Delete directory
Object - Get object list
Object - Get metadata
Object - Update metadata
Object - Move object
Object - Execute shard copy, move, modify storage type
Object - Complete multipart upload task
Object - Create multipart upload task
Object - Pre-download
Object - Pre-sign
Object - Modify object storage type
Bucket Management
Bucket - Delete all bucket data
Bucket - Query bucket information
Bucket - Create bucket
Bucket - Delete bucket
Bucket - Modify bucket access control permissions
Bucket - Get CORS configuration
Bucket - Update CORS configuration
Bucket - Create CORS configuration
Bucket - Delete CORS configuration
Bucket - Get CORS configuration list
Bucket - Query bucket lifecycle list
Bucket - Update bucket lifecycle
Bucket - Create bucket lifecycle
Bucket - Delete bucket lifecycle
Bucket - Query bucket list
Bucket - Add client cache Maxage
Bucket - Get referer configuration
Bucket - Edit referer configuration
Version Notes
  1. Developer Center
  2. /
  3. WorkflowService
  4. /
  5. Workflow List

Workflow List

Workflow list

Request Parameters

offsetnumber
Optional

Starting offset, default 0

limitnumber
Optional

Page size, 0-500 items

sortstring
Optional

Sort field, options: created_at, updated_at

orderstring
Optional

Sort order, options: asc, desc

workflow_namestring
Optional

Workflow name, 1-100 characters

Response Parameters

listobject[]
Optional

Workflow list

idstring
Optional

Workflow ID

workflow_namestring
Optional

Workflow Name

user_idstring
Optional

User ID

region_idstring
Optional

Region ID

workflow_detailsobject
Optional
listobject[]
Optional

Workflow node list

workflow_typenumber
Optional

Workflow Node Type

1: Basic Transcoding

2: Video Concatenation

3: Screenshot

4: Output

basic_transcoding_paramsobject
Optional

Basic Transcoding Config

transcoding_preset_idstring
Optional

Transcoding Preset ID

watermark_preset_idsstring[]
Optional

Watermark Preset ID list

container_formatnumber
Optional

Container Format

0: MP4

1: MKV

2: HLS

video_paramsobject
Optional

Video Parameters

codecnumber
Optional

Video Codec

0: H264

1: H265

2: AV1

bitrate_paramsobject
Optional

Bitrate Config

bitrate_typenumber
Optional

Bitrate Config Type

0: Default

1: Constant Bitrate (CBR)

2: CRF

valuenumber
Optional

Bitrate config value

resolution_paramsobject
Optional

Resolution Config

resolution_typenumber
Optional

Resolution Config Type

0: Original Resolution

1: 4K

2: 2K

3: 1080P

4: 720P

5: 480P

6: Custom Resolution

widthnumber
Optional

Resolution Width

heightnumber
Optional

Resolution Height

aspect_paramsobject
Optional

Display Aspect Ratio Config

aspect_typenumber
Optional

Display Aspect Ratio Config Type

0: Original Aspect Ratio

1: 16:10

2: 16:9

3: 4:3

4: 1:1

5: Custom Aspect Ratio

widthnumber
Optional

Custom display width

heightnumber
Optional

Custom display height

remove_black_barsboolean
Optional

Whether to remove black bars

video_scalingobject
Optional

Scaling config, null means not set

scaling_typenumber
Optional

Scaling Config Type

0: Stretch

1: Letterbox

framerate_paramsobject
Optional

Video framerate config, null means not set

valuenumber
Optional

Custom framerate value

gop_paramsobject
Optional

Keyframe config, null means not set

valuenumber
Optional

Custom keyframe value

clip_segment_paramsobject
Optional

Clip segment config, null means not set

start_timenumber
Optional

Start time (seconds)

durationnumber
Optional

Duration (seconds)

segment_durationnumber
Optional

Segment duration, required for HLS type

audio_paramsobject
Optional

Audio Parameters

disable_audioboolean
Optional

Whether to disable audio

codecnumber
Optional

Audio Codec

0: Default

2: MP3

1: AAC

3: ACC_HE

channelsnumber
Optional

Audio channel config, 0 means keep original. Note: channels must match audio codec, otherwise transcoding or output may fail

bitrate_paramsobject
Optional

Audio Bitrate Config

bitrate_typenumber
Optional

Audio Bitrate Config Type

0: Default

1: 96k

2: 128K

3: 192K

4: 256K

5: 320K

6: Custom

valuenumber
Optional

Audio bitrate config value

sample_rate_paramsobject
Optional

Audio Sample Rate Config

sample_rate_typenumber
Optional

Audio Sample Rate Config Type

0: Default

1: 8000

2: 11025

3: 12000

4: 16000

5: 22050

6: 24000

7: 32000

8: 44100

9: 48000

10: 64000

11: 88200

12: 96000

20: Custom

valuenumber
Optional

Audio sample rate config value

subtitle_paramsobject
Optional

Subtitle Parameters

disable_subtitleboolean
Optional

Whether to disable subtitle

subtitle_fileobject
Optional

input file list

bucketstring
Optional

Bucket name

object_namestring
Optional

Object Name

ffy_oss_idstring
Optional

Cloud Storage Data ID

subtitle_placeholdernumber
Optional

Subtitle placeholder, 1-based, 0 means no subtitle

hardcode_subtitleboolean
Optional

Whether to convert soft subtitle to hard subtitle

subtitle_indexnumber
Optional

Subtitle index, 0-based

watermark_paramsobject
Optional

Watermark Parameters

watermark_listobject[]
Optional

watermark list

watermark_typenumber
Optional

Watermark Type

0: Text

1: Image

watermark_text_paramsobject
Optional

Text Watermark Configuration

textstring
Optional

Text watermark content

fontnumber
Optional

Watermark Text Font

0: FangZheng Song

1: FangZheng Hei

2: FangZheng Kai

3: MapleMono

font_sizenumber
Optional

Text watermark font size (PX)

font_colorstring
Optional

Text watermark color

add_borderboolean
Optional

Whether to add text border

border_widthnumber
Optional

Border width (1-5PX)

border_colorstring
Optional

Border color (hex color value)

border_opacitynumber
Optional

Border opacity (0-1.0)

italicboolean
Optional

Whether italic

boldboolean
Optional

Whether bold

watermark_image_paramsobject
Optional

Image Watermark Configuration

image_fileobject
Optional

input file list

bucketstring
Optional

Bucket name

object_namestring
Optional

Object Name

ffy_oss_idstring
Optional

Cloud Storage Data ID

image_scaling_paramsobject
Optional

Image Scaling Config

rationumber
Optional

Scaling ratio, (0-1], ratio of watermark to video size

watermark_positionnumber
Optional

Watermark Position

0: Top Left

4: Top Center

2: Top Right

1: Middle Left

5: Center

3: Middle Right

6: Bottom Left

7: Bottom Center

8: Bottom Right

margin_xnumber
Optional

Watermark Horizontal Margin (px)

margin_ynumber
Optional

Watermark vertical margin (px)

watermark_timeline_paramsobject
Optional

Watermark Timeline Configuration

start_typenumber
Optional

Watermark Timeline Start Type

0: From Beginning

1: From End

start_timenumber
Optional

Start time (seconds)

durationnumber
Optional

Duration (seconds)

watermark_animationboolean
Optional

Watermark animation

watermark_end_positionnumber
Optional

Watermark Position

0: Top Left

4: Top Center

2: Top Right

1: Middle Left

5: Center

3: Middle Right

6: Bottom Left

7: Bottom Center

8: Bottom Right

watermark_end_margin_xnumber
Optional

Watermark End Horizontal Margin (px)

watermark_end_margin_ynumber
Optional

Watermark End Vertical Margin (px)

watermark_animation_time_modenumber
Optional

Watermark Animation Time Mode

0: Once

1: Repeat

watermark_animation_start_timenumber
Optional

Watermark Animation Start Time

watermark_animation_intervalnumber
Optional

Watermark Animation Interval

watermark_animation_durationnumber
Optional

Watermark Animation Duration

video_concatenation_paramsobject
Optional

Video Concatenation Config

concatenation_preset_idstring
Optional

Concatenation Preset ID

container_formatnumber
Optional

Video Concatenation Container Format

0: MP4

1: MKV

resolution_paramsobject
Optional

Resolution Config

resolution_typenumber
Optional

Resolution Config Type

0: Original Resolution

1: 4K

2: 2K

3: 1080P

4: 720P

5: 480P

6: Custom Resolution

widthnumber
Optional

Resolution Width

heightnumber
Optional

Resolution Height

max_bitrateobject
Optional

Peak bitrate config, null means not set

valuenumber
Optional

Peak bitrate config value

input_filesobject[]
Optional

Concatenation input file list

bucketstring
Optional

Bucket name

object_namestring
Optional

Object Name

ffy_oss_idstring
Optional

Cloud Storage Data ID

pad_audioboolean
Optional

Whether to pad audio for videos without audio track

add_black_bordersboolean
Optional

Whether to add black borders

source_indexnumber
Optional

Source video position, 0 means the first video in the index

screenshot_paramsobject
Optional

Screenshot Config

screenshot_preset_idstring
Optional

Screenshot Preset ID

screenshot_typenumber
Optional

Screenshot Type

0: Single

1: Multiple

container_formatnumber
Optional

Screenshot Container Format

0: JPEG

1: PNG

resolution_paramsobject
Optional

Resolution Config

resolution_typenumber
Optional

Resolution Config Type

0: Original Resolution

1: 4K

2: 2K

3: 1080P

4: 720P

5: 480P

6: Custom Resolution

widthnumber
Optional

Resolution Width

heightnumber
Optional

Resolution Height

start_timenumber
Optional

Screenshot start time (seconds)

durationnumber
Optional

Screenshot duration (seconds), required for multiple screenshots

intervalnumber
Optional

Screenshot interval (seconds), required for multiple screenshots

interval_typenumber
Optional

Screenshot Interval Type

0: Second

1: Percent

interval_percentnumber
Optional

Screenshot interval percent (1-100)

time_modenumber
Optional

Screenshot Time Mode

0: Precise Time

1: Percent Range

start_percentnumber
Optional

Screenshot start percent (only valid for percent mode)

end_percentnumber
Optional

Screenshot end percent (only valid for percent mode)

screenshot_countnumber
Optional

Screenshot count, only valid for percent mode

output_paramsobject
Optional

Output Config

bucketstring
Optional

Output Bucket

pathstring
Optional

Output path, e.g. aa/bb

file_name_prefixstring
Optional

Output file name prefix

ts_name_prefixstring
Optional

TS file name prefix

file_name_suffixstring
Optional

File extension, e.g. mp4/mkv/png/jpg/zip

bucket_idstring
Optional

Bucket ID

ts_file_name_stylenumber
Optional

TS File Name Style

child_workflowsRecord<string, unknown>[]
Optional

Child node list

indexnumber
Optional

Workflow Node Index

workflow_statusnumber
Optional

Transcoding Workflow Status

0: Pending

1: Processing

2: Success

3: Failed

fail_reasonstring
Optional

Workflow node failure reason

created_atstring
Optional

Created at (unix timestamp)

updated_atstring
Optional

Updated at (unix timestamp)

totalstring
Optional

Total count

Response Examples

{
  "list": [
    {
      "id": "10000000000000000001",
      "workflow_name": "WorkflowA",
      "user_id": "10000000000000000001",
      "region_id": "10000000000000000001",
      "workflow_details": {
        "list": [
          {
            "workflow_type": 1,
            "basic_transcoding_params": {
              "transcoding_preset_id": "10000000000000000001",
              "watermark_preset_ids": [
                "10000000000000000001"
              ],
              "container_format": 0,
              "video_params": {
                "codec": 0,
                "bitrate_params": {
                  "bitrate_type": 0,
                  "value": 1000
                },
                "resolution_params": {
                  "resolution_type": 0,
                  "width": 1920,
                  "height": 1080
                }
              },
              "audio_params": {
                "disable_audio": false,
                "codec": 0,
                "channels": 2,
                "bitrate_params": {
                  "bitrate_type": 2,
                  "value": 128
                }
              },
              "subtitle_params": {
                "disable_subtitle": false
              }
            },
            "index": 0,
            "workflow_status": 0,
            "fail_reason": ""
          }
        ]
      },
      "created_at": 1700000000,
      "updated_at": 1700000000
    }
  ],
  "total": 20
}
VMRack
  • Products
  • VPS Hosting
  • VPS Hosting
    Unmetered
  • Bare Metal
  • GPU Rental
  • CDN
    Public Beta
  • Custom CDN
  • Object Storage
    Public Beta
  • Transcoder
    Public Beta
  • Solutions
  • Bring Your Own IP (BYOIP)
  • Customized Server Solutions
  • Colocation Services
  • Resources
  • Pricing
  • Help Documentation
  • Articles
  • Developer Center
  • Referral Program
  • Contact
  • Company
  • About Us
  • Terms of Service
  • User Agreement
  • Privacy Policy
  • Service Level Agreement