终止运行代码文件
POST
仅适用于代码文件,不适用于自定义 Shell 命令。
Tokenheader
api-token<token>32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
application/json- body
path*string代码文件路径(可以是 CLI 支持的相对路径格式)
返回执行结果信息
response?stringapplication/json执行结果信息
curl -X POST 'http://localhost:5678/api/open/exec/v1/file/stop' \ -H 'Content-Type: application/json' \ -d '{ "path": "string"}'示例响应200
"string"
