調用本介面擷取雲剪輯工程的待剪輯素材列表。
介面說明
在剪輯過程中,素材可添加到時間軸上,但不一定完全被使用。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
vod:GetEditingProjectMaterials |
list |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ProjectId |
string |
是 |
雲剪輯工程 ID。可通過以下方式擷取:
|
1982361011093374**** |
| Type |
string |
否 |
素材類型。取值:
|
video |
| MaterialType |
string |
否 |
素材類型。取值:
|
video |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回結果。 |
||
| RequestId |
string |
請求 ID。 |
746FFA07-8BBB-46B1-3E94E3B2915E**** |
| MaterialList |
object |
||
| Material |
array<object> |
素材列表。 |
|
|
array<object> |
素材詳情。 |
||
| Status |
string |
素材狀態。取值:
|
Normal |
| CreationTime |
string |
素材建立時間。格式為:yyyy-MM-ddTHH:mm:ssZ(UTC 時間)。 |
2017-10-19 10:48:17 |
| CateId |
integer |
素材分類別識別碼。 |
100005**** |
| MaterialType |
string |
素材類型。取值:
|
video |
| Tags |
string |
素材標籤。多個使用半形逗號(,)分隔。 |
剪輯測試 |
| SpriteConfig |
string |
雪碧圖配置。 |
xxx |
| Source |
string |
雪碧圖來源。 |
xxx |
| CateName |
string |
素材分類名稱。 |
測試 |
| ModifiedTime |
string |
素材更新時間。格式為:yyyy-MM-ddTHH:mm:ssZ(UTC 時間)。 |
2017-10-19 10:48:17 |
| Description |
string |
素材描述。 |
測試 |
| MaterialId |
string |
素材 ID。 |
85befc4118b84c6723e53b80b1**** |
| Size |
integer |
素材源檔案大小,單位:位元組。 |
1682694 |
| CoverURL |
string |
素材封面 URL。 |
http://example.aliyundoc.com/aivideocover/46fa444aa34065cb9250f6c****/image_01.jpg |
| Duration |
number |
素材時間長度,精確到小數點後 4 位,單位:秒。 |
15.16 |
| Title |
string |
素材標題。 |
test |
| Sprites |
object |
||
| Sprite |
array |
素材雪碧圖 URL 數組。 |
|
|
string |
素材雪碧圖 URL。 |
"http://example.aliyundoc.com/material_big_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=" |
|
| Snapshots |
object |
||
| Snapshot |
array |
素材截圖 URL 數組。 |
|
|
string |
素材截圖 URL。 |
"http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=","http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=" |
樣本
正常返回樣本
JSON格式
{
"RequestId": "746FFA07-8BBB-46B1-3E94E3B2915E****",
"MaterialList": {
"Material": [
{
"Status": "Normal",
"CreationTime": "2017-10-19 10:48:17",
"CateId": 0,
"MaterialType": "video",
"Tags": "剪輯測試",
"SpriteConfig": "xxx",
"Source": "xxx",
"CateName": "測試",
"ModifiedTime": "2017-10-19 10:48:17",
"Description": "測試",
"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=\""
]
}
}
]
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。