Queries transcoding tasks based on the media ID. This operation does not return specific job information.
Operation description
- You can call the GetTranscodeTask operation to query details about transcoding jobs.
- You can call this operation to query only transcoding tasks created within the past year.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
VideoId | string | Yes | The ID of the audio or video file. You can use one of the following methods to obtain the ID of the file:
| d4860fcc6a5*****bce9fed52e893824 |
StartTime | string | No | The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. | 2019-01-23T12:35:12Z |
EndTime | string | No | The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. | 2019-01-23T12:40:12Z |
PageSize | integer | No | The number of entries to return on each page. Maximum value: 50. Default value: 10. | 10 |
PageNo | integer | No | The number of the page to return. You can specify a page number to return data from the specified page. Default value: 1. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
"TranscodeTaskList": [
{
"CreationTime": "2019-01-23T12:35:12Z",
"Trigger": "Auto",
"TaskStatus": "Processing",
"VideoId": "d4860fcc6a5*****bce9fed52e893824",
"CompleteTime": "2019-01-23T12:40:12Z",
"TranscodeTemplateGroupId": "b500c7094bd24*****f3e9900752d7c3",
"TranscodeTaskId": "b1b65ab107*****ba3dbb900f6c1fe0"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.