Sets materials to be edited for an online editing project.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | SetEditingProjectMaterials |
The operation that you want to perform. Set the value to SetEditingProjectMaterials. |
| MaterialIds | String | Yes | 9e3101bf24bf41c*****123318788ca |
The ID of the material. A material is a media asset, such as a video, an image, or an auxiliary media asset. Separate multiple material IDs with commas (,). |
| ProjectId | String | Yes | fb2101bf24bf4*****754cb318787dc |
The ID of the online editing project. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 746FFA07-8BBB-46*****B1-3E94E3B2915E |
The ID of the request. |
Examples
Sample requests
https://vod.aliyuncs.com/?Action=SetEditingProjectMaterials
&MaterialIds=9e3101bf24bf41c*****123318788ca
&ProjectId=fb2101bf24bf4*****754cb318787dc
&<Common request parameters>Sample success responses
XML format
<SetEditingProjectMaterialsResponse>
<RequestId>746FFA07-8BBB-46*****B1-3E94E3B2915E</RequestId>
</SetEditingProjectMaterialsResponse>JSON format
{
"RequestId": "746FFA07-8BBB-46*****B1-3E94E3B2915E"
}Error codes
For a list of error codes, visit the API Error Center.
SDK examples
We recommend that you use a server SDK to call this operation. For more information about the sample code that is used to call this operation in various languages, see the following topics: