Skip to content

Commit 54d0e58

Browse files
openapi: add delete endpoints (#2099)
Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com> Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com> Co-authored-by: Willy Lulciuc <willy@datakin.com>
1 parent 4b09c74 commit 54d0e58

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

spec/openapi.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,19 @@ paths:
164164
application/json:
165165
schema:
166166
$ref: '#/components/schemas/Dataset'
167+
delete:
168+
operationId: deleteDataset
169+
summary: Soft deletes dataset.
170+
description: Soft deletes dataset. It will be un-deleted if new OpenLineage event containing this dataset comes.
171+
tags:
172+
- Datasets
173+
responses:
174+
'200':
175+
description: OK
176+
content:
177+
application/json:
178+
schema:
179+
$ref: '#/components/schemas/Dataset'
167180

168181
/namespaces/{namespace}/datasets/{dataset}/versions/{version}:
169182
parameters:
@@ -301,6 +314,19 @@ paths:
301314
application/json:
302315
schema:
303316
$ref: '#/components/schemas/Job'
317+
delete:
318+
operationId: deleteJob
319+
summary: Soft deletes job.
320+
description: Soft deletes job. It will be un-deleted if new OpenLineage event containing this job comes.
321+
tags:
322+
- Datasets
323+
responses:
324+
'200':
325+
description: OK
326+
content:
327+
application/json:
328+
schema:
329+
$ref: '#/components/schemas/Dataset'
304330

305331
/namespaces/{namespace}/jobs:
306332
parameters:

0 commit comments

Comments
 (0)