Skip to content

Commit 1bbe9a0

Browse files
committed
fix(specs): add sourceType to listTasks
1 parent 066dd87 commit 1bbe9a0

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

specs/ingestion/common/observabilityParameters.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ runType:
3030
in: query
3131
description: Run type for filtering the list of task runs.
3232
schema:
33-
type: array
34-
items:
35-
$ref: './schemas/run.yml#/RunType'
33+
$ref: './schemas/run.yml#/RunType'
3634

3735
taskID:
3836
name: taskID

specs/ingestion/common/taskParameters.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@ sourceID:
3232
items:
3333
$ref: './schemas/common.yml#/sourceID'
3434

35+
sourceType:
36+
name: sourceType
37+
in: query
38+
description: Filters the tasks with the specified source type.
39+
required: false
40+
style: form
41+
explode: false
42+
schema:
43+
type: array
44+
items:
45+
$ref: './schemas/source.yml#/SourceType'
46+
example: json,commercetools
47+
3548
destinationID:
3649
name: destinationID
3750
in: query

specs/ingestion/paths/tasks/v2/tasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ get:
1414
- $ref: '../../../common/taskParameters.yml#/action'
1515
- $ref: '../../../common/taskParameters.yml#/enabled'
1616
- $ref: '../../../common/taskParameters.yml#/sourceID'
17+
- $ref: '../../../common/taskParameters.yml#/sourceType'
1718
- $ref: '../../../common/taskParameters.yml#/destinationID'
1819
- $ref: '../../../common/taskParameters.yml#/triggerType'
1920
- $ref: '../../../common/taskParameters.yml#/sort'

0 commit comments

Comments
 (0)