Creates an online editing project.
Operation description
- For more information about the online editing feature, see Overview .
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
vod:AddEditingProject |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Title | string | Yes | The title of the online editing project. | testtimeline |
Description | string | No | The description of the online editing project. | testtimeline001desciption |
Timeline | string | No | The timeline of the online editing project in JSON format. For more information about the structure, see Timeline . If you leave this parameter empty, an empty timeline is created and the duration of the online editing project is zero. | {"VideoTracks":[{"VideoTrackClips":[{"MediaId":"cc3308ac5006aed55a54328bc3443****"},{"MediaId":"95948ddba24446b6aed5db985e78****"}]}]} |
CoverURL | string | No | The thumbnail URL of the online editing project. If you leave this parameter empty and materials exist on the video track in the timeline, the thumbnail of the first material is used by default. | https://demo.aliyundoc.com/6AB4D0E1E1C74468883516C2349D1FC2-6-2.png |
Division | string | No | The region in which ApsaraVideo VOD is activated. | cn-shanghai |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "E4EBD2BF-5EB0-4476-8829-9D94E1B1****",
"Project": {
"CreationTime": "2017-01-11T12:00:00Z",
"Status": "Normal",
"ModifiedTime": "2017-01-11T13:00:00Z",
"Description": "testtimeline001desciption",
"ProjectId": "fb2101bf24bf4df34c4cb3187****",
"Title": "testtimeline"
}
}
Error codes
For a list of error codes, visit the Service error codes.