Memperbarui konfigurasi callback perekaman tingkat domain.
Deskripsi operasi
Saat Anda memperbarui konfigurasi callback perekaman tingkat domain, Anda dapat mengubah pengaturan berikut:
URL callback untuk event perekaman, termasuk callback event pembuatan file perekaman dan callback status tugas perekaman. Untuk informasi selengkapnya, lihat Callback event perekaman.
URL callback perekaman sesuai permintaan. Untuk informasi selengkapnya, lihat Callback perekaman sesuai permintaan.
Apakah callback status tugas perekaman diperlukan.
Batas QPS
Batas QPS pengguna tunggal untuk operasi ini adalah 30 panggilan per detik. Jika batas ini terlampaui, panggilan API akan dibatasi, yang dapat memengaruhi bisnis Anda. Gunakan operasi ini secara tepat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:UpdateLiveRecordNotifyConfig |
update |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Domain streaming Streamer. |
example.com |
| NotifyUrl |
string |
Yes |
URL callback untuk event perekaman, termasuk callback event dan callback status. Catatan
|
http://learn.aliyundoc.com/examplecallback.action |
| OnDemandUrl |
string |
No |
URL callback perekaman sesuai permintaan. Catatan
|
http://guide.aliyundoc.com/ondemandcallback.action |
| NeedStatusNotify |
boolean |
No |
Apakah callback status tugas perekaman diperlukan. Nilai valid:
|
false |
| NotifyReqAuth |
boolean |
No |
Apakah akan mengaktifkan otentikasi callback. Nilai valid:
Catatan
Nilai default: false. Jika parameter ini diatur ke true, parameter NotifyAuthKey wajib diisi. |
no |
| NotifyAuthKey |
string |
No |
Kunci otentikasi callback. Panjang kunci adalah 16 hingga 32 karakter dan hanya dapat berisi huruf dan angka. Catatan
Parameter ini wajib diisi ketika parameter NotifyReqAuth diatur ke true. |
testkeyyourkey12 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidNotifyUrl.Malformed | Specified NotifyUrl is invalid. | Invalid value of notifyurl. Check whether the notifyurl parameter that you specified is correct. |
| 400 | InvalidNotifyUrl.Unsafe | Specified NotifyUrl is not safe. | Invalid value of notifyurl. Check whether the notifyurl parameter that you specified is correct. |
| 400 | InvalidOnDemandUrl.Malformed | Specified OnDemandUrl is invalid. | |
| 400 | InvalidOnDemandUrl.Unsafe | Specified OnDemandUrl is not safe. | |
| 400 | InvalidDomain.NotFound | Specified Domain is invalid. | |
| 400 | Forbidden | Ram Permission is forbidden. | |
| 404 | InvalidConfig.NotFound | Config does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.