Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit b79fa9d

Browse files
authored
Merge pull request #13 from LibreSign/feature/add-support-to-identify-method
Add support to identify method
2 parents ddbabd3 + fc5d2c2 commit b79fa9d

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

site/.vuepress/public/specs/api.yaml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2591,6 +2591,16 @@ components:
25912591
type: string
25922592
description: Description that will be displayed to the person
25932593
example: 'As the company''s CEO, you must sign this contract'
2594+
identify:
2595+
type: string
2596+
default: nextcloud
2597+
example: nextcloud
2598+
description: 'When is requested to a person to sign a file, is necessary identify what is the identification method. The identification method is used to define how will be the sign flow.'
2599+
enum:
2600+
- nextcloud
2601+
- email-link
2602+
- email-token
2603+
- sms-token
25942604
accountSettings:
25952605
type: object
25962606
properties:
@@ -2669,11 +2679,8 @@ components:
26692679
- 0
26702680
- 1
26712681
- 2
2672-
description: >
2673-
Numeric code of status
2674-
* 0 - no signers
2675-
* 1 - signed
2676-
* 2 - pending
2682+
description: |
2683+
Numeric code of status * 0 - no signers * 1 - signed * 2 - pending
26772684
example: 1
26782685
status_text:
26792686
type: string
@@ -2734,7 +2741,7 @@ components:
27342741
sign_uuid:
27352742
type: string
27362743
format: uuid
2737-
description: Received from sign request, only returned when me=true
2744+
description: 'Received from sign request, only returned when me=true'
27382745
displayName:
27392746
type: string
27402747
nullable: true
@@ -2763,6 +2770,17 @@ components:
27632770
pattern: '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}'
27642771
description: Date the signature was requested
27652772
example: '2021-12-31 22:45:50'
2773+
identify:
2774+
type: string
2775+
nullable: true
2776+
default: nextcloud
2777+
example: nextcloud
2778+
description: 'When is requested to a person to sign a file, is necessary identify what is the identification method. The identification method is used to define how will be the sign flow.'
2779+
enum:
2780+
- nextcloud
2781+
- email-link
2782+
- email-token
2783+
- sms-token
27662784
fileUserId:
27672785
type: integer
27682786
description: ID of relation between file and user. Each relation between file and user has an ID that is returned on validation endpoints.

0 commit comments

Comments
 (0)