Skip to content

Commit e7f5670

Browse files
42188 - add match and search imageUrl, threshold, limit
1 parent ca6ed63 commit e7f5670

1 file changed

Lines changed: 35 additions & 27 deletions

File tree

match_and_search.yml

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -27,34 +27,42 @@ paths:
2727
components:
2828
schemas:
2929
MatchAndSearchRequest:
30-
allOf:
31-
- type: object
32-
properties:
33-
tag:
34-
type: string
35-
description: "Session identificator, should be unique for each session."
36-
images:
37-
type: array
38-
description: "Person's images."
39-
items:
40-
type: object
41-
properties:
42-
content:
43-
$ref: './common.yml#/components/schemas/ImageData'
44-
type:
45-
$ref: './match.yml#/components/schemas/ImageSource'
46-
groupIds:
47-
type: array
48-
description: "IDs of the groups in which the search is performed."
49-
items:
30+
type: object
31+
properties:
32+
tag:
33+
type: string
34+
description: "Session identificator, should be unique for each session."
35+
images:
36+
type: array
37+
description: "Person's images."
38+
items:
39+
type: object
40+
properties:
41+
content:
42+
$ref: './common.yml#/components/schemas/ImageData'
43+
imageUrl:
44+
description: "Image URL."
5045
type: string
51-
format: uuid
52-
tenant:
53-
type: string
54-
description: "Customer name"
55-
env:
56-
type: string
57-
description: "Environment type"
46+
type:
47+
$ref: './match.yml#/components/schemas/ImageSource'
48+
groupIds:
49+
type: array
50+
description: "IDs of the groups in which the search is performed."
51+
items:
52+
type: string
53+
format: uuid
54+
threshold:
55+
description: "The similarity threshold."
56+
type: number
57+
limit:
58+
description: "The maximum number of results to be returned."
59+
type: integer
60+
tenant:
61+
type: string
62+
description: "Customer name"
63+
env:
64+
type: string
65+
description: "Environment type"
5866

5967
MatchAndSearchResponse:
6068
allOf:

0 commit comments

Comments
 (0)