cdn 缓存管理¶
POST 添加缓存刷新任务 multi:cdn:edit¶
POST /prod-api/multiCdn/cache/addCachePurges
Body 请求参数
请求参数¶
| 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
|---|---|---|---|---|---|
| Authorization | header | string | 是 | none | |
| body | body | AddCachePurgesReqVO | 是 | AddCachePurgesReqVO | none |
返回示例
200 Response
201 Response
返回结果¶
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | Inline |
| 201 | Created | none | Inline |
| 401 | Unauthorized | none | Inline |
| 403 | Forbidden | none | Inline |
| 404 | Not Found | none | Inline |
返回数据结构¶
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » msg | string | true | none | none | |
| » code | integer | true | none | none |
数据模型¶
AddCachePurgesReqVO
AddCachePurgesReqVO
属性¶
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| contents | [string] | true | none | url 内容 | 例如:/test/test/file.jpg,/test/*,https://example/file.jpg 清除泛域名缓存需要完整的 URL |
| domainGrnId | string | true | none | domainGrnId | 唯一的 id |