实时音视频 SPARKRTC-查询单个应用:响应示例

时间:2024-10-18 15:28:09

响应示例

状态码: 200

app详细信息

{
  "app_name" : "example",
  "app_id" : "123456789abcdefghijklmno",
  "state" : {
    "state" : "ACTIVATION",
    "update_time" : "2020-07-26T07:03:05.075Z"
  },
  "scope" : "DOMESTIC",
  "tenant_name" : "hwstaff_pub_videortc",
  "domain" : "123456789abcdefghijklmno.rtc.huawei.com",
  "create_time" : "2020-07-26T07:03:05.075Z",
  "authentication" : {
    "enable" : true,
    "expire" : 300,
    "app_key" : "12345ABCDEF12345",
    "update_time" : "2020-07-26T07:03:05.075Z"
  },
  "callbacks" : {
    "record_callback" : {
      "url" : "http://mydomain.com",
      "auth_key" : "78912374ae8cdb38",
      "update_time" : "2020-07-26T07:53:05.075Z"
    }
  },
  "auto_record_mode" : {
    "mode" : "AUTO_RECORD_OFF",
    "update_time" : "2020-07-26T07:53:05.075Z"
  }
}

状态码: 400

语义有误,当前请求无法被服务器理解,或参数有误

{
  "error_code" : "RTC.00001003",
  "error_msg" : "InvalidParameterValue"
}

状态码: 404

app编号不存在

{
  "error_code" : "RTC.00001003",
  "error_msg" : "InvalidParameterValue"
}

状态码: 500

查询失败,服务器端错误

{
  "error_code" : "RTC.00002xxx",
  "error_msg" : "InternalError"
}
support.huaweicloud.com/api-rtc/ShowApp.html