跳转至

域名基本信息 接口

POST 域名列表

POST /cdn/domain/list

获取域名列表

Body 请求参数

{
  "filters": [
    {
      "label": "oid",
      "value": ["2022082123456"]
    }
  ],
  "searchHeader": {
    "isActive": ["0"]
  },
  "pageSize": 10,
  "pageNum": 1
}

请求参数

名称 位置 类型 必选 中文名 说明
Authorization header string none
body body object none
» country body string none
» domainId body integer(int64) none
» filters body [object] 搜索条件 none
»» label body string 参数名 none
»» value body [string] 数组类型,传入单个值为模糊搜索,多个值为精确搜索
» pageNum body integer(int32) none
» pageSize body integer(int32) none
» params body object none
» searchHeader body object 筛选 域名/端口/套餐(别名)/备注:domainName/port/doid/customerRemar
»» isActive body [string] 0:配置中
» searchValue body string none
» tableCul body object none
»» additionalProperties body string none

详细说明

»» isActive: 0:配置中 1:活跃/部署中 2:暂停

返回示例

200 Response

{
  "total": 30,
  "rows": [
    {
      "id": 211,
      "sslsupport": "0",
      "domainName": "demo.com",
      "ip": "1.1.1.1\n2.2.2.2",
      "port": "0",
      "cNamePre": "demo.com",
      "cNameSuf": "",
      "doid": "202208212345608922",
      "isActive": "0",
      "customerRemark": "",
      "alias": "11123",
      "coreId": "207",
      "waf": "0",
      "stopTime": "0",
      "updateTime": "1704693635",
      "certEndTime": null,
      "wafInternalRulesList": null
    }
  ],
  "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
»» id integer false none none
»» sslsupport string false none 是否配置证书 1:配置证书
»» domainName string false none 域名 none
»» ip string false none 回源地址 none
»» port string false none 端口 none
»» cNamePre string false none cNamePre none
»» cNameSuf string false none cNameSuf none
»» doid string false none 套餐 none
»» isActive string false none 状态 0:配置中
1:活跃/部署中
2:暂停
»» customerRemark string false none 备注 none
»» alias string false none 别名 none
»» coreId string false none none
»» waf string false none none
»» stopTime string false none none
»» updateTime string false none 创建时间 none
»» wafInternalRulesList null false none none
» code integer true none none
» msg string true none none

数据模型

QueryDomainListVO

{
  "country": "string",
  "domainId": 0,
  "filters": [
    {
      "label": "string",
      "value": ["string"]
    }
  ],
  "pageNum": 0,
  "pageSize": 0,
  "params": {},
  "searchHeader": {},
  "searchValue": "string",
  "tableCul": {
    "property1": "string",
    "property2": "string"
  },
  "userId": 0
}

QueryDomainListVO

属性

名称 类型 必选 约束 中文名 说明
country string false none none
domainId integer(int64) false none none
filters [SearchFilterVo] false none none
pageNum integer(int32) false none none
pageSize integer(int32) false none none
params object false none none
searchHeader object false none none
searchValue string false none none
tableCul object false none none
» additionalProperties string false none none
userId integer(int64) false none none

SearchFilterVo

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

SearchFilterVo

属性

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