Skip to content

Commit 1cd42eb

Browse files
algolia-botpipeline1987Fluf22
committed
feat(specs): delete crawler logs endpoint (#5765) (generated) [skip ci]
Co-authored-by: Felipe Bermudez <[email protected]> Co-authored-by: Thomas Raffray <[email protected]>
1 parent c2a2503 commit 1cd42eb

File tree

3 files changed

+140
-0
lines changed

3 files changed

+140
-0
lines changed

docs/bundled/crawler.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,66 @@
774774
}
775775
}
776776
},
777+
"/1/crawlers/{id}/delete_runs": {
778+
"post": {
779+
"operationId": "deleteCrawlRun",
780+
"summary": "Crawler run record deletion",
781+
"description": "The Crawler Logs file allows you to monitor and debug your crawler’s activity by recording\ndetailed logs for each crawl run. This delete the existing crawler log record, not the actual crawler.\n",
782+
"tags": [
783+
"crawlers"
784+
],
785+
"x-acl": [
786+
"settings"
787+
],
788+
"parameters": [
789+
{
790+
"$ref": "#/components/parameters/CrawlerIdParameter"
791+
}
792+
],
793+
"requestBody": {
794+
"content": {
795+
"application/json": {
796+
"schema": {
797+
"title": "crawlerLogIds",
798+
"type": "array",
799+
"items": [
800+
{
801+
"$ref": "#/components/schemas/CrawlerLogID"
802+
}
803+
]
804+
}
805+
}
806+
}
807+
},
808+
"responses": {
809+
"200": {
810+
"description": "OK",
811+
"content": {
812+
"application/json": {
813+
"schema": {
814+
"title": "deletedCrawlerLogIds",
815+
"type": "array",
816+
"items": [
817+
{
818+
"$ref": "#/components/schemas/CrawlerLogID"
819+
}
820+
]
821+
}
822+
}
823+
}
824+
},
825+
"400": {
826+
"$ref": "#/components/responses/InvalidRequest"
827+
},
828+
"401": {
829+
"$ref": "#/components/responses/MissingAuthorization"
830+
},
831+
"403": {
832+
"$ref": "#/components/responses/NoRightsOnCrawler"
833+
}
834+
}
835+
}
836+
},
777837
"/1/crawlers/{id}/config": {
778838
"patch": {
779839
"operationId": "patchConfig",

docs/bundled/crawler.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,46 @@ paths:
659659
$ref: '#/components/responses/MissingAuthorization'
660660
'403':
661661
$ref: '#/components/responses/NoRightsOnCrawler'
662+
/1/crawlers/{id}/delete_runs:
663+
post:
664+
operationId: deleteCrawlRun
665+
summary: Crawler run record deletion
666+
description: >
667+
The Crawler Logs file allows you to monitor and debug your crawler’s
668+
activity by recording
669+
670+
detailed logs for each crawl run. This delete the existing crawler log
671+
record, not the actual crawler.
672+
tags:
673+
- crawlers
674+
x-acl:
675+
- settings
676+
parameters:
677+
- $ref: '#/components/parameters/CrawlerIdParameter'
678+
requestBody:
679+
content:
680+
application/json:
681+
schema:
682+
title: crawlerLogIds
683+
type: array
684+
items:
685+
- $ref: '#/components/schemas/CrawlerLogID'
686+
responses:
687+
'200':
688+
description: OK
689+
content:
690+
application/json:
691+
schema:
692+
title: deletedCrawlerLogIds
693+
type: array
694+
items:
695+
- $ref: '#/components/schemas/CrawlerLogID'
696+
'400':
697+
$ref: '#/components/responses/InvalidRequest'
698+
'401':
699+
$ref: '#/components/responses/MissingAuthorization'
700+
'403':
701+
$ref: '#/components/responses/NoRightsOnCrawler'
662702
/1/crawlers/{id}/config:
663703
patch:
664704
operationId: patchConfig

specs/bundled/crawler.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,46 @@ paths:
659659
$ref: '#/components/responses/MissingAuthorization'
660660
'403':
661661
$ref: '#/components/responses/NoRightsOnCrawler'
662+
/1/crawlers/{id}/delete_runs:
663+
post:
664+
operationId: deleteCrawlRun
665+
summary: Crawler run record deletion
666+
description: >
667+
The Crawler Logs file allows you to monitor and debug your crawler’s
668+
activity by recording
669+
670+
detailed logs for each crawl run. This delete the existing crawler log
671+
record, not the actual crawler.
672+
tags:
673+
- crawler
674+
x-acl:
675+
- settings
676+
parameters:
677+
- $ref: '#/components/parameters/CrawlerIdParameter'
678+
requestBody:
679+
content:
680+
application/json:
681+
schema:
682+
title: crawlerLogIds
683+
type: array
684+
items:
685+
- $ref: '#/components/schemas/CrawlerLogID'
686+
responses:
687+
'200':
688+
description: OK
689+
content:
690+
application/json:
691+
schema:
692+
title: deletedCrawlerLogIds
693+
type: array
694+
items:
695+
- $ref: '#/components/schemas/CrawlerLogID'
696+
'400':
697+
$ref: '#/components/responses/InvalidRequest'
698+
'401':
699+
$ref: '#/components/responses/MissingAuthorization'
700+
'403':
701+
$ref: '#/components/responses/NoRightsOnCrawler'
662702
/1/crawlers/{id}/config:
663703
patch:
664704
operationId: patchConfig

0 commit comments

Comments
 (0)