Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openapi: add delete endpoints #2099

Merged
merged 2 commits into from
Sep 8, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions spec/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,19 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Dataset'
delete:
operationId: deleteDataset
summary: Soft deletes dataset.
description: Soft deletes dataset. It will be un-deleted if new OpenLineage event containing this dataset comes.
tags:
- Datasets
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Dataset'

/namespaces/{namespace}/datasets/{dataset}/versions/{version}:
parameters:
Expand Down Expand Up @@ -301,6 +314,19 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Job'
delete:
operationId: deleteJob
summary: Soft deletes job.
description: Soft deletes job. It will be un-deleted if new OpenLineage event containing this job comes.
tags:
- Datasets
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Dataset'

/namespaces/{namespace}/jobs:
parameters:
Expand Down