Queries a list of edge transcoding jobs.
Operation description
-
You can call this operation to query a list of edge transcoding jobs.
-
To call this operation, you must have permissions to access the edge transcoding service.
-
This operation returns only jobs that were created or modified in the last 180 days.
QPS limit
The queries per second (QPS) limit for a single user on this operation is 6,000 calls per minute. If you exceed this limit, your calls to the operation are throttled. This may affect your business. We recommend that you plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:ListEdgeTranscodeJob |
*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 you do not specify this parameter, transcoding templates for which you have permissions are displayed. |
common |
| Status |
integer |
No |
The status of the edge transcoding job. Valid values:
|
0 |
| PageNo |
integer |
No |
The page number. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. The default value is 10. The maximum value is 100. |
20 |
| SortBy |
string |
No |
The sorting rule. The results are sorted by CreateTime. The default value is desc. Valid values:
|
desc |
| Keyword |
string |
No |
The keyword for the search. Valid values:
|
test |
Usage notes for request parameters
You can filter query results by transcoding type (Type) and job status (Status).
You can sort query results by creation time (CreateTime). By default, the results are sorted in descending order.
You can query by keyword (Keyword). You can use a job ID for an exact match or a job name for a fuzzy query.
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| JobList |
object |
||
| Job |
array<object> |
The list of edge transcoding jobs. |
|
|
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. |
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 | |
| 400 | MissingParameter | %s | |
| 403 | OperationDenied | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.