mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-04-22 14:09:45 +08:00
docs: update cancel crawl response
- add cancel crawl event to requests.http
This commit is contained in:
parent
720a429115
commit
34e3911a97
@ -28,6 +28,11 @@ content-type: application/json
|
||||
GET {{baseUrl}}/v1/crawl/{{crawlId}} HTTP/1.1
|
||||
Authorization: Bearer {{$dotenv TEST_API_KEY}}
|
||||
|
||||
### Cancel Crawl
|
||||
@crawlId = {{crawl.response.body.$.id}}
|
||||
# @name cancelCrawl
|
||||
DELETE {{baseUrl}}/v1/crawl/{{crawlId}} HTTP/1.1
|
||||
Authorization: Bearer {{$dotenv TEST_API_KEY}}
|
||||
|
||||
### Batch Scrape Websites
|
||||
# @name batchScrape
|
||||
|
@ -840,19 +840,16 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful cancellation",
|
||||
"description": "Crawl job successfully cancelled",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"success": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"message": {
|
||||
"status": {
|
||||
"type": "string",
|
||||
"example": "Crawl job successfully cancelled."
|
||||
"enum": ["cancelled"],
|
||||
"example": "cancelled"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -988,19 +985,16 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful cancellation",
|
||||
"description": "Crawl job successfully cancelled",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"success": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"message": {
|
||||
"status": {
|
||||
"type": "string",
|
||||
"example": "Crawl job successfully cancelled."
|
||||
"enum": ["cancelled"],
|
||||
"example": "cancelled"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user