All Products
Search
Document Center

ApsaraVideo VOD:ListJobInfo

Last Updated:Jun 10, 2026

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

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

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

  • snapshot

  • ai.

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

  • snapshot

  • ai

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.