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
Test
RAM authorization
|
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:
|
1982361011093374**** |
| Type |
string |
No |
Tipe materi. Nilai valid:
|
video. |
| MaterialType |
string |
No |
Tipe materi. Nilai valid:
|
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 |
| 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 |
| 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.