diff --git a/specs/ingestion/common/taskParameters.yml b/specs/ingestion/common/taskParameters.yml index 11783e9bfd..f455216fcb 100644 --- a/specs/ingestion/common/taskParameters.yml +++ b/specs/ingestion/common/taskParameters.yml @@ -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 diff --git a/specs/ingestion/paths/tasks/v2/tasks.yml b/specs/ingestion/paths/tasks/v2/tasks.yml index ffc5c6aebb..1eafd687b5 100644 --- a/specs/ingestion/paths/tasks/v2/tasks.yml +++ b/specs/ingestion/paths/tasks/v2/tasks.yml @@ -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'