ListEdgeTranscodeJob
Queries edge transcoding tasks.
Operation description
-
This operation queries edge transcoding tasks.
-
You must have permissions to access the edge transcoding service to call this operation.
-
This operation returns only tasks from the last 180 days, and the last operation time must fall within this 180-day period.
QPS limits
The queries per second (QPS) limit for a single user is 6,000 calls per minute. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:ListEdgeTranscodeJob |
list |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| ClusterId |
string |
Yes |
The data center ID. To obtain a specific value, submit a ticket or contact the frontline team. For the ticket submission address, see Contact us. |
cluster-1 |
| Type |
string |
No |
The edge transcoding type. Valid values:
Note
If you do not specify this parameter, the system displays transcoding templates for which you have permissions for the corresponding transcoding types. |
common |
| Status |
integer |
No |
The status of the edge transcoding task. Valid values:
|
0 |
| PageNo |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Maximum value: 100. |
20 |
| SortBy |
string |
No |
The sorting rule based on CreateTime. Default value: desc. Valid values:
|
desc |
| Keyword |
string |
No |
The search keyword. Valid values:
|
test |
Usage notes on request parameters
This operation supports filtering query results by transcoding type (Type) and transcoding task status (Status).
This operation supports sorting query results by task creation time (CreateTime). The default sorting order is descending.
This operation supports querying by keyword (Keyword), which can be a task ID (exact match) or a task name (fuzzy match).
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| JobList |
object |
||
| Job |
array<object> |
The edge transcoding tasks. |
|
|
object |
|||
| CreateTime |
string |
The time when the task was created. The time is displayed in the yyyy-MM-ddTHH:mm:ssZ format in UTC. |
2023-07-24T16:44:55Z |
| JobId |
string |
The ID of the task. |
****20b48fb04483915d4f2cd8ac**** |
| LastStartAt |
string |
The time when the task was last started. The time is displayed in the yyyy-MM-ddTHH:mm:ssZ format in UTC. |
2023-07-25T02:48:58Z |
| LastStopAt |
string |
The time when the task was last stopped. The time is displayed in the yyyy-MM-ddTHH:mm:ssZ format in UTC. |
2023-07-25T05:48:58Z |
| Name |
string |
The name of the task. |
my_job |
| Status |
string |
The status of the edge transcoding task. Valid values:
|
0 |
| StreamInput |
string |
The input stream URL. |
rtmp://mydomain/app/stream1 |
| StreamOutput |
string |
The output stream URL. |
rtmp://testdomain/app/stream2 |
| TemplateId |
string |
The ID of the edge transcoding template used by the task. |
9b1571b513cb44f7a1ba6ae561ff**** |
| TemplateName |
string |
The name of the edge transcoding template used by the task. |
my_template |
| Type |
string |
The edge transcoding type. Valid values:
|
common |
| RequestId |
string |
The ID of the request. |
******3B-0E1A-586A-AC29-742247****** |
| TotalCount |
integer |
The total number of entries. |
100 |
Examples
Success response
JSON format
{
"JobList": {
"Job": [
{
"CreateTime": "2023-07-24T16:44:55Z",
"JobId": "****20b48fb04483915d4f2cd8ac****",
"LastStartAt": "2023-07-25T02:48:58Z",
"LastStopAt": "2023-07-25T05:48:58Z",
"Name": "my_job",
"Status": "0",
"StreamInput": "rtmp://mydomain/app/stream1",
"StreamOutput": "rtmp://testdomain/app/stream2",
"TemplateId": "9b1571b513cb44f7a1ba6ae561ff****",
"TemplateName": "my_template",
"Type": "common"
}
]
},
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"TotalCount": 100
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | %s. | Parameter error |
| 400 | MissingParameter | %s. | Missing parameter |
| 403 | OperationDenied | %s, please check and try again later. | Operation rejected, please check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.