Skip to content

Commit

Permalink
Added get-import-status
Browse files Browse the repository at this point in the history
  • Loading branch information
janvanmansum committed Nov 10, 2024
1 parent f161215 commit 63a67c9
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/main/openapi/dd-dataverse-ingest-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,25 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ImportJobStatus'
get:
parameters:
- name: path
in: query
description: The path to the deposit or deposit batch
required: false
schema:
type: string
format: path
summary: Get the status of all ingest jobs or a specific job
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ImportJobStatus'

components:
schemas:
Expand Down Expand Up @@ -95,5 +114,5 @@ components:
enum:
- PENDING
- RUNNING
- SUCCESS
- DONE
- FAILED

0 comments on commit 63a67c9

Please sign in to comment.