Skip to content

Commit 1112f55

Browse files
Merge pull request #30 from rarimo/feature/deprecate_light_flow
Added a deprecation notice to the light verification flow endpoints
2 parents 2da1e7a + 76cd7a8 commit 1112f55

6 files changed

Lines changed: 29 additions & 6 deletions

docs/spec/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ paths:
2323
$ref: "#/headers/Rate-Limit-Limit"
2424
```
2525
26+
## Deprecation Notice
27+
28+
**The light verification flow is deprecated and will be removed in a future version.**
29+
All endpoints under the path `/integrations/verificator-svc/light/` are affected by this deprecation.
30+
Please use the full verification flow instead.

docs/spec/paths/integrations@verificator-svc@light@private@user@{user_id}.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
delete:
22
tags:
3-
- Light User verification
3+
- Light User verification[DEPRECATED]
44
summary: Delete user
55
description: |
6+
DEPRECATED: The light verification flow is deprecated and will be removed in a future version. Please use the full verification flow instead.
7+
68
Delete user by UserID.
9+
deprecated: true
710
operationId: deleteUser
811
parameters:
912
- $ref: '#/components/parameters/pathID'
@@ -18,10 +21,13 @@ delete:
1821
$ref: '#/components/responses/internalError'
1922
get:
2023
tags:
21-
- Light User verification
24+
- Light User verification[DEPRECATED]
2225
summary: Get user
2326
description: |
27+
DEPRECATED: The light verification flow is deprecated and will be removed in a future version. Please use the full verification flow instead.
28+
2429
Get information about user by UserID
30+
deprecated: true
2531
operationId: getUser
2632
parameters:
2733
- $ref: '#/components/parameters/pathID'

docs/spec/paths/integrations@verificator-svc@light@private@verification-link.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
post:
22
tags:
3-
- Light User verification
3+
- Light User verification[DEPRECATED]
44
summary: Request verification links for qr-code generation
55
description: |
6+
DEPRECATED: The light verification flow is deprecated and will be removed in a future version. Please use the full verification flow instead.
7+
68
Requests verification links for user to generate qr-code, returns: get_proof_params.
9+
deprecated: true
710
operationId: getVerificationLink
811
requestBody:
912
required: true

docs/spec/paths/integrations@verificator-svc@light@private@verification-status@{user_id}.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
get:
22
tags:
3-
- Light User verification
3+
- Light User verification[DEPRECATED]
44
summary: Get user verification status
55
description: |
6+
DEPRECATED: The light verification flow is deprecated and will be removed in a future version. Please use the full verification flow instead.
7+
68
Get user verification status by UserID.
9+
deprecated: true
710
operationId: getUserStatus
811
parameters:
912
- $ref: '#/components/parameters/pathID'

docs/spec/paths/integrations@verificator-svc@light@public@callback-sign@{user_id_hash}.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
post:
22
tags:
3-
- Light Signature
3+
- Light Signature[DEPRECATED]
44
summary: Receive signature and message by callback(mobile)
55
description: >-
6+
DEPRECATED: The light verification flow is deprecated and will be removed in a future version. Please use the full verification flow instead.
7+
68
It receives the signature and message for verification by callback url
9+
deprecated: true
710
operationId: receiveSignatureByCallback
811
parameters:
912
- $ref: '#/components/parameters/pathIDHash'

docs/spec/paths/integrations@verificator-svc@light@public@proof-params@{user_id_hash}.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
get:
22
tags:
3-
- Light Signature
3+
- Light Signature[DEPRECATED]
44
summary: Get Proof Parameters(mobile)
55
description: |
6+
DEPRECATED: The light verification flow is deprecated and will be removed in a future version. Please use the full verification flow instead.
7+
68
Get proof parameters by userIDHash, returns: proof-params and callback_url.
9+
deprecated: true
710
operationId: getProofParameters
811
parameters:
912
- $ref: '#/components/parameters/pathIDHash'

0 commit comments

Comments
 (0)