Mengkueri tugas historis berdasarkan ID aset media.
Deskripsi operasi
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.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:ListJobInfo |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
Yes |
ID Aset media. |
30e5d7**********bd900764de7c0102 |
| JobType |
string |
Yes |
Tipe Tugas. Nilai valid:
|
transcode |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
6708D849-F109-1A6C-AC91-************ |
| MediaId |
string |
The ID of the media asset. |
30e5d7**********bd900764de7c0102 |
| JobType |
string |
The type of the task. Valid values:
|
transcode |
| JobInfoList |
array<object> |
The historical tasks of the last 6 months. |
|
|
object |
|||
| JobId |
string |
The ID of the task. |
5c9dff751ba**********59d50a967f5 |
| Status |
string |
The status of the task. |
TranscodeSuccess |
| UserId |
integer |
The ID of the user who submitted the task. |
139109*****84930 |
| CreateTime |
string |
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 |
| CompleteTime |
string |
The time when the task was complete. |
2024-10-14T07:39:34Z |
Contoh
Respons sukses
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"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.