All Products
Search
Document Center

ListTranscodeTask

Last Updated: Jul 11, 2019

Description

You can call this operation to query information about historical transcoding jobs of a video based on the video ID. This operation does not return information about a specific job. To obtain the detailed information about a job, call the GetTranscodeTask operation.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to ListTranscodeTask.
VideoId String Yes The ID of the video.
StartTime String No The beginning of the time range where the data is queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
EndTime String No The end of the time range where the data is queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
PageSize Integer No The number of entries to return on each page. Maximum value: 50. Default value: 10.
PageNo Integer No The number of the page to return. Default value: 1.

Response parameters

Parameter Type Description
RequestId String The ID of the request.
TranscodeTaskList TranscodeTask[] The list of transcoding jobs.

Sample request

https://vod.cn-shanghai.aliyuncs.com?Action=ListTranscodeTask&VideoId="ddddddddd"&PageNo=1&PageSize=10

Sample response

{
  "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
  "TranscodeTaskList":[
    {
      "TranscodeTaskId":"ddddddddddd",
      "VideoId":"hhhhhhh",
      "TaskStatus":"Processing",
      "TranscodeTemplateGroupId":"fffffff",
      "CreationTime":"2019-01-23T12:35:12Z",
      "CompleteTime":"2019-01-23T12:35:12Z"
    },
    {
      "TranscodeTaskId":"iiiiiiii",
      "VideoId":"tttttt",
      "TaskStatus":"CompeleteAllSucc",
      "TranscodeTemplateGroupId":"jjjjjjj",
      "CreationTime":"2019-01-23T12:35:12Z",
      "CompleteTime":"2019-01-23T12:35:12Z"
    }
  ]
}