中止 Worker
方法: POST
端点: /api/v1/scraper/abort
使用 Content-Type: application/json 发送请求体。
POST
/api/v1/scraper/abortAbort running worker taskRequired
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_slug | String | 是 | 运行唯一标识符 |
{ "code": 0, "message": "success", "data": null}| 参数 | 示例 | 类型 | 说明 |
|---|---|---|---|
| code | 0 | Integer | 全局状态码 |
| message | success | String | 响应消息 |
| data | null | Null | 空数据 |