Mengkueri detail Pekerjaan transkoding edge.
Deskripsi operasi
To call this API operation, you must have permissions for the edge transcoding service.
QPS limits
The queries per second (QPS) limit for a single user on this API is 6,000 calls per minute. API calls that exceed this limit are throttled. This may affect your business. We recommend that you call the API at a reasonable rate.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:GetEdgeTranscodeJob |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-shanghai |
| ClusterId |
string |
Yes |
ID Pusat data lokal. |
******3b-4d18-395c-8106-ff21a6****** |
| JobId |
string |
Yes |
ID Pekerjaan transkoding edge. |
****20b48fb04483915d4f2cd8ac**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Job |
object |
The edge transcoding job. |
|
| CreateTime |
string |
The time when the job was created. |
2023-07-24T16:44:55Z |
| JobId |
string |
The job ID. |
****20b48fb04483915d4f2cd8ac**** |
| LastStartAt |
string |
The time when the job was last started. |
2023-07-25T02:48:58Z |
| LastStopAt |
string |
The time when the job was last stopped. |
2023-07-25T05:48:58Z |
| Name |
string |
The job name. |
my_job |
| Status |
string |
The status of the 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 type of edge transcoding. Valid values:
|
common |
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
Contoh
Respons sukses
JSONformat
{
"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******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | %s. | |
| 403 | OperationDenied | %s, please check and try again later. | |
| 404 | JobNotFound | %s, please check and try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.