Updates the callback configuration for live audio moderation.
Operation description
-
Obtain the streaming domain and then call this operation to update the callback configuration for live audio moderation.
-
Live audio moderation is available only in specific regions. For more information about the supported regions, see Service regions.
QPS limits
The limit on API calls for this operation is 10 queries per second (QPS) per user. If you exceed this limit, calls are throttled, which may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:UpdateLiveAudioAuditNotifyConfig |
update |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The streaming domain. |
example.com |
| Callback |
string |
No |
The webhook URL for receiving callback notifications about audio that contains violations. |
http://guide.aliyundoc.com/callback |
| CallbackTemplate |
string |
No |
The callback template for automated review. The value can contain the following variables:
|
{"domain":{DomainName},"app":{AppName},"stream":{StreamName},"timestamp":{Timestamp},"result":{Result}} |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
7BF95F2A-3B24-4CDE-9346-7F6FA86697A1 |
Examples
Success response
JSON format
{
"RequestId": "7BF95F2A-3B24-4CDE-9346-7F6FA86697A1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MalformedParam | %s | |
| 400 | MissingParam | %s | |
| 400 | ConfigExisted | %s | |
| 400 | ConfigNotFound | %s | |
| 400 | UnsafeCallback | %s | |
| 500 | InternalError | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.