You need to enable JavaScript to run this app.
导航

查询运营商标识符

最近更新时间2024.04.22 15:52:27

首次发布时间2023.09.25 14:36:18

调用 DescribeLiveISPData 接口,查询所有为火山引擎视频直播提供网络接入服务的运营商标识符。获取运营商标识符后您可以在支持以运营商为查询维度的接口中使用运营商标识符查询指定运营商的维度数据。

注意事项

请求频率:单用户请求频率限制为 30 次/秒

请求说明

  • 请求方式:POST
  • 请求地址:https://live.volcengineapi.com?Action=DescribeLiveISPData&Version=2023-01-01

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

Query

参数类型是否必选示例值描述
ActionStringDescribeLiveISPData接口名称。当前 API 的名称为 DescribeLiveISPData
VersionString2023-01-01接口版本。当前 API 的版本为 2023-01-01

返回参数

下表仅列出本接口特有的返回参数。更多信息请见返回结构

参数类型示例值描述

ISPList

Array of ISPList

-

运营商信息,视频直播提供的网络运营商标识,支持的运营商如下所示。

  • unicom:联通;
  • railcom:铁通;
  • telecom:电信;
  • mobile:移动;
  • cernet:教育网;
  • tianwei:天威;
  • alibaba:阿里巴巴;
  • tencent:腾讯;
  • drpeng:鹏博士;
  • btvn:广电;
  • huashu:华数;
  • other:其他。

ISPList

参数类型示例值描述
CodeStringunicom运营商标识符。
NameString联通运营商名称。

请求示例

POST https://live.volcengineapi.com?Action=DescribeLiveISPData&Version=2023-01-01

返回示例

{
  "ResponseMetadata": {
    "RequestId": "202309042019116E825EC4FC63CD166C91",
    "Action": "DescribeLiveISPData",
    "Version": "2023-01-01",
    "Service": "live",
    "Region": "cn-north-1"
  },
  "Result": {
    "ISPList": [
      {
        "Code": "unicom",
        "Name": "联通"
      },
      {
        "Code": "railcom",
        "Name": "铁通"
      },
      {
        "Code": "telecom",
        "Name": "电信"
      },
      {
        "Code": "mobile",
        "Name": "移动"
      },
      {
        "Code": "cernet",
        "Name": "教育网"
      },
      {
        "Code": "tianwei",
        "Name": "天威"
      },
      {
        "Code": "alibaba",
        "Name": "阿里巴巴"
      },
      {
        "Code": "tencent",
        "Name": "腾讯"
      },
      {
        "Code": "drpeng",
        "Name": "鹏博士"
      },
      {
        "Code": "btvn",
        "Name": "广电"
      },
      {
        "Code": "huashu",
        "Name": "华数"
      },
      {
        "Code": "other",
        "Name": "其他"
      }
    ]
  }
}

错误码

下表仅列出本接口特有的错误码。更多信息请参见公共错误码获取详细信息。

状态码错误码错误信息说明
200CommonErr-未分类错误。建议重试,如果仍返回该错误码,请联系技术支持
400InvalidParam-输入的参数无效或不符合要求,请参照请求参数说明进行检查。
400InvalidParam.BindErrorRequest parameter error, please check input data参数未通过校验,请检查参数类型是否正确。
403RequestForbidden-请求被拒绝,当前账号下无请求的资源(域名空间、域名、应用、配置模版、证书)。
403RequestForbidden.AccountIDNotAllowthis AccountID does not have permission to access the corresponding resource, please check the request parameters请求被拒绝,当前账号下无请求的资源(域名空间、域名、应用、配置模版、证书)。
403RequestForbidden.BillingStatusBilling status is not available for the AccountID, please activate the service or recharge.未开通视频直播服务或账号欠费,造成账单不可用,请检查服务开通情况和账号欠费情况。
404ResourceNotFound-未找到资源(域名空间、域名、应用、配置模版、证书)。建议重试,如果仍返回该错误码,请联系技术支持
500InternalErroran internal error occurred, please contact the administrator.出现内部错误,请联系技术支持
502InternalServiceErroran internal error occurred, please contact the administrator.服务间出现错误,请联系技术支持
502InternalServiceError.BadResponsean internal error occurred, please contact the administrator.服务间出现错误,请联系技术支持
504InternalServiceTimeoutInternal Service is timeout. please contact the administrator.内部服务超时,请联系技术支持

服务端 SDK

视频直播提供了配套的开发工具集 SDK,支持多种编程语言,帮助您更方便的调用 API。