Queries the list of materials to be edited in an online editing project.
Operation description
During the video editing process, materials can be added to the timeline but may not be fully used.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:GetEditingProjectMaterials |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
string |
Yes |
The ID of the online editing project. You can obtain the ID by using one of the following methods:
|
1982361011093374**** |
| Type |
string |
No |
The material type. Valid values:
|
video |
| MaterialType |
string |
No |
The material type. Valid values:
|
video |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
746FFA07-8BBB-46B1-3E94E3B2915E**** |
| MaterialList |
object |
||
| Material |
array<object> |
The material list. |
|
|
array<object> |
The material details. |
||
| Status |
string |
The material status. Valid values:
|
Normal |
| CreationTime |
string |
The time when the material was created. The time is displayed 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 sprite source. |
xxx |
| CateName |
string |
The category name of the material. |
Test |
| ModifiedTime |
string |
The time when the material was updated. The time is displayed 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 source material file. Unit: bytes. |
1682694 |
| CoverURL |
string |
The URL of the material thumbnail. |
http://example.aliyundoc.com/aivideocover/46fa444aa34065cb9250f6c****/image_01.jpg |
| Duration |
number |
The duration of the material. The value is 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 for 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 for 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=" |
Examples
Success response
JSON format
{
"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=\""
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.