@@ -355,29 +355,6 @@ paths:
|
||||
"400":
|
||||
description: Invalid request body.
|
||||
|
||||
/job/export:
|
||||
post:
|
||||
operationId: triggerExport
|
||||
tags:
|
||||
- ExportService
|
||||
summary: Trigger an export
|
||||
description: Initiates the export process.
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ExportTrigger"
|
||||
responses:
|
||||
"201":
|
||||
description: Export triggered successfully.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/IdMessage"
|
||||
"400":
|
||||
description: Invalid request body.
|
||||
|
||||
/job/{id}/export:
|
||||
parameters:
|
||||
- in: path
|
||||
@@ -402,6 +379,27 @@ paths:
|
||||
$ref: "#/components/schemas/ExportDetails"
|
||||
"400":
|
||||
description: Invalid body.
|
||||
post:
|
||||
operationId: triggerExport
|
||||
tags:
|
||||
- ExportService
|
||||
summary: Trigger an export
|
||||
description: Initiates the export process.
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ExportTrigger"
|
||||
responses:
|
||||
"201":
|
||||
description: Export triggered successfully.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/IdMessage"
|
||||
"400":
|
||||
description: Invalid request body.
|
||||
|
||||
components:
|
||||
schemas:
|
||||
@@ -717,10 +715,6 @@ components:
|
||||
ExportTrigger:
|
||||
type: object
|
||||
properties:
|
||||
job_id:
|
||||
type: string
|
||||
format: uuid
|
||||
description: The job id of the query results to be exported.
|
||||
ingestion_filters:
|
||||
type: object
|
||||
description: Filter the scope based on ingestion parameters.
|
||||
@@ -737,8 +731,6 @@ components:
|
||||
items:
|
||||
$ref: "#/components/schemas/FieldFilter"
|
||||
description: Payload for triggering an export.
|
||||
required:
|
||||
- job_id
|
||||
|
||||
FieldFilter:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user