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
{{ message }}
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
description: Description that will be displayed to the person
118
-
example: 'As the company''s CEO, you must sign this contract'
119
-
required:
120
-
- email
121
-
callback:
122
-
type: string
123
-
description: URL that will receive a POST after the document is signed
124
-
example: 'http://app.test.coop/callback_webhook'
125
-
required:
126
-
- name
127
-
- file
128
-
- users
129
-
required: true
130
-
responses:
131
-
'200':
132
-
description: Success!
133
-
content:
134
-
application/json:
135
-
schema:
136
-
type: object
137
-
properties:
138
-
message:
139
-
type: string
140
-
description: Success message
141
-
example: Success
142
-
data:
143
-
type: object
144
-
properties:
145
-
nodeId:
146
-
type: integer
147
-
description: Node id of a Nextcloud file
148
-
example: 2312
149
-
uuid:
150
-
type: string
151
-
format: uuid
152
-
description: File identifier. It is necessary to keep it because it must be used to update or delete a signature request and will also be used in the callback request.
153
-
'422':
154
-
description: Request failed
155
-
content:
156
-
application/json:
157
-
schema:
158
-
type: object
159
-
properties:
160
-
message:
161
-
type: string
162
-
description: Description of the failure that occurred
163
-
example: User 0 needs an email address
164
-
patch:
165
-
tags:
166
-
- sign
167
-
summary: Updates signatures data
168
-
description: Is necessary to inform the UUID of the file and a list of people
169
-
operationId: signFileDeprecated#updateSign
170
-
security:
171
-
- basicAuth: []
172
-
deprecated: true
173
-
requestBody:
174
-
content:
175
-
application/json:
176
-
schema:
177
-
type: object
178
-
properties:
179
-
uuid:
180
-
type: string
181
-
format: uuid
182
-
description: Received from sign request
183
-
users:
184
-
type: array
185
-
description: Collection of users who must sign the document
description: Description that will be displayed to the person
203
-
example: 'As the company''s CEO, you must sign this contract'
204
-
required:
205
-
- email
206
-
required:
207
-
- uuid
208
-
- users
209
-
required: true
210
-
responses:
211
-
'200':
212
-
description: Success!
213
-
content:
214
-
application/json:
215
-
schema:
216
-
type: object
217
-
properties:
218
-
message:
219
-
type: string
220
-
description: Success message
221
-
example: Success
222
-
data:
223
-
type: object
224
-
properties:
225
-
nodeId:
226
-
type: integer
227
-
description: Node id of a Nextcloud file
228
-
example: 2312
229
-
uuid:
230
-
type: string
231
-
format: uuid
232
-
description: File identifier. It is necessary to keep it because it must be used to update or delete a signature request and will also be used in the callback request.
233
-
'422':
234
-
description: Request failed
235
-
content:
236
-
application/json:
237
-
schema:
238
-
type: object
239
-
properties:
240
-
message:
241
-
type: string
242
-
description: Description of the failure that occurred
@@ -74,7 +74,7 @@ You will receive the fileId or UUID, store this data to create visible elements.
74
74
75
75
### Validate
76
76
77
-
Get data of a specific file, you can use `file_id` or `uuid` on path, both data you will receive after request to `POST /sign/register`
77
+
Get data of a specific file, you can use `file_id` or `uuid` on path, both data you will receive after request to `POST /request-signature`
78
78
79
79
The association between user and file will result on a `fileUserId`. You will need this to sign the document or define the page and coordinates of place that the signature of the user will be filled.
80
80
@@ -120,7 +120,7 @@ curl --request POST \
120
120
#### Update
121
121
PATCH /file/{uuid}/elements/{elementId}
122
122
123
-
The UUID you will receive when you will do a request to `POST /sign/register` and the `fileUserId` is the relation between an user and the file to sign. You can check the `fileUserId` doing a request to /validate
123
+
The UUID you will receive when you will do a request to `POST /request-signature` and the `fileUserId` is the relation between an user and the file to sign. You can check the `fileUserId` doing a request to /validate
124
124
125
125
```bash
126
126
curl --request PATCH \
@@ -165,7 +165,7 @@ You will need change the status of a file from draft to able to sign. When you c
You also can define the relation between the user and the file elements. You can receive the list of elements on validate endpoint and you will need create a relation between the user to sign and the element.
267
+
You also can define the relation between the user and the file elements. You can receive the list of elements on validate endpoint and you will need create a relation between the user to sign and the element.
0 commit comments