Merged in feature/export (pull request #91)

export

* export
This commit is contained in:
Michael McGuinness
2025-03-05 19:37:06 +00:00
parent 176f4397c7
commit c78ca26a6f
6 changed files with 245 additions and 241 deletions
+21 -29
View File
@@ -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