Queries the information about a live editing job. The requested information includes the state, timeline, and template of the job, the ID and URL of the output file, and the configurations of the job. You can call this operation to query only live editing jobs created within the past year.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
ice:GetLiveEditingJob | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
JobId | string | No | The ID of the live editing job. | ****d80e4e4044975745c14b**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "****36-3C1E-4417-BDB2-1E034F****",
"LiveEditingJob": {
"JobId": "****cdb3e74639973036bc84****",
"ProjectId": "****fddd7748b58bf1d47e95****",
"Status": "Success",
"Clips": "[{\\\"StartTime\\\": \\\" 2021-06-21T08:01:00Z\\\", \\\"EndTime\\\": \\\" 2021-06-21T08:03:00Z\\\" }]",
"UserData": "{\"key\": \"value'}",
"CreationTime": "2020-12-23T13:33:40Z",
"ModifiedTime": "2020-12-23T13:33:49Z",
"CompleteTime": "2020-12-23T13:33:52Z",
"MediaId": "****0cc6ba49eab379332c5b****",
"MediaURL": "http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4",
"Code": "InvalidParameter",
"Message": "The specific parameter LiveStreamConfig is not valid.",
"LiveStreamConfig": {
"AppName": "app",
"DomainName": "domain.com",
"StreamName": "streamName"
},
"MediaProduceConfig": {
"Mode": "Accurate"
},
"OutputMediaConfig": {
"MediaURL": "https://testice-testbucket.oss-cn-shanghai.aliyuncs.com/test.mp4",
"StorageLocation": "outin-xxxxxx.oss-cn-shanghai.aliyuncs.com",
"FileName": "test.mp4",
"Width": 640,
"Height": 480,
"Bitrate": 1000,
"VodTemplateGroupId": "VOD_NO_TRANSCODE"
}
}
}
Error codes
For a list of error codes, visit the Service error codes.