视频直播 LIVE-查询Referer防盗链黑白名单:响应示例

时间:2024-12-05 10:10:26

响应示例

状态码: 200

查询Referer黑白名单成功

{
  "domain" : "play.example.huawei.com",
  "guard_switch" : "true",
  "referer_config_empty" : "true",
  "referer_white_list" : "false",
  "referer_auth_list" : [ "^http://test.*com$", "abc.com" ]
}

状态码: 400

查询Referer黑白名单失败

{
  "error_code" : "LIVE.100011001",
  "error_msg" : "Request Illegal"
}
support.huaweicloud.com/api-live/GetRefererChain.html