获取缓存刷新请求状态
描述
异步查询当前purge请求的状态
3.11.2. 请求语法
GET /domain/${domainName}/purge/${purge-id} HTTP/1.1
Host:cdn.netease.com
Date: ${date}
Accept:application/json
Authorization: ${signature}
响应语法
- 如果请求成功,返回内容如下
HTTP/1.1 200 OK
Date: ${date}
Content-Type: application/json;charset=utf-8
x-ncdn-request-id: ${x-ncdn-request-id}
{
"item": [
{
"path": $path,
"status": $status,
"rate": $rate
},
{
"path": $path,
"status": $status,
"rate": $rate
}
]
}
参数 | 描述 |
---|---|
path | 清理的URL类型:字符串 |
status | 清理状态,包括wait、run、success、failure类型:字符串 |
rate | 清理进度类型:数字 |