查询刷新URL、刷新目录、预热URL任务
请求URL
{{url}}/api/job/list
请求方式
get
Header
字段名
示例值
必选
类型
说明
x-api-key
{{x-api-key}}
是
string
无
x-api-secret
{{x-api-secret}}
是
string
无
请求Query参数
参数名
示例值
必选
类型
说明
page
1
是
string
页数
limit
10
是
string
每页个数
type
clean_url
是
string
任务类型,可选为clean_url:刷新UR、clean_dir:刷新目录、pre_cache_url:预热URL,unlock_ip:黑名单
key1
是
string
搜索刷新的域名
is_show
是
string
是否显示 1 是 0否
请求参数示例
成功返回示例
{
"code": 0,
"data": {
"count": 2,
"list": [
{
"create_at": null,
"create_at2": "2024-11-04 16:20:56",
"data": "{\"url\": \"http://abc2de.com/\"}",
"end_at": "2024-11-04 16:21:00",
"id": 34968,
"key1": "abc2de\\.com",
"key2": "http://abc2de.com/",
"progress": null,
"ret": null,
"state": "done",
"task_id": 379306,
"type": "pre_cache_url",
"uid": 2
},
{
"create_at": null,
"create_at2": "2024-11-04 16:20:05",
"data": "{\"url\": \"http://abc2de.com/\"}",
"end_at": "2024-11-04 16:20:09",
"id": 34967,
"key1": "abc2de\\.com",
"key2": "http://abc2de.com/",
"progress": null,
"ret": null,
"state": "done",
"task_id": 379303,
"type": "clean_url",
"uid": 2
}
]
},
"msg": "ok"
}
成功返回示例的参数说明
参数名
类型
说明
code
string
无
data
object
无
count
string
无
list
array
无
list.create_at
object
无
list.create_at2
string
无
list.data
string
无
list.end_at
string
无
list.id
string
无
list.key1
string
无
list.key2
string
无
list.progress
object
无
list.ret
object
无
list.state
string
无
list.task_id
string
无
list.type
string
无
list.uid
string
无
msg
string
无
Last updated