获取缓存刷新请求状态

描述

异步查询当前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清理进度类型:数字