Add Update Contact API to opensign.yaml

Added Update Contact API to modify contact details with appropriate request and response schemas.
This commit is contained in:
Raktima
2026-06-26 17:25:06 +05:30
committed by GitHub
parent f855fa69c1
commit 5384c8dea8
+64
View File
@@ -304,6 +304,55 @@ paths:
$ref: '#/components/schemas/invalidtoken'
security:
- x-api-token: []
put:
tags:
- Contact
summary: Update Contact
description: The Update Contact API enables you to modify and update the details of a specific Contact.
operationId: updateContact
parameters:
- name: contact_id
in: path
description: objectId of contact
required: true
style: simple
explode: false
schema:
type: string
format: string
requestBody:
description: Provide the fields you wish to update. Any fields omitted from the request will remain unchanged.
content:
application/json:
schema:
$ref: '#/components/schemas/contact'
responses:
"200":
description: Contact updated successfully!
content:
application/json:
schema:
$ref: '#/components/schemas/inline_response_200_5'
"400":
description: Please provide valid field names!
content:
application/json:
schema:
$ref: '#/components/schemas/inline_response_400'
"404":
description: Contact not found!
content:
application/json:
schema:
$ref: '#/components/schemas/inline_response_404_7'
"405":
description: Invalid API Token!
content:
application/json:
schema:
$ref: '#/components/schemas/invalidtoken'
security:
- x-api-token: []
delete:
tags:
- Contacts
@@ -6377,6 +6426,11 @@ components:
- viewer
- approver
example: signer
access_code:
type: number
format: number
description: "Optional numeric access code required for the signer to access and sign the document."
example: 123456
widgets:
type: array
items:
@@ -7107,6 +7161,11 @@ components:
- viewer
- approver
example: signer
access_code:
type: number
format: number
description: "Optional numeric access code required for the signer to access and sign the document."
example: 123456
widgets:
type: array
items:
@@ -7184,6 +7243,11 @@ components:
- viewer
- approver
example: signer
access_code:
type: number
format: number
description: "Optional numeric access code required for the signer to access and sign the document."
example: 123456
widgets:
type: array
items: