调用DescribeLiveDetectNotifyConfig查询直播审核回调通知地址。

使用说明

  • 先获取主播流域名,再调用本接口查询直播审核回调通知地址。
  • 目前仅部分直播中心支持直播智能审核,具体支持该功能的直播中心,请参见服务地域

QPS限制

本接口的单用户QPS限制为50次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见QPS限制

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeLiveDetectNotifyConfig

系统规定参数。取值:DescribeLiveDetectNotifyConfig

DomainName String example.com

主播流域名。

返回数据

名称 类型 示例值 描述
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

请求ID。

LiveDetectNotifyConfig Object

回调配置。

DomainName String example.com

主播流域名。

NotifyUrl String http://aliyundoc.com

通知回调地址。

示例

请求示例

http(s)://live.aliyuncs.com/?Action=DescribeLiveDetectNotifyConfig
&DomainName=example.com
&<公共请求参数>

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<?xml version="1.0" encoding="UTF-8" ?>
<DescribeLiveDetectNotifyConfigResponse>
<RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>
<LiveDetectNotifyConfig>
    <DomainName>example.com</DomainName>
    <NotifyUrl>http://aliyundoc.com</NotifyUrl>
</LiveDetectNotifyConfig>
</DescribeLiveDetectNotifyConfigResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "DescribeLiveDetectNotifyConfigResponse" : {
    "RequestId" : "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
    "LiveDetectNotifyConfig" : {
      "DomainName" : "example.com",
      "NotifyUrl" : "http://aliyundoc.com"
    }
  }
}

错误码

HttpCode 错误码 错误信息 描述
404 InvalidConfig.NotFound Config does not exist. 配置错误,请您确认该配置是否正确。

访问错误中心查看更多错误码。