查询刷新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

搜索刷新的域名

key2

string

搜索刷新的url,需要经过urlencode,如http://www.qq.com/ urlencode后为http%3A%2F%2Fwww.qq.com%2F。

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