Mengambil konfigurasi callback perekaman untuk sebuah nama domain.
Deskripsi operasi
Anda harus memiliki nama domain streaming sebelum memanggil operasi ini.
Batas QPS
Batas permintaan per detik (QPS) untuk satu pengguna pada operasi ini adalah 50. Jika batas tersebut dilampaui, panggilan API akan dikenai throttle, yang dapat memengaruhi bisnis Anda. Kami menyarankan agar Anda memanggil operasi ini dengan laju yang wajar.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveRecordNotifyConfig |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Nama domain streaming. |
example.com |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
5056369B-D337-499E-B8B7-B761BD37B08A |
| LiveRecordNotifyConfig |
object |
Konfigurasi callback perekaman untuk nama domain tersebut. |
|
| NotifyReqAuth |
boolean |
||
| NotifyAuthKey |
string |
||
| DomainName |
string |
Nama domain streaming. |
example.com |
| NotifyUrl |
string |
Alamat webhook untuk callback perekaman. |
http://learn.aliyundoc.com/examplecallback.action |
| NeedStatusNotify |
boolean |
Menunjukkan apakah diperlukan callback untuk status tugas perekaman. Nilai yang valid:
|
false |
| OnDemandUrl |
string |
URL webhook untuk callback perekaman on-demand. |
http://guide.aliyundoc.com/ondemandcallback.action |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5056369B-D337-499E-B8B7-B761BD37B08A",
"LiveRecordNotifyConfig": {
"NotifyReqAuth": false,
"NotifyAuthKey": "",
"DomainName": "example.com",
"NotifyUrl": "http://learn.aliyundoc.com/examplecallback.action",
"NeedStatusNotify": false,
"OnDemandUrl": "http://guide.aliyundoc.com/ondemandcallback.action"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidConfig.NotFound | Config does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.