Memperbarui konfigurasi callback untuk tinjauan otomatis audio.
Deskripsi operasi
-
Obtain the streaming domain and then call this operation to update the callback configuration for automated audio review.
-
Live audio moderation is available only in specific regions. For supported regions, see Service regions.
QPS limits
You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:UpdateLiveAudioAuditNotifyConfig |
update |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| DomainName |
string |
Yes |
Domain streaming utama. |
example.com |
| Callback |
string |
No |
URL webhook untuk menerima notifikasi callback terkait audio yang mengandung pelanggaran. |
http://guide.aliyundoc.com/callback |
| CallbackTemplate |
string |
No |
Templat callback untuk tinjauan otomatis. Nilai dapat berisi variabel berikut:
|
{"domain":{DomainName},"app":{AppName},"stream":{StreamName},"timestamp":{Timestamp},"result":{Result}} |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
7BF95F2A-3B24-4CDE-9346-7F6FA86697A1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7BF95F2A-3B24-4CDE-9346-7F6FA86697A1"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MalformedParam | %s, please check and try again later. | |
| 400 | MissingParam | %s, please check and try again later. | |
| 400 | ConfigExisted | %s, please check and try again later. | |
| 400 | ConfigNotFound | %s, please check and try again later. | |
| 400 | UnsafeCallback | %s, please check and try again later. | |
| 500 | InternalError | %s, please try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.