All Products
Search
Document Center

ApsaraVideo VOD:AddEditingProject

Last Updated:Jul 29, 2024

Creates an online editing project.

Operation description

  • For more information about the online editing feature, see Overview .

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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.
OperationAccess levelResource typeCondition keyAssociated operation
vod:AddEditingProject
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TitlestringYes

The title of the online editing project.

testtimeline
DescriptionstringNo

The description of the online editing project.

testtimeline001desciption
TimelinestringNo

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****"}]}]}
CoverURLstringNo

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
DivisionstringNo

The region in which ApsaraVideo VOD is activated.

cn-shanghai

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

E4EBD2BF-5EB0-4476-8829-9D94E1B1****
Projectobject

The information about the online editing project. For more information about the structure, see EditingProject .

CreationTimestring

The time when the online editing project was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2017-01-11T12:00:00Z
Statusstring

The status of the online editing project. Valid values:

  • Normal: the online editing project is in draft.
  • Producing: the video is being produced.
  • Produced: the video is produced.
  • ProduceFailed: the video failed to be produced.
Normal
ModifiedTimestring

The time when the online editing project was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2017-01-11T13:00:00Z
Descriptionstring

The description of the online editing project.

testtimeline001desciption
ProjectIdstring

The ID of the online editing project.

fb2101bf24bf4df34c4cb3187****
Titlestring

The title of the online editing project.

testtimeline

Examples

Sample success responses

JSONformat

{
  "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.