All Products
Search
Document Center

:ListJobInfo

Last Updated:Mar 21, 2025

Queries historical tasks based on the media asset ID.

Operation description


  • You can call the GetJobDetail operation to query detailed information about the tasks.
  • You can call this operation to query only asynchronous tasks of the last six months. The types of tasks that you can query include transcoding tasks, snapshot tasks, and AI tasks.

QPS limits

You can call this operation up to 15 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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
vod:ListJobInfoget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
MediaIdstringYes

The ID of the media asset.

30e5d7**********bd900764de7c0102
JobTypestringYes

The type of the task. Valid values:

  • transcode
  • snapshot
  • ai
transcode

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

6708D849-F109-1A6C-AC91-************
MediaIdstring

The ID of the media asset.

30e5d7**********bd900764de7c0102
JobTypestring

The type of the task. Valid values:

  • transcode
  • snapshot
  • ai
transcode
JobInfoListarray<object>

The historical tasks of the last 6 months.

JobInfoDOobject
JobIdstring

The ID of the task.

5c9dff751ba**********59d50a967f5
Statusstring

The status of the task.

TranscodeSuccess
UserIdlong

The ID of the user who submitted the task.

139109*****84930
CreateTimestring

The time when the task was created. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time is displayed in UTC.

2024-10-14T07:39:25Z
CompleteTimestring

The time when the task was complete.

2024-10-14T07:39:34Z

Examples

Sample success responses

JSONformat

{
  "RequestId": "6708D849-F109-1A6C-AC91-************\n",
  "MediaId": "30e5d7**********bd900764de7c0102\n",
  "JobType": "transcode",
  "JobInfoList": [
    {
      "JobId": "5c9dff751ba**********59d50a967f5",
      "Status": "TranscodeSuccess",
      "UserId": 0,
      "CreateTime": "2024-10-14T07:39:25Z\n",
      "CompleteTime": "2024-10-14T07:39:34Z"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history