视频直播 LIVE-查询直播拉流HTTP状态码接口:响应示例

时间:2024-12-24 16:35:59

响应示例

状态码: 200

处理成功返回。

{
  "data_series" : [ {
    "time" : "2020-06-04T07:00:00Z",
    "http_codes" : [ {
      "code" : 200,
      "count" : 750,
      "proportion" : 0.5211
    }, {
      "code" : 400,
      "count" : 650,
      "proportion" : 0.4789
    } ]
  }, {
    "time" : "2020-06-04T07:01:00Z",
    "http_codes" : [ {
      "code" : 200,
      "count" : 1000,
      "proportion" : 1
    }, {
      "code" : 400,
      "count" : 0,
      "proportion" : 0
    } ]
  } ]
}

状态码: 400

参数错误。

{
  "error_code" : "LIVE.100011001",
  "error_msg" : "Invalid request parameter: play_domains"
}
support.huaweicloud.com/api-live/ListQueryHttpCode.html