Memperbarui konfigurasi callback perekaman tingkat domain.
Deskripsi operasi
Saat memperbarui konfigurasi callback perekaman tingkat domain, Anda dapat mengubah hal-hal berikut:
URL untuk callback perekaman (termasuk callback event pembuatan file rekaman dan callback status task perekaman). Untuk informasi selengkapnya, lihat Recording event callbacks.
URL untuk callback perekaman on-demand. Untuk informasi selengkapnya, lihat On-demand recording callbacks.
Status pengaktifan callback status task perekaman.
Batas QPS
API ini memiliki batas QPS per pengguna sebesar 30 permintaan per detik. Melebihi batas ini akan memicu rate limiting yang dapat memengaruhi layanan Anda. Gunakan API hanya sesuai kebutuhan.
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 |
Nama domain streaming. |
example.com |
| NotifyUrl |
string |
Yes |
URL untuk callback perekaman (termasuk callback event dan status). Catatan
|
http://learn.aliyundoc.com/examplecallback.action |
| OnDemandUrl |
string |
No |
URL untuk callback on-demand. Catatan
|
http://guide.aliyundoc.com/ondemandcallback.action |
| NeedStatusNotify |
boolean |
No |
Menentukan apakah akan mengaktifkan callback status task perekaman. Nilai yang valid:
|
false |
| NotifyReqAuth |
boolean |
No |
no |
|
| NotifyAuthKey |
string |
No |
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. | |
| 400 | InvalidNotifyUrl.Unsafe | Specified NotifyUrl is not safe. | |
| 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.