跳转至

刷新预热 api

POST 获取刷新历史列表 tcdn:domain:query

POST /prod-api/acdn/tcdn/content/describeContentTasks

当 purgeType 等于 prefetch,选择这个接口 describePushTasks 接口,否则选择 describeContentTasks 接口

Body 请求参数

{
  "domain": "lw111.demo.com",
  "purgeType": "url",
  "pageNum": 1,
  "pageSize": 10,
  "searchHeader": {
    "status": "done"
  },
  "params": {
    "beginTime": "2025-10-15 00:00:00",
    "endTime": "2025-10-15 23:59:59"
  }
}

请求参数

名称 位置 类型 必选 中文名 说明
Authorization header string none
body body object none
» domain body string 域名 none
» pageNum body integer(int32) 当前页数 none
» pageSize body integer(int32) 每页显示条目个数 none
» params body object none
»» beginTime body string 开始时间 none
»» endTime body string 结束时间 none
» purgeType body string 查询类型 url:表示 URL 刷新
» searchHeader body object 筛选 none
»» status body string done:表示完成

详细说明

» purgeType: url:表示 URL 刷新 path:表示目录刷新 prefetch:表示 URL 预热

»» status: done:表示完成 process:表示节点刷新中 fail:表示失败

返回示例

200 Response

{
  "total": 0,
  "rows": [],
  "code": 0,
  "msg": "success"
}

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 [string] true none none
» code integer true none none
» msg string true none none

数据模型