Skip to content

Commit 4081d8b

Browse files
committed
feat(tasks): add query params to destination list endpoint
1 parent 5081589 commit 4081d8b

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 destination 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/destination.yml#/DestinationType'
12+
example: search,predict
13+
14+
authenticationID:
15+
name: authenticationID
16+
in: query
17+
description: Which authenticationID the returned destination 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/destinations/destinations.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/destinationParameters.yml#/type'
11+
- $ref: '../../common/destinationParameters.yml#/authenticationID'
1012
responses:
1113
'200':
1214
description: OK

0 commit comments

Comments
 (0)