v1

latestSwagger 2.0Apache 2.02026-07-174372196.9 KB
运行器管理

控制后台运行器

执行启动、停止、重启、强制停止或热重载操作

post/api/runner/control

Request body

action'start' | 'stop' | 'restart' | 'force_stop' | 'reload' required

控制动作

Response

操作成功

codeinteger
messagestring
requestIdstring
successboolean
timestampstring

Example response

{
  "code": 200,
  "data": {
    "action": "start",
    "message": "运行器已成功启动",
    "state": "running",
    "success": true
  },
  "message": "操作成功",
  "requestId": "550e8400-e29b-41d4-a716-446655440000",
  "success": true,
  "timestamp": "2023-01-01T12:00:00Z"
}