Skip to content

Commit da50b36

Browse files
committed
feat(specs): add sourceID query param to task list endpoint
1 parent 6916fb9 commit da50b36

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

specs/ingestion/common/taskParameters.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ action:
1919
$ref: './schemas/task.yml#/ActionType'
2020
example: save,replace
2121

22+
sourceID:
23+
name: sourceID
24+
in: query
25+
description: Which sourceID the returned task should have. Can be a list of string separated with commas.
26+
required: false
27+
style: form
28+
explode: false
29+
schema:
30+
type: array
31+
items:
32+
type: string
33+
2234
destinationID:
2335
name: destinationID
2436
in: query

specs/ingestion/paths/tasks/tasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ get:
99
- $ref: '../../common/parameters.yml#/page'
1010
- $ref: '../../common/taskParameters.yml#/action'
1111
- $ref: '../../common/taskParameters.yml#/enabled'
12+
- $ref: '../../common/taskParameters.yml#/sourceID'
1213
- $ref: '../../common/taskParameters.yml#/destinationID'
1314
- $ref: '../../common/taskParameters.yml#/triggerType'
1415
responses:

0 commit comments

Comments
 (0)