All Products
Search
Document Center

Intelligent Media Services:ListDynamicImageJobs

Last Updated:Dec 16, 2024

Queries a list of image animation jobs.

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:ListDynamicImageJobs
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
StartOfCreateTimestringNo

The beginning of the time range during which the jobs to be queried were created.

2022-07-12T00:00:00Z
EndOfCreateTimestringNo

The end of the time range during which the jobs to be queried were created.

2022-07-14T00:00:00Z
StatusstringNo

The state of the job.

Valid values:

  • Init: The job is submitted.
  • Success: The job is successful.
  • Fail: The job failed.
Success
OrderBystringNo

The order that you use to sort the query results. Valid values:

  1. CreateTimeAsc: sorts the jobs by creation time in ascending order.
  2. CreateTimeDesc: sorts the jobs by creation time in descending order.
CreateTimeDesc
JobIdstringNo

The job ID.

****cdb3e74639973036bc84****
PageSizeintegerNo

The number of entries per page. Default value: 20. Maximum value: 100.

20
NextPageTokenstringNo

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

cdb3e74639973036bc84

Response parameters

ParameterTypeDescriptionExample
object

PlainResponse<List>

RequestIdstring

The request ID.

******11-DB8D-4A9A-875B-275798******
Jobsarray<object>

The list of jobs.

Jobobject

The information about an image animation job.

JobIdstring

The job ID.

****cdb3e74639973036bc84****
TriggerSourcestring

The request trigger source.

Valid values:

  • Console
  • Workflow
  • API
API
Namestring

The name of the job.

SampleJob
Inputobject

The input of the job.

Typestring

The type of the input file. Valid values:

  1. OSS: an Object Storage Service (OSS) object.
  2. Media: a media asset.
OSS
Mediastring

The input file. The file can be an OSS object or a media asset. The URL of an OSS object can be in one of the following formats:

  1. OSS://bucket/object
  2. http(s)://bucket.oss-[regionId].aliyuncs.com/object In the URL, bucket specifies an OSS bucket that resides in the same region as the job, and object specifies the object URL in OSS.
oss://bucket/object
Outputobject

The output of the job.

Typestring

The type of the output file. Valid values:

  1. OSS: an OSS object.
  2. Media: a media asset.
Media
Mediastring

The input file. If Type is set to OSS, the URL of an OSS object is returned. If Type is set to Media, the ID of a media asset is returned. The URL of an OSS object can be in one of the following formats:

  1. OSS://bucket/object
  2. http(s)://bucket.oss-[RegionId].aliyuncs.com/object In the URL, bucket specifies an OSS bucket that resides in the same region as the job, and object specifies the object URL in OSS.
****cdb3e74639973036bc84****
TemplateIdstring

The template ID.

****cdb3e74639973036bc84****
PipelineIdstring

The ID of the MPS queue to which the job was submitted.

****cdb3e74639973036bc84****
Statusstring

The state of the job.

  • Success: The job is successful.
  • Fail: The job failed.
  • Init: The job is submitted.
Success
SubmitTimestring

The time when the job was submitted.

2022-07-12T16:17:54Z
FinishTimestring

The time when the job was complete.

2022-07-12T16:30:54Z
CreateTimestring

The time when the job was created.

2022-07-12T16:17:54Z
ModifiedTimestring

The time when the job was last modified.

2022-07-12T16:30:54Z
NextPageTokenstring

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

****cdb3e74639973036bc84****

Examples

Sample success responses

JSONformat

{
  "RequestId": "******11-DB8D-4A9A-875B-275798******",
  "Jobs": [
    {
      "JobId": "****cdb3e74639973036bc84****",
      "TriggerSource": "API",
      "Name": "SampleJob",
      "Input": {
        "Type": "OSS",
        "Media": "oss://bucket/object"
      },
      "Output": {
        "Type": "Media",
        "Media": "****cdb3e74639973036bc84****"
      },
      "TemplateId": "****cdb3e74639973036bc84****",
      "PipelineId": "****cdb3e74639973036bc84****",
      "Status": "Success",
      "SubmitTime": "2022-07-12T16:17:54Z",
      "FinishTime": "2022-07-12T16:30:54Z",
      "CreateTime": "2022-07-12T16:17:54Z",
      "ModifiedTime": "2022-07-12T16:30:54Z"
    }
  ],
  "NextPageToken": "****cdb3e74639973036bc84****\n"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2022-07-15Add OperationView Change Details
2022-07-11Add OperationView Change Details