跳转至

cdn 缓存管理

POST 查询缓存刷新任务 multi:cdn:query

POST /prod-api/multiCdn/cache/describeCachePurges

Body 请求参数

{
  "domainGrnId": "grn:test:multi-cdn:279:domain/0745d675d9409df7e1291408e553de8e",
  "pageNum": 1,
  "pageSize": 10
}

请求参数

名称 位置 类型 必选 中文名 说明
Authorization header string none
body body DescribeCachePurgesReqVO DescribeCachePurgesReqVO none

返回示例

200 Response

{
  "total": 1,
  "rows": [
    {
      "createTime": "2025-12-16 10:07:08",
      "taskTag": "96ec34a61e12369c",
      "contents": ["http://demo.dev.com/"],
      "progress": 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
»» createTime string false none 创建时间 none
»» taskTag string false none 任务 none
»» contents [string] false none 内容 none
»» progress null false none 进度 none
» code integer true none none
» msg string true none none

数据模型

DescribeCachePurgesReqVO

{
  "domainGrnId": "string",
  "filters": [
    {
      "label": "string",
      "value": ["string"]
    }
  ],
  "pageNum": 0,
  "pageSize": 0
}

DescribeCachePurgesReqVO

属性

名称 类型 必选 约束 中文名 说明
domainGrnId string true none domainGrnId none
filters [object] false none 搜索条件 none
» label string false none 参数名 contents:表示内容
» value [string] false none 数组类型,传入单个值为模糊搜索,多个值为精确搜索
pageNum integer(int32) true none 当前页数 none
pageSize integer(int32) true none 每页显示条目个数 none