调用GetEditingProjectMaterials获取云剪辑工程的待剪辑素材列表。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ProjectId | string | 是 | 云剪辑工程ID。可通过以下方式获取:
| 1982361011093374**** |
Type | string | 是 | 素材类型。取值:
| video |
MaterialType | string | 否 | 素材类型。取值:
| video |
返回参数
示例
请求示例
http(s)://vod.cn-shanghai.aliyuncs.com/?Action=GetEditingProjectMaterials
&ProjectId=1982361011093374****
&Type=video
&MaterialType=video
&公共请求参数
正常返回示例
JSON
格式
{
"RequestId": "746FFA07-8BBB-46B1-3E94E3B2915E****",
"MaterialList": [
{
"Status": "Normal",
"CreationTime": "2017-10-19 10:48:17",
"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": [
"[\"http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=\",\"http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=\"]"
]
}
]
}
XML
格式
<GetEditingProjectMaterialsResponse>
<RequestId>746FFA07-8BBB-46B1-3E94E3B2915E****</RequestId>
<MaterialList>
<Status>Normal</Status>
<CreationTime>2017-10-19 10:48:17</CreationTime>
<MaterialType>video</MaterialType>
<Tags>剪辑测试</Tags>
<SpriteConfig>xxx</SpriteConfig>
<Source>xxx</Source>
<CateName>测试</CateName>
<ModifiedTime>2017-10-19 10:48:17</ModifiedTime>
<Description>测试</Description>
<MaterialId>85befc4118b84c6723e53b80b1****</MaterialId>
<Size>1682694</Size>
<CoverURL>http://example.aliyundoc.com/aivideocover/46fa444aa34065cb9250f6c****/image_01.jpg</CoverURL>
<Duration>15.16</Duration>
<Title>test</Title>
<Sprites>{"Sprite":["http://example.aliyundoc.com/material_big_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key="]}</Sprites>
<Snapshots>["http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key=","http://example.aliyundoc.com/material_small_snapshot/0f325c157386f2a7e91b2ff0****.jpg?auth_key="]</Snapshots>
</MaterialList>
</GetEditingProjectMaterialsResponse>
错误码
访问错误中心查看更多错误码。