Queries the list of historical tasks by 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. The types of tasks that can be queried include transcoding tasks, snapshot tasks, and AI tasks.
QPS limits
The single-user QPS limit for this operation is 15 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate. For more information, see QPS limits.
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 unique ID of the request. |
6708D849-F109-1A6C-AC91-************ |
| MediaId |
string |
The media asset ID. |
30e5d7**********bd900764de7c0102 |
| JobType |
string |
The task type. Valid values:
|
transcode |
| JobInfoList |
array<object> |
The list of historical tasks within the last six 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. The time is displayed in UTC in the YYYY-MM-DDTHH:MM:SSZ format. |
2024-10-14T07:39:25Z |
| CompleteTime |
string |
The time when the task was completed. The time is displayed in UTC in the YYYY-MM-DDTHH:MM:SSZ format. |
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.