跳转至

域名管理

POST 列出域名列表 multi:cdn:query

POST /prod-api/multiCdn/domain/describeCdnDomains

Body 请求参数

{
  "filters": [
    {
      "label": "oid",
      "value": ["2022082123456"]
    }
  ],
  "searchHeader": {
    "status": "enable",
    "region": "chinese_mainland"
  },
  "pageSize": 10,
  "pageNum": 1
}

请求参数

名称 位置 类型 必选 中文名 说明
Authorization header string none
body body object none
» filters body [object] 搜索条件 none
»» label body string 参数名 domain:表示域名
»» value body [string] 数组类型,传入单个值为模糊搜索,多个值为精确搜索
» pageNum body integer(int32) 当前页数 none
» pageSize body integer(int32) 每页显示条目个数 none
» searchHeader body object 筛选 none
»» status body string 状态 enable:启用
»» region body string 地区 chinese_mainland:中国大陆

详细说明

»» label: domain:表示域名 oid::套餐 originRecord:源站地址

»» status: enable:启用 disable:禁用

»» region: chinese_mainland:中国大陆 outside_chinese_mainland:中国大陆以外 global:全球 indonesia:印度尼西亚 none:无区域

返回示例

200 Response

{
  "total": 2,
  "rows": [
    {
      "domainGrnId": "grn:test:multi-cdn:001:domain/01234565d940e553de8e",
      "domain": "lwtest3.demo.com",
      "cname": "lwtest3.demo.com.tezhengku.com",
      "origins": {
        "httpOriginPort": 80,
        "httpsOriginPort": 443,
        "originGroupGrnId": "grn:test:multi-cdn:001:origin/174c12cc214bf7d0020fc48461",
        "originProtocol": "http",
        "originRecords": [
          {
            "record": "lwtest1.com",
            "weight": 0
          }
        ]
      },
      "region": "chinese_mainland",
      "status": "enable",
      "updateTime": "2025-12-16 10:21:55",
      "oid": "20250812332409"
    }
  ],
  "code": 200,
  "msg": "成功"
}

201 Response

{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK none Inline
201 Created none Inline
401 Unauthorized none Inline
403 Forbidden none Inline
404 Not Found none Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文名 说明
» total integer true none none
» rows [object] true none none
»» domainGrnId string true none domainGrnId none
»» domain string true none 域名 none
»» cname string true none cname none
»» origins object true none 源站地址 none
»»» httpOriginPort integer true none HTTP 例如:80
»»» httpsOriginPort integer true none HTTPS 例如:443
»»» originGroupGrnId string true none none
»»» originProtocol string true none none
»»» originRecords [object] true none 源站类型 none
»»»» record string true none 地址 none
»»»» weight integer true none 权重 none
»» region string true none 地区 chinese_mainland:中国大陆
outside_chinese_mainland:中国大陆以外
global:全球
indonesia:印度尼西亚
none:无区域
»» status string true none enable:启用
disable:禁用
»» updateTime string true none 更新时间
»» oid string true none 套餐
» code integer true none none
» msg string true none none

数据模型

SearchFilterVo

{
  "label": "string",
  "value": ["string"]
}

SearchFilterVo

属性

名称 类型 必选 约束 中文名 说明
label string false none none
value [string] false none none