视频直播 LIVE-查询指定域名的Key防盗链配置:响应示例

时间:2024-07-19 14:22:39

响应示例

状态码: 200

查询成功

{
  "key" : "IbBIzklRGCyMEd18oPV9sxAuuwNIzT81",
  "auth_type" : "d_sha256",
  "timeout" : 3600
}

状态码: 400

参数校验不通过

{
  "error_code" : "LIVE.100011001",
  "error_msg" : "Request Illegal"
}

状态码: 401

未授权访问接口

{
  "error_code" : "LIVE.100011003",
  "error_msg" : "Unauthorized access to the interface, please contact the main account administrator to open the interface permissions"
}

状态码: 404

访问资源不存在,如: 域名 不存在。

{
  "error_code" : "LIVE.103011019",
  "error_msg" : "The resource to access is not exists"
}

状态码: 500

服务内部错误

{
  "error_code" : "LIVE.100011005",
  "error_msg" : "Server internal error, please try again later or contact customer service staff to help solve"
}
support.huaweicloud.com/api-live/ShowDomainKeyChain.html