All Products
Search
Document Center

Intelligent Media Services:GetEditingProjectMaterials

Last Updated:Jun 11, 2026

Mengambil semua materi yang terikat pada proyek saat ini.

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

ice:GetEditingProjectMaterials

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

ProjectId

string

Yes

ID proyek pengeditan cloud.

*****fb2101cb318*****

Elemen respons

Element

Type

Description

Example

object

Skema Respons.

RequestId

string

ID permintaan.

******89-C21D-4B78-AE24-3788B8******

ProjectId

string

ID proyek.

*****67ae06542b9b93e0d1c387*****

MediaInfos

array<object>

Kumpulan aset media yang memenuhi persyaratan.

array<object>

MediaId

string

ID aset media.

*****64623a94eca8516569c8fe*****

MediaBasicInfo

object

Informasi dasar aset media.

MediaId

string

The ID of the media asset.

*****64623a94eca8516569c8f*****

InputURL

string

The URL of the media asset in another service.

http://bucket.oss-cn-shanghai.aliyuncs.com/file.mp4

MediaType

string

The type of the media asset.

video

BusinessType

string

The business type of the media asset.

general

Source

string

The source of the media asset.

oss

Title

string

The title of the media asset.

file.mp4

Description

string

The description of the media asset.

sample_description

Category

string

The category of the media asset.

video

MediaTags

string

The tags of the media asset.

标签,tag1

CoverURL

string

The thumbnail URL of the media asset.

http://sample-bucket.oss-cn-shanghai.aliyuncs.com/sample-corver.jpg?Expires=1628670610&OSSAccessKeyId=AK&Signature=signature

UserData

string

The user data.

userData

Snapshots

string

The snapshots of the media asset.

null

Status

string

The status of the media asset.

Normal

TranscodeStatus

string

The transcoding status of the media asset.

Valid values:

  • TranscodeSuccess: transcoding completed.

  • TranscodeFailed: transcoding failed.

  • Init: initializing.

  • Transcoding: transcoding in progress.

Valid values:

  • TranscodeSuccess :
  • TranscodeFailed :
  • Init :
  • Transcoding :

Init

CreateTime

string

The time when the media asset was created.

2020-12-26T04:11:08Z

ModifiedTime

string

The time when the media asset was last modified.

2020-12-26T04:11:08Z

DeletedTime

string

The time when the media asset was deleted.

2020-12-26T04:11:08Z

SpriteImages

string

The sprite of the media asset

null

FileInfoList

array<object>

Informasi file.

array<object>

FileBasicInfo

object

The basic information of the file, such as the duration and size.

FileName

string

The file name.

example.mp4

FileStatus

string

The file status.

Normal

FileType

string

The file type.

source_file

FileSize

string

The file size. Unit: bytes.

30611502

FileUrl

string

The Object Storage Service (OSS) URL of the file.

http://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4?Expires=&OSSAccessKeyId=&Signature=&security-token=

Region

string

The region in which the file resides.

cn-shanghai

FormatName

string

The container format.

mov,mp4,m4a,3gp,3g2,mj2

Duration

string

The duration.

216.206667

Bitrate

string

The bitrate.

1132.68

Width

string

The width.

960

Height

string

The height.

540

LiveMaterials

array<object>

Materi yang terkait dengan aliran langsung.

object

AppName

string

Nama aplikasi aliran langsung.

testrecord

StreamName

string

Nama aliran siaran langsung.

testrecord

DomainName

string

Nama domain aliran langsung.

test.alivecdn.com

LiveUrl

string

URL aliran langsung.

rtmp://test.alivecdn.com/testrecord/teststream

ProjectMaterials

array

Materi yang terkait dengan proyek pengeditan. Proyek siaran langsung akan dikaitkan dengan proyek pengeditan reguler setelah siaran langsung berakhir.

*****9b145c5cafc2e057304fcd*****

string

ID proyek pengeditan reguler yang dikaitkan dengan proyek pengeditan siaran langsung.

*****c38767ae06542b9b93e0d1*****

Contoh

Respons sukses

JSONformat

{
  "RequestId": "******89-C21D-4B78-AE24-3788B8******",
  "ProjectId": "*****67ae06542b9b93e0d1c387*****",
  "MediaInfos": [
    {
      "MediaId": "*****64623a94eca8516569c8fe*****",
      "MediaBasicInfo": {
        "MediaId": "*****64623a94eca8516569c8f*****",
        "InputURL": "http://bucket.oss-cn-shanghai.aliyuncs.com/file.mp4",
        "MediaType": "video",
        "BusinessType": "general",
        "Source": "oss",
        "Title": "file.mp4",
        "Description": "sample_description",
        "Category": "video",
        "MediaTags": "标签,tag1",
        "CoverURL": "http://sample-bucket.oss-cn-shanghai.aliyuncs.com/sample-corver.jpg?Expires=1628670610&OSSAccessKeyId=AK&Signature=signature",
        "UserData": "userData",
        "Snapshots": "null",
        "Status": "Normal",
        "TranscodeStatus": "Init",
        "CreateTime": "2020-12-26T04:11:08Z",
        "ModifiedTime": "2020-12-26T04:11:08Z",
        "DeletedTime": "2020-12-26T04:11:08Z",
        "SpriteImages": "null"
      },
      "FileInfoList": [
        {
          "FileBasicInfo": {
            "FileName": "example.mp4",
            "FileStatus": "Normal",
            "FileType": "source_file",
            "FileSize": "30611502",
            "FileUrl": "http://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4?Expires=&OSSAccessKeyId=&Signature=&security-token=",
            "Region": "cn-shanghai",
            "FormatName": "mov,mp4,m4a,3gp,3g2,mj2",
            "Duration": "216.206667",
            "Bitrate": "1132.68",
            "Width": "960",
            "Height": "540"
          }
        }
      ]
    }
  ],
  "LiveMaterials": [
    {
      "AppName": "testrecord",
      "StreamName": "testrecord",
      "DomainName": "test.alivecdn.com",
      "LiveUrl": "rtmp://test.alivecdn.com/testrecord/teststream"
    }
  ],
  "ProjectMaterials": [
    "*****c38767ae06542b9b93e0d1*****"
  ]
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter \ is not valid.
404 ProjectNotFound The specified project not found

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.