📢 Release 1.1.0(2026-09-19)现已推出
Arcadia

更新

POST
/cron/v1/update

授权

Token
api-token<token>

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

位置: header

请求主体

application/json

TypeScript 定义

在 TypeScript 中使用 request body 类型。

更新定时任务请求体(id 必填)

响应主体

application/json

curl -X POST "https://example.com/cron/v1/update" \  -H "Content-Type: application/json" \  -d '{}'
{  "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"}