📢 Release 1.0.0-beta.9(2026-03-26)现已推出
Arcadia

分页查询

GET
/cron/v1/page

授权

Token
api-token<token>

32位令牌,在控制面板《个人设置 - 令牌管理》页面获取

位置: header

查询参数

type?string

任务类型过滤,当前固定分为 user 和 system

可选值"user" | "system"
active?string

启用/禁用状态过滤,1 启用、0 禁用,多个用英文逗号分隔

可选值"0" | "1"
tags?string

任务标签过滤(仅限系统任务,关于标签的值详见 “tagsList” 接口),多个名称用英文逗号分隔

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

curl -X GET "http://localhost:5678/api/open/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": "string",
      "last_run_use": 0,
      "sort": 0,
      "create_time": "string",
      "remark": "string",
      "bind": "string",
      "is_running": true
    }
  ]
}