调用AddLiveDetectNotifyConfig添加直播审核回调通知地址。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | AddLiveDetectNotifyConfig |
系统规定参数。取值:AddLiveDetectNotifyConfig。 |
DomainName | String | 是 | www.yourdomain.com |
播流域名。 |
NotifyUrl | String | 是 | http://www.yourdomain.cn/examplecallback.action |
发现涉黄、涉政等违规内容的回调地址。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
请求ID。 |
示例
请求示例
http(s)://live.aliyuncs.com/?Action=AddLiveDetectNotifyConfig
&DomainName=www.yourdomain.com
&NotifyUrl=http://www.yourdomain.cn/examplecallback.action
&<公共请求参数>
正常返回示例
XML
格式
<AddLiveDetectNotifyConfigResponse>
<RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>
</AddLiveDetectNotifyConfigResponse>
JSON
格式
{
"RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidNotifyUrl.Malformed | Specified NotifyUrl is invalid. | 指定的notifyurl错误,请您确认该notifyurl参数是否正确。 |
400 | InvalidNotifyUrl.Unsafe | Specified NotifyUrl is not safe. | 指定的notifyurl错误,请您确认该notifyurl参数是否正确。 |
400 | ConfigAlreadyExists | Config has already exist. | 配置已添加。 |
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交