Skip to content

Commit

Permalink
Added endpoint for cancelling a job
Browse files Browse the repository at this point in the history
  • Loading branch information
janvanmansum committed Jan 2, 2025
1 parent 4c4aa07 commit 9618429
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/main/openapi/dd-dataverse-ingest-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,33 @@ paths:
items:
$ref: '#/components/schemas/ImportJobStatus'

/ingest/cancel:
post:
parameters:
- name: path
in: query
description: The path of the job to cancel
required: false
schema:
type: string
format: path
- name: migration
in: query
description: Whether this is a migration import from EASY
required: false
schema:
type: boolean
summary: Cancel an ingest job
responses:
'202':
description: Accepted
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ImportJobStatus'

components:
schemas:
ImportCommand:
Expand Down

0 comments on commit 9618429

Please sign in to comment.