SubmitWorkflowJob
Submits a workflow job to process a video.
Operation description
Important: Before you call this operation, understand the billing methods and pricing of ApsaraVideo VOD. Using a workflow may incur fees for features such as transcoding, encryption, and content moderation. For more information, see ApsaraVideo VOD pricing.
This operation is an asynchronous API. After you submit the job, the API returns a task ID. The job is queued and runs asynchronously. The service delivers the final result through a callback. You can also query the task status by calling GetTask.
Use this operation to submit a workflow job for a video. For more information about workflows, see Workflows.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:SubmitWorkflowJob |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkflowId |
string |
Yes |
The workflow ID. Log on to the ApsaraVideo VOD console. In the left-side navigation pane, choose Configuration > Media Processing > Workflows to view the ID. |
34d577eade633860bdf1237**** |
| MediaId |
string |
No |
The ID of the video. You can obtain the media ID in one of the following ways:
|
058b39e75269da42b08f00459**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
A01C8FF4-C106-4431-418F973DADB7**** |
| TaskId |
string |
The ID of the workflow job. You can use this ID to check the job status by calling the GetTask operation. |
Examples
Success response
JSON format
{
"RequestId": "A01C8FF4-C106-4431-418F973DADB7****",
"TaskId": ""
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.