Submits a highlight extraction job.
Operation description
This is an asynchronous API. When you submit a job, the API returns a job ID. The system then queues the job for background processing and sends the final result via a callback notification. You can also query the job status by calling the Get Smart Task Result operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitHighlightExtractionJob |
none |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A client token provided by the caller to ensure the idempotence of the request. |
****12e8864746a0a398**** |
| InputConfig |
string |
No |
The input configuration. For more information, see InputConfig Parameter Description. |
{ "MediaArray": [{ "MediaId": "ceb72f00e****1ef8216e7e6c64a6302" }, { "MediaId": "ce450c40e****1ef8216e7e6c64a6302" }, { "MediaId": "ce49a020e****1ef81c1e6f6d5686302" }, { "MediaId": "d047e120e****1ef81c1e6f6d5686302" }, { "MediaId": "cfe2ddc0e****1ef81c1e6f6d5686302" }], "Strategy": { "Count": 5, "ClipDuration": 15 } } |
| OutputConfig |
string |
No |
The output configuration. For more information, see OutputConfig Parameter Description. |
{ "NeedExport": true, "OutputMediaTarget": "oss-object", "Bucket": "test-bucket", "ObjectKey": "path/to/test_{index}.mp4", "Width": 1920, "Height": 1080, "ExportAsNewMedia": false } |
| UserData |
string |
No |
The user data and callback configuration. For details on the structure, see UserData Configuration. |
{"NotifyAddress":"http://xx.xx.xxx"}或{"NotifyAddress":"https://xx.xx.xxx"}或{"NotifyAddress":"ice-callback-demo"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
******3B-0E1A-586A-AC29-742247****** |
| JobId |
string |
The ID of the highlight extraction job. |
****cdb3e74639973036bc84**** |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"JobId": "****cdb3e74639973036bc84****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.