Queries the historical task list based on a media asset ID.
Operation description
Usage notes
To query detailed task information, call the GetJobDetail operation.
This operation only supports querying asynchronous task data within the last 6 months. Supported task types: transcoding tasks, snapshot tasks, and AI tasks.
QPS limit
The single-user QPS limit for this operation is 15 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately. For more information, see QPS limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:ListJobInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
Yes |
The media asset ID. |
30e5d7**********bd900764de7c0102 |
| JobType |
string |
Yes |
The task type. Valid values:
|
transcode |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
6708D849-F109-1A6C-AC91-************ |
| MediaId |
string |
The media asset ID. |
30e5d7**********bd900764de7c0102 |
| JobType |
string |
The task type. Valid values:
|
transcode |
| JobInfoList |
array<object> |
The historical task list within the last 6 months. |
|
|
object |
|||
| JobId |
string |
The task ID. |
5c9dff751ba**********59d50a967f5 |
| Status |
string |
The task status. |
TranscodeSuccess |
| UserId |
integer |
The ID of the user who initiated the task. |
139109*****84930 |
| CreateTime |
string |
The time when the task was created, in UTC. Format: YYYY-MM-DDTHH:MM:SSZ. |
2024-10-14T07:39:25Z |
| CompleteTime |
string |
The time when the task was completed. |
2024-10-14T07:39:34Z |
Examples
Success response
JSON format
{
"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
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.