AddLiveDetectNotifyConfig
Adds a callback notification URL for live stream moderation.
Operation description
-
The live stream moderation service notifies you of non-compliant content in real time based on the callback URL. You can review the content and take appropriate actions.
-
Currently, only some live centers support intelligent live stream moderation. For more information about the live centers that support this feature, see Regions.
QPS limits
The QPS limit for a single user is 30 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:AddLiveDetectNotifyConfig |
create |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The streamer domain name. |
example.com |
| NotifyUrl |
string |
Yes |
The callback URL for non-compliant content such as pornography and politically sensitive content. |
http://demo.aliyundoc.com/examplecallback.action |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Error codes
|
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 | ConfigAlreadyExists | Config has already exist. | |
| 400 | InvalidParams | Invalid Params. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.