Queries the list of edge transcoding tasks.
Operation description
-
This operation queries the list of edge transcoding tasks.
-
You must have the permissions to access the edge transcoding service before you can call this operation.
-
This operation returns only tasks from the last 180 days, and the last operation time must be within this 180-day period.
QPS limit
The single-user QPS limit for this operation is 6,000 calls per minute. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.
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. |
cluster-1 |
| Type |
string |
No |
The edge transcoding type. Valid values:
Note
If this parameter is not specified, transcoding templates for which the user has the corresponding transcoding type permissions are displayed. |
common |
| Status |
integer |
No |
The edge transcoding task status. 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 collation based on CreateTime. Default value: desc. Valid values:
|
desc |
| Keyword |
string |
No |
The search keyword. Valid values:
|
test |
Request parameter description
This operation supports a filtered query of results by transcoding type (Type) and transcoding node status (Status).
This operation supports sorting results by node creation time (CreateTime). The default sorting order is descending.
This operation supports querying by keyword (Keyword), which can be a node ID (exact match) or a node name (fuzzy match).
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| JobList |
object |
||
| Job |
array<object> |
The list of edge transcoding tasks. |
|
|
object |
|||
| CreateTime |
string |
The time the job was created. |
2023-07-24T16:44:55Z |
| JobId |
string |
The job ID. |
****20b48fb04483915d4f2cd8ac**** |
| LastStartAt |
string |
The time the job was last started. |
2023-07-25T02:48:58Z |
| LastStopAt |
string |
The time the job was last stopped. |
2023-07-25T05:48:58Z |
| Name |
string |
The job name. |
my_job |
| Status |
string |
The status of the edge transcoding job. 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 job. |
9b1571b513cb44f7a1ba6ae561ff**** |
| TemplateName |
string |
The name of the edge transcoding template used by the job. |
my_template |
| Type |
string |
The edge transcoding type. Valid values:
|
common |
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| TotalCount |
integer |
The total number of entries returned. |
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.