Queries materials to be edited for an online editing project.
Operation description
During editing, you can add materials to the timeline, but some of them may not be used.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | string | Yes | The ID of the online editing project. You can use one of the following methods to obtain the ID of the online editing project:
| 1982361011093374**** |
Type | string | Yes | The type of the material. Valid values:
| video |
MaterialType | string | No | The type of the material. Valid values:
| video |
Response parameters
Examples
Sample success responses
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": "test1",
"ModifiedTime": "2017-10-19 10:48:17",
"Description": "test2",
"MaterialId": "85befc4118b84c6723e53b80b1****",
"Size": 1682694,
"CoverURL": "http://example.aliyundoc.com/aivideocover/46fa444aa34065cb9250f6c****/image_01.jpg",
"Duration": 15.16,
"Title": "test",
"Sprites": {
"Sprite": [
"{\"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
For a list of error codes, visit the Service error codes.