All Products
Search
Document Center

Intelligent Media Services:ListBatchMediaProducingJobs

Last Updated:Dec 16, 2024

Queries a list of quick video production jobs based on conditions such as the job type and state.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.
OperationAccess levelResource typeCondition keyAssociated operation
ice:ListBatchMediaProducingJobslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
JobIdstringNo

The ID of the quick video production job.

****d80e4e4044975745c14b****
JobTypestringNo

The job type.

Valid values:

  • Script: script-based editing job that mixes media assets.
  • Smart_Mix: intelligent editing job that mixes media assets.
Script
StatusstringNo

The job state.

Valid values:

  • Finished
  • Init
  • Failed
  • Processing
Finished
StartTimestringNo

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

2022-02-02T00:00:00Z
EndTimestringNo

The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

2023-06-05T15:59:59Z
SortBystringNo

The sorting parameter. Valid values:

  • desc (default): sorted by creation time in descending order.
  • asc: sorted by creation time in ascending order.
desc
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results.

mRZkKAovub0xWVfH14he4Q==
MaxResultsintegerNo

The maximum number of entries to return.

100

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

******3B-0E1A-586A-AC29-742247******
EditingBatchJobListarray<object>

The queried quick video production jobs.

EditingBatchJobobject

The queried quick video production job.

JobIdstring

The ID of the quick video production job.

******7ecbee4c6d9b8474498e******
InputConfigstring

The input configurations.

EditingConfigstring

The editing configurations. For more information, see EditingConfig .

{ "MediaConfig": { "Volume": 0 }, "SpeechConfig": { "Volume": 1 }, "BackgroundMusicConfig": { "Volume": 0.3 } }
OutputConfigstring

The output configurations. For more information, see OutputConfig .

{ "MediaURL": "http://xxx.oss-cn-shanghai.aliyuncs.com/xxx_{index}.mp4", "Count": 20, "MaxDuration": 15, "Width": 1080, "Height": 1920, "Video": {"Crf": 27} }
Statusstring

The job state.

Valid values:

  • Finished
  • Init
  • Failed
  • Processing
Finished
UserDatastring

The user-defined data in the JSON format, which can be up to 512 bytes in length. You can specify a custom callback URL. For more information, see Configure a callback upon editing completion.

Extendstring

The extended information of the job.

{}
CreateTimestring

The time when the job was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2023-06-09T06:36:48Z
ModifiedTimestring

The time when the job was last modified.

2023-06-09T06:37:58Z
CompleteTimestring

The time when the job was complete. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2023-06-09T06:38:09Z
JobTypestring

The job type.

Valid values:

  • Script: script-based editing job that mixes media assets.
  • Smart_Mix: intelligent editing job that mixes media assets.
Script
NextTokenstring

A pagination token. It can be used in the next request to retrieve a new page of results.

8EqYpQbZ6Eh7+Zz8DxVYoQ==
MaxResultsinteger

The number of entries per page. Valid values: 1 to 100.

Default value: 10.

100

Examples

Sample success responses

JSONformat

{
  "RequestId": "******3B-0E1A-586A-AC29-742247******",
  "EditingBatchJobList": [
    {
      "JobId": "******7ecbee4c6d9b8474498e******",
      "InputConfig": "",
      "EditingConfig": "{\n  \"MediaConfig\": {\n      \"Volume\": 0\n  },\n  \"SpeechConfig\": {\n      \"Volume\": 1\n  },\n \"BackgroundMusicConfig\": {\n      \"Volume\": 0.3\n  }\n}",
      "OutputConfig": "{\n  \"MediaURL\": \"http://xxx.oss-cn-shanghai.aliyuncs.com/xxx_{index}.mp4\",\n  \"Count\": 20,\n  \"MaxDuration\": 15,\n  \"Width\": 1080,\n  \"Height\": 1920,\n  \"Video\": {\"Crf\": 27}\n}",
      "Status": "Finished",
      "UserData": "",
      "Extend": "{}",
      "CreateTime": "2023-06-09T06:36:48Z",
      "ModifiedTime": "2023-06-09T06:37:58Z",
      "CompleteTime": "2023-06-09T06:38:09Z\n",
      "JobType": "Script"
    }
  ],
  "NextToken": "8EqYpQbZ6Eh7+Zz8DxVYoQ==",
  "MaxResults": 100
}

Error codes

For a list of error codes, visit the Service error codes.