Merged in feature/e2etest (pull request #74)

Feature/e2etest

* e2etest

* testcleanups
This commit is contained in:
Michael McGuinness
2025-02-21 17:05:37 +00:00
parent 3d434eedb8
commit 08d2296717
16 changed files with 654 additions and 79 deletions
+51
View File
@@ -14,6 +14,8 @@ tags:
description: Operations related to jobs
- name: JobCollectorService
description: Operations related to job collectors
- name: JobDocumentsService
description: Operations related to job documents
- name: QueryService
description: Operations related to queries
- name: ExportService
@@ -319,6 +321,31 @@ paths:
"404":
description: Job collector not found.
/job/{id}/documents:
parameters:
- in: path
name: id
required: true
schema:
type: string
format: uuid
description: The job ID for the documents.
get:
operationId: listDocumentsByJobId
tags:
- JobDocumentsService
summary: List the documents for a job
description: Retrieves the list of documents by the job ID.
responses:
"200":
description: Job documents list.
content:
application/json:
schema:
$ref: "#/components/schemas/ListDocuments"
"404":
description: Job not found.
/job/export:
post:
operationId: triggerExport
@@ -543,6 +570,30 @@ components:
type: boolean
description: Specifies whether the job is actively syncing
ListDocuments:
type: array
description: The documents in the job.
items:
$ref: "#/components/schemas/Document"
Document:
type: object
properties:
id:
type: string
format: uuid
description: The document id
bucket:
type: string
description: The bucket containing the document
key:
type: string
description: The path to the document
required:
- id
- bucket
- key
ClientCreate:
type: object
properties: