跳转到内容

中止 Worker

方法: POST

端点: /api/v1/scraper/abort

使用 Content-Type: application/json 发送请求体。

POST/api/v1/scraper/abortAbort running worker task
Required

Stored only in this browser tab. Sent only to https://openapi.coreclaw.com.

BodyRequiredapplication/json
FieldTypeRequiredDescription
run_slugstringyesUnique run identifier returned by CoreClaw.
Request body (JSON)
{
"run_slug": "YOUR_RUN_SLUG"
}
参数类型必填说明
run_slugString运行唯一标识符
{
"code": 0,
"message": "success",
"data": null
}
参数示例类型说明
code0Integer全局状态码
messagesuccessString响应消息
datanullNull空数据