Skip to content

Commit 5081589

Browse files
committed
feat(tasks): add query params to source list endpoint
1 parent 913bc23 commit 5081589

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
type:
2+
name: type
3+
in: query
4+
description: Which type the returned source should have. Can be a list of string separated with commas.
5+
required: false
6+
style: form
7+
explode: false
8+
schema:
9+
type: array
10+
items:
11+
$ref: './schemas/source.yml#/SourceType'
12+
example: commercetools,bigcommerce
13+
14+
authenticationID:
15+
name: authenticationID
16+
in: query
17+
description: Which authenticationID the returned source should have. Can be a list of string separated with commas.
18+
required: false
19+
style: form
20+
explode: false
21+
schema:
22+
type: array
23+
items:
24+
type: string

specs/ingestion/paths/sources/sources.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ get:
77
parameters:
88
- $ref: '../../common/parameters.yml#/itemsPerPage'
99
- $ref: '../../common/parameters.yml#/page'
10+
- $ref: '../../common/sourceParameters.yml#/type'
11+
- $ref: '../../common/sourceParameters.yml#/authenticationID'
1012
responses:
1113
'200':
1214
description: OK

0 commit comments

Comments
 (0)