Queries online editing projects by creation time and status.
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 |
---|---|---|---|---|
ice:SearchEditingProject | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
StartTime | string | No | The beginning of the time range to query. 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 |
EndTime | string | No | The end of the time range to query. 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 |
Status | string | No | The status of the online editing project. Separate multiple values with commas (,). By default, all online editing projects are queried. Valid values: -Draft -Producing -Produced -ProduceFailed | Producing |
SortBy | string | No | The sorting rule of results. Valid values: - CreationTime:Desc (default): The results are sorted in reverse chronological order based on the creation time. - CreationTime:Asc: The results are sorted in chronological order based on the creation time. | CreationTime:Desc |
PageNo | long | No | The page number. Default value: 1. | 1 |
PageSize | long | No | The number of entries per page. Default value: 10. Valid values: 1 to 100. | 10 |
CreateSource | string | No | The source of the project. -OpenAPI -AliyunConsole -WebSDK Valid values:
| WebSDK |
TemplateType | string | No | The template type. Valid values: -Timeline -VETemplate Valid values:
| Timeline |
ProjectType | string | No | The type of the editing project. Default value: EditingProject. Valid values:
| EditingProject |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "****9262E3DA-07FA-4862-FCBB6BC61D08*****",
"ProjectList": [
{
"ProjectId": "****fddd7748b58bf1d47e95****",
"Title": "title",
"Timeline": "{\"VideoTracks\":[{\"VideoTrackClips\":[{\"MediaId\":\"****4d7cf14dc7b83b0e801c****\"},{\"MediaId\":\"****4d7cf14dc7b83b0e801c****\"}]}]}",
"Description": "sample description",
"CoverURL": "http://example-bucket.oss-cn-shanghai.aliyuncs.com/example-cover.jpg",
"CreateTime": "2017-01-11T12:00:00Z",
"ModifiedTime": "2017-01-11T12:00:00Z",
"Duration": 30.1,
"Status": "PRODUCE_FAILED",
"ErrorCode": "InvalidParameter",
"ErrorMessage": "\"EventTime\":\"2021-08-12T10:04:15Z\",\"ErrorCode\":\"InvalidParameter\",\"ErrorMessage\":\"The specified parameter \\\"LiveStreamConfig\\\" is not valid. specified parameter example is not valid.",
"CreateSource": "OpenAPI",
"ModifiedSource": "2017-01-11T12:00:00Z",
"TemplateType": "Timeline",
"ProjectType": "EditingProject",
"BusinessConfig": "{ \"OutputMediaConfig\" : { \"StorageLocation\": \"test-bucket.oss-cn-shanghai.aliyuncs.com\", \"Path\": \"test-path\" }, \"OutputMediaTarget\": \"oss-object\", \"ReservationTime\": \"2021-06-21T08:05:00Z\" }",
"BusinessStatus": "Reserving"
}
],
"MaxResults": 10,
"TotalCount": 110,
"NextToken": "null"
}
Error codes
For a list of error codes, visit the Service error codes.