Skip to content

Commit

Permalink
add get for dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
David Wiessner committed Nov 21, 2024
1 parent 0002f30 commit 40380f5
Showing 1 changed file with 53 additions and 1 deletion.
54 changes: 53 additions & 1 deletion api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,25 @@ tags:

paths:
/dataset:
get:
tags:
- dataset
summary: Get the available datasets.
description: Retrieve the folder structure of the available datasets.
operationId: DatasetController_getDataset
responses:
"200":
description: Dataset successfully retrieved.
content:
application/json:
schema:
$ref: "#/components/schemas/IngestorUiGetDatasetResponse"
"400":
description: Invalid request
content:
text/plain:
schema:
type: string
post:
tags:
- dataset
Expand Down Expand Up @@ -129,6 +148,12 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/IngestorUiOtherHealthResponse"
"400":
description: Invalid request
content:
text/plain:
schema:
type: string
/version:
get:
tags:
Expand All @@ -143,6 +168,12 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/IngestorUiOtherVersionResponse"
"400":
description: Invalid request
content:
text/plain:
schema:
type: string
/extractor:
get:
tags:
Expand All @@ -157,6 +188,12 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/IngestorUiOtherVersionResponse"
"400":
description: Invalid request
content:
text/plain:
schema:
type: string
post:
tags:
- extractor
Expand Down Expand Up @@ -290,7 +327,7 @@ components:
$ref: "#/components/schemas/IngestorUiGetExtractorItem"
total:
type: integer
description: Total number of transfers.
description: Total number of extractors.
IngestorUiPostExtractionRequest:
type: object
properties:
Expand All @@ -306,3 +343,18 @@ components:
schema:
type: string
description: Schema which belongs to an extractor method.
IngestorUiGetDatasetItem:
type: object
properties:
dataset:
type: string
IngestorUiGetDatasetResponse:
type: object
properties:
datasets:
type: array
items:
$ref: "#/components/schemas/IngestorUiGetDatasetItem"
total:
type: integer
description: Total number of datasets.

0 comments on commit 40380f5

Please sign in to comment.