分页查询
GET
Tokenheader
api-token<token>32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
type?string任务类型过滤,当前固定分为 user 和 system
值于
"user""system"active?string启用/禁用状态过滤,1 启用、0 禁用,多个用英文逗号分隔
search?string搜索内容过滤,过滤字段:name、shell
orderBy?string指定排序字段,默认 sort
值于
"sort""last_runtime""last_run_use"order?string指定排序方式 0 升序 | 1 降序,默认降序
值于
"0""1"page?string指定页数,默认1
size?string指定分页大小数量,默认20
返回定时任务分页数据
application/json- response
定时任务分页响应
page*integer当前页码
size*integer每页数据量
total*integer数据总量
data*array<>curl -X GET "https://example.com/cron/v1/page"{ "page": 0, "size": 0, "total": 0, "data": [ { "id": 0, "name": "string", "type": "user", "cron": "string", "shell": "string", "active": 0, "config": "string", "tags": "string", "last_runtime": "2019-08-24T14:15:22Z", "last_run_use": 0, "sort": 0, "create_time": "2019-08-24T14:15:22Z", "remark": "string", "bind": "string", "error_notify": 1, "is_running": true, "error_alert": "string" } ]}
