All Products
Search
Document Center

ApsaraVideo VOD:GetEditingProjectMaterials

Last Updated:Jul 21, 2026

Mengambil daftar materi yang akan diedit dalam proyek pengeditan daring.

Deskripsi operasi

Selama proses pengeditan, materi dapat ditambahkan ke timeline tetapi tidak harus digunakan sepenuhnya.

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:GetEditingProjectMaterials

list

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

ProjectId

string

Yes

ID proyek pengeditan daring. Anda dapat memperoleh ID dengan menggunakan salah satu metode berikut:

  • Masuk ke Konsol ApsaraVideo VOD, lalu pilih Pusat Produksi > Pengeditan Video untuk melihat ID di Tampilan.

  • Ambil nilai parameter respons ProjectId saat Anda membuat proyek dengan memanggil operasi CreateEditingProject.

1982361011093374****

Type

string

No

Tipe materi. Nilai valid:

  • video: video

  • audio: audio saja

video.

MaterialType

string

No

Tipe materi. Nilai valid:

  • video: video

  • audio: audio saja

  • image: gambar

video.

Elemen respons

Element

Type

Description

Example

object

Parameter respons.

RequestId

string

ID permintaan.

746FFA07-8BBB-46B1-3E94E3B2915E****

MaterialList

object

Material

array<object>

Daftar materi.

array<object>

Detail materi.

Status

string

The material status. Valid values:

  • Normal: Draft.

  • Producing: Being produced.

  • Produced: Produced.

  • ProduceFailed: Failed to be produced.

Normal

CreationTime

string

The time when the material was created. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC).

2017-10-19 10:48:17

CateId

integer

The category ID of the material.

100005****

MaterialType

string

The material type. Valid values:

  • video: video

  • audio: audio-only

  • image: image

video

Tags

string

The tags of the material. Multiple tags are separated by commas (,).

Editing test

SpriteConfig

string

The sprite configuration.

xxx

Source

string

The source of the sprite.

xxx

CateName

string

The category name of the material.

Test

ModifiedTime

string

The time when the material was last modified. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC).

2017-10-19 10:48:17

Description

string

The description of the material.

Test

MaterialId

string

The material ID.

85befc4118b84c6723e53b80b1****

Size

integer

The size of the material source file. Unit: bytes.

1682694

CoverURL

string

The thumbnail URL of the material.

http://example.aliyundoc.com/aivideocover/46fa444aa34065cb9250f6c****/image_01.jpg

Duration

number

The duration of the material, accurate to four decimal places. Unit: seconds.

15.16

Title

string

The title of the material.

test

Sprites

object

Sprite

array

The array of sprite URLs of the material.

string

The sprite URL of the material.

"http://example.aliyundoc.com/material_big_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key="

Snapshots

object

Snapshot

array

The array of snapshot URLs of the material.

string

The snapshot URL of the material.

"http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=","http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key="

Contoh

Respons sukses

JSONformat

{
  "RequestId": "746FFA07-8BBB-46B1-3E94E3B2915E****",
  "MaterialList": {
    "Material": [
      {
        "Status": "Normal",
        "CreationTime": "2017-10-19 10:48:17",
        "CateId": 0,
        "MaterialType": "video",
        "Tags": "Editing test",
        "SpriteConfig": "xxx",
        "Source": "xxx",
        "CateName": "Test",
        "ModifiedTime": "2017-10-19 10:48:17",
        "Description": "Test",
        "MaterialId": "85befc4118b84c6723e53b80b1****",
        "Size": 1682694,
        "CoverURL": "http://example.aliyundoc.com/aivideocover/46fa444aa34065cb9250f6c****/image_01.jpg",
        "Duration": 15.16,
        "Title": "test",
        "Sprites": {
          "Sprite": [
            "\"http://example.aliyundoc.com/material_big_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=\""
          ]
        },
        "Snapshots": {
          "Snapshot": [
            "\"http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=\",\"http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=\""
          ]
        }
      }
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.