如何查询刷新操作记录?
描述
查询刷新、预热状态,是否在全网生效。
- 支持根据任务ID查询、URL查询
- taskid与objectpath都不指定,默认查7天内,第一页的数据(20条)
- Taskid与objectpath可以同时指定,逻辑与的关系
- 只可查询7天内的数据
请求参数
返回参数
TaskItem 子节点
特定错误码
公共错误码请
查看
示例
请求示例:
https://cdn.aliyuncs.com?&Action=DescribeRefreshTasks&ObjectPath=&PageNumber=1&PageSize=10&<公共请求参数>
返回示例:
JSON格式:
{
"Tasks" : {
"CDNTask" : [{
"CreationTime" : "2014-11-27T08:23:22Z",
"ObjectPath" : "http:\/\/news.ifeng.com\/1.txt",
"Status" : "Complete",
"TaskId" : "704225667"
}, {
"CreationTime" : "2014-11-27T08:18:38Z",
"ObjectPath" : "http:\/\/news.ifeng.com\/1.txt",
"Status" : "Complete",
"TaskId" : "704222904"
}, {
"CreationTime" : "2014-11-27T07:58:58Z",
"ObjectPath" : "http:\/\/news.ifeng.com\/static\/",
"Status" : "Complete",
"TaskId" : "704211692"
}, {
"CreationTime" : "2014-11-27T07:58:31Z",
"ObjectPath" : "http:\/\/news.ifeng.com\/static\/1.png",
"Status" : "Complete",
"TaskId" : "704211414"
}, {
"CreationTime" : "2014-11-27T07:56:54Z",
"ObjectPath" : "http:\/\/news.ifeng.com\/static\/",
"Status" : "Complete",
"TaskId" : "704210512"
}, {
"CreationTime" : "2014-11-27T07:56:42Z",
"ObjectPath" : "http:\/\/news.ifeng.com\/static\/1.png",
"Status" : "Complete",
"TaskId" : "704210368"
}, {
"CreationTime" : "2014-11-27T07:56:11Z",
"ObjectPath" : "http:\/\/news.ifeng.com\/static\/1.png",
"Status" : "Complete",
"TaskId" : "704210004"
}, {
"CreationTime" : "2014-11-27T04:06:27Z",
"ObjectPath" : "http:\/\/haitao.smzdm.com\/1.txt",
"Status" : "Complete",
"TaskId" : "704081031"
}
]
},
"PageNumber" : 1,
"PageSize" : 10,
"TotalCount" : 8,
"RequestId" : "174F6032-AA26-470D-B90E-36F0EB205BEE"
}
XML格式:
<?xml version="1.0" encoding="utf-8"?>
<DescribeRefreshTasksResponse>
<Tasks>
<CDNTask>
<CreationTime>2014-11-27T08:23:22Z</CreationTime>
<ObjectPath>http://news.ifeng.com/1.txt</ObjectPath>
<Status>Complete</Status>
<TaskId>704225667</TaskId>
</CDNTask>
<CDNTask>
<CreationTime>2014-11-27T08:18:38Z</CreationTime>
<ObjectPath>http://news.ifeng.com/1.txt</ObjectPath>
<Status>Complete</Status>
<TaskId>704222904</TaskId>
</CDNTask>
<CDNTask>
<CreationTime>2014-11-27T07:58:58Z</CreationTime>
<ObjectPath>http://news.ifeng.com/static/</ObjectPath>
<Status>Complete</Status>
<TaskId>704211692</TaskId>
</CDNTask>
<CDNTask>
<CreationTime>2014-11-27T07:58:31Z</CreationTime>
<ObjectPath>http://news.ifeng.com/static/1.png</ObjectPath>
<Status>Complete</Status>
<TaskId>704211414</TaskId>
</CDNTask>
<CDNTask>
<CreationTime>2014-11-27T07:56:54Z</CreationTime>
<ObjectPath>http://news.ifeng.com/static/</ObjectPath>
<Status>Complete</Status>
<TaskId>704210512</TaskId>
</CDNTask>
<CDNTask>
<CreationTime>2014-11-27T07:56:42Z</CreationTime>
<ObjectPath>http://news.ifeng.com/static/1.png</ObjectPath>
<Status>Complete</Status>
<TaskId>704210368</TaskId>
</CDNTask>
<CDNTask>
<CreationTime>2014-11-27T07:56:11Z</CreationTime>
<ObjectPath>http://news.ifeng.com/static/1.png</ObjectPath>
<Status>Complete</Status>
<TaskId>704210004</TaskId>
</CDNTask>
<CDNTask>
<CreationTime>2014-11-27T04:06:27Z</CreationTime>
<ObjectPath>http://haitao.smzdm.com/1.txt</ObjectPath>
<Status>Complete</Status>
<TaskId>704081031</TaskId>
</CDNTask>
</Tasks>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<TotalCount>8</TotalCount>
<RequestId>13DF2E2F-FBF8-4E1C-9222-98141795443D</RequestId>
</DescribeRefreshTasksResponse>
收起
青衫无名
2017-10-24 10:22:47
2348
0
0
条回答
写回答
取消
提交回答