Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions specs/ingestion/common/taskParameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ sourceID:
items:
$ref: './schemas/common.yml#/sourceID'

sourceType:
name: sourceType
in: query
description: Filters the tasks with the specified source type.
required: false
style: form
explode: false
schema:
type: array
items:
$ref: './schemas/source.yml#/SourceType'
example: json,commercetools

destinationID:
name: destinationID
in: query
Expand Down
1 change: 1 addition & 0 deletions specs/ingestion/paths/tasks/v2/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ get:
- $ref: '../../../common/taskParameters.yml#/action'
- $ref: '../../../common/taskParameters.yml#/enabled'
- $ref: '../../../common/taskParameters.yml#/sourceID'
- $ref: '../../../common/taskParameters.yml#/sourceType'
- $ref: '../../../common/taskParameters.yml#/destinationID'
- $ref: '../../../common/taskParameters.yml#/triggerType'
- $ref: '../../../common/taskParameters.yml#/sort'
Expand Down
Loading