You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: identification.yml
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,9 @@ components:
61
61
name:
62
62
type: string
63
63
description: "Person's name."
64
+
externalId:
65
+
type: string
66
+
description: "Person's ID, used for linking search results to an ID in an external system. Can be set when creating a Person, stored in the database, and included in the search to return only Persons with the specified ID. Optional."
64
67
metadata:
65
68
type: object
66
69
additionalProperties: true
@@ -75,6 +78,9 @@ components:
75
78
type: object
76
79
description: "Person Request body: name and metadata."
77
80
properties:
81
+
externalId:
82
+
type: string
83
+
description: "Person's ID, used for linking search results to an ID in an external system. Can be set when creating a Person, stored in the database, and included in the search to return only Persons with the specified ID. Optional."
Copy file name to clipboardExpand all lines: liveness.yml
+31-3Lines changed: 31 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,22 @@ paths:
7
7
get:
8
8
tags:
9
9
- liveness 2.0
10
-
summary: Liveness assessment
10
+
summary: 'liveness check'
11
+
description: "To verify the presence of a real person in front of a camera, use the GET `/api/v2/liveness` endpoint. When starting, you can specify `tag` which all attempts to read liveness will be bound to. If left unspecified, the application automatically generates one. The calling application returns `tag` and `transactionId`. One session may include many transactions, and from a transaction ID it is clear which session it belongs to.
12
+
13
+
14
+
When specifying `tag`, note that only Latin uppercase and lowercase letters, digits, and symbols `-` and `_` are allowed. The maximum supported number of characters is 127.
15
+
16
+
17
+
The metadata (device model, screen data, frame size, app ID and version, OS version, platform, SDK version, etc.), a person's selfie and video of the liveness detection session are stored on the backend at:
By default, liveness checks operate with eventual consistency. This means that when you submit a request and receive a response, the associated data (like the selfie and session video) may be saved after the response is sent. If this doesn't meet your requirements, you can switch to strong consistency; refer to the [Architecture page](https://docs.regulaforensics.com/develop/face-sdk/overview/architecture/#consistency-models) for details.
22
+
23
+
24
+
To access the liveness transaction data, use GET `/api/v2/liveness?transactionId={transactionId}`.
25
+
"
11
26
operationId: get_liveness_transaction_info
12
27
responses:
13
28
200:
@@ -24,11 +39,11 @@ components:
24
39
properties:
25
40
code:
26
41
type: integer
27
-
description: "Result code, one of the FaceSDKResultCode enum values. See the enum: https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/face-sdk-result-code/"
42
+
description: "Result code, see the [FaceSDKResultCode enum](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/face-sdk-result-code/)."
28
43
status:
29
44
type: integer
30
45
default: null
31
-
description: "Whether the liveness detection is confirmed (0) or not (1)."
46
+
description: "Whether the liveness detection is confirmed `0` or not `1`."
32
47
tag:
33
48
type: string
34
49
description: "Session identificator, should be unique for each session."
@@ -51,3 +66,16 @@ components:
51
66
type: object
52
67
additionalProperties: true
53
68
description: "A free-form object containing person's extended attributes."
69
+
type:
70
+
$ref: "#/components/schemas/LivenessType"
71
+
72
+
LivenessType:
73
+
type: integer
74
+
description: "Liveness detection can be performed in two modes: active `0` and passive `1`. [Learn more](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/liveness/#active-and-passive-modes)"
Copy file name to clipboardExpand all lines: search.yml
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,36 @@ definitions:
59
59
items:
60
60
type: string
61
61
format: uuid
62
+
filter:
63
+
$ref: '#/definitions/FilterSearchRequest'
64
+
65
+
FilterSearchRequest:
66
+
type: object
67
+
description: "Allows to filter the search results based on the Person's `name`. If enabled, only the search results that meet the filter condition will be returned."
68
+
properties:
69
+
op:
70
+
$ref: '#/definitions/FilterOp'
71
+
field:
72
+
type: string
73
+
description: "`name` of the Person."
74
+
value:
75
+
type: array
76
+
description: "The list of `name` values against which the `field` is compared."
77
+
items:
78
+
type: string
79
+
80
+
FilterOp:
81
+
type: string
82
+
description: "The filter condition, determines the type of comparison to be performed on the `name` values of the Person entity. <br><br>When set to `in`,
83
+
the `name` values of the Person should match any of the values specified in the `value` list. <br><br>When set to `nin`,
84
+
the `name` values of the Person should not match any of the values specified in the `value` list."
0 commit comments