视频接入服务 VIS-开通服务:响应示例

时间:2024-07-04 09:16:57

响应示例

状态码: 201

正常

{
  "user_id" : "******6045184a8194e021113e******",
  "sip_ip" : "10.95.144.***",
  "sip_port" : "5080",
  "quota" : {
    "consecutive_access_time" : {
      "total" : 120,
      "used" : 0
    },
    "password" : {
      "total" : 10,
      "used" : 0
    },
    "random_access_time" : {
      "total" : 240,
      "used" : 0
    },
    "stream" : {
      "total" : 50,
      "used" : 0
    },
    "active_stream" : {
      "total" : 10,
      "used" : 0
    },
    "device" : {
      "total" : 50,
      "used" : 0
    },
    "aksk" : {
      "total" : 10,
      "used" : 0
    },
    "http_num" : {
      "total" : 10,
      "used" : 0
    },
    "http_active_num" : {
      "total" : 5,
      "used" : 0
    },
    "rtmp_num" : {
      "total" : 0,
      "used" : 0
    }
  },
  "created_at" : "2018-10-25T03:06:10Z",
  "is_subscribed" : true
}

状态码: 400

请求错误。具体返回错误码请参考错误码说明

{
  "error_msg" : "You have already subscribed to VIS.",
  "error_code" : "VIS.0018"
}
support.huaweicloud.com/api-vis/CreateSubscription.html