Retrieves details for an editing and composition job, such as its task status, timeline, template, and data.
Operation description
Limitations
This API can only retrieve editing job data from the past year.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetMediaProducingJob |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
The ID of the media production job. |
****cdb3e74639973036bc84**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
****83B7-7F87-4792-BFE9-63CD2137**** |
| MediaProducingJob |
object |
The details of the media producing job. |
|
| JobId |
string |
The job ID. |
****cdb3e74639973036bc84**** |
| ProjectId |
string |
The project ID. |
****fddd7748b58bf1d47e95**** |
| MediaId |
string |
The ID of the output media asset. |
****0cc6ba49eab379332c5b**** |
| MediaURL |
string |
The URL of the output media file. |
http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4 |
| Timeline |
string |
The timeline of the media producing job. |
{"VideoTracks":[{"VideoTrackClips":[{"MediaId":"****4d7cf14dc7b83b0e801c****"},{"MediaId":"****4d7cf14dc7b83b0e801c****"}]}]} |
| TemplateId |
string |
The ID of the template used for the job. |
****6e76134d739cc3e85d3e**** |
| ClipsParam |
string |
The clip parameters of the template used for the job. |
{"VideoArray":["****05512043f49f697f7425****","****05512043f49f697f7425****","****05512043f49f697f7425****"]} |
| Duration |
number |
The duration of the output media. Important This parameter is returned only if the job is successful and the output is an audio or video file. |
30.500000 |
| CreateTime |
string |
The time in UTC when the media producing job was created, formatted as |
2020-12-23T13:33:40Z |
| CompleteTime |
string |
The time in UTC when the media producing job was completed, formatted as |
2020-12-23T13:33:52Z |
| ModifiedTime |
string |
The time in UTC when the media producing job was last modified, formatted as |
2020-12-23T13:33:49Z |
| Status |
string |
The status of the media producing job. Valid values:
|
Failed |
| Code |
string |
The error code of the media producing job. Important This parameter is returned only if the job fails. |
ExceededMaximumValue |
| Message |
string |
The error message of the media producing job. Important This parameter is returned only if the job fails. |
The specified "Width_Height" has exceeded maximum value. |
| VodMediaId |
string |
The ID of the media asset in VOD (Video on Demand). This ID is returned if the job's output is stored in VOD. |
****332c5b0cc6ba49eab379**** |
| UserData |
string |
The user data, in JSON format. |
{"NotifyAddress":"http://xx.xx.xxx","Key":"Valuexxx"} |
| SubJobMaterials |
string |
If the job is a subtask of a batch smart one-click video creation task, this parameter contains the subtask's materials, such as the title and speech script. |
{"Title": "标题", "SpeechText": "批量智能一键成片口播文案"} |
| Progress |
integer |
The progress of the job. Valid values: 0 to 100. |
Examples
Success response
JSON format
{
"RequestId": "****83B7-7F87-4792-BFE9-63CD2137****",
"MediaProducingJob": {
"JobId": "****cdb3e74639973036bc84****",
"ProjectId": "****fddd7748b58bf1d47e95****",
"MediaId": "****0cc6ba49eab379332c5b****",
"MediaURL": "http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4",
"Timeline": "{\"VideoTracks\":[{\"VideoTrackClips\":[{\"MediaId\":\"****4d7cf14dc7b83b0e801c****\"},{\"MediaId\":\"****4d7cf14dc7b83b0e801c****\"}]}]}",
"TemplateId": "****6e76134d739cc3e85d3e****",
"ClipsParam": "{\"VideoArray\":[\"****05512043f49f697f7425****\",\"****05512043f49f697f7425****\",\"****05512043f49f697f7425****\"]}",
"Duration": 30.5,
"CreateTime": "2020-12-23T13:33:40Z",
"CompleteTime": "2020-12-23T13:33:52Z",
"ModifiedTime": "2020-12-23T13:33:49Z",
"Status": "Failed",
"Code": "ExceededMaximumValue",
"Message": "The specified \"Width_Height\" has exceeded maximum value.",
"VodMediaId": "****332c5b0cc6ba49eab379****",
"UserData": "{\"NotifyAddress\":\"http://xx.xx.xxx\",\"Key\":\"Valuexxx\"}",
"SubJobMaterials": "{\"Title\": \"标题\", \"SpeechText\": \"批量智能一键成片口播文案\"}",
"Progress": 0
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter \ is not valid. | |
| 404 | JobNotFound | The specified job not found |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.