🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
feat: provide widgets in create document from binary and create template from binary
prafull-opensignlabs9692f57663e9
diff --git a/apps/OpenSignServer/cloud/customRoute/v1/apiV1.js b/apps/OpenSignServer/cloud/customRoute/v1/apiV1.jsindex cf671c8d9..7befaec65 100644--- a/apps/OpenSignServer/cloud/customRoute/v1/apiV1.js+++ b/apps/OpenSignServer/cloud/customRoute/v1/apiV1.js@@ -50,10 +50,10 @@ app.delete('/contact/:contact_id', deleteContact);app.get('/contactlist', getContactList);// create Document-app.post('/createdocumentwithbinary', upload.array('file', 1), createDocument);+app.post('/createdocumentwithbinary', upload.array('file', 1), createDocumentwithCoordinate);// create Document with co-ordinate-app.post('/createdocument', upload.array('file', 1), createDocumentwithCoordinate);+app.post('/createdocument', createDocumentwithCoordinate);// create Document with base64 without placeholderapp.post('/draftdocument', createDocument);@@ -74,13 +74,13 @@ app.delete('/document/:document_id', deleteDocument);app.get('/documentlist/:doctype', getDocumentList);// create Template with co-ordinate-app.post('/createtemplate', upload.array('file', 1), createTemplatewithCoordinate);+app.post('/createtemplate', createTemplatewithCoordinate);// create Templateapp.post('/drafttemplate', createTemplate);// create Template with binary-app.post('/createtemplatewithbinary', upload.array('file', 1), createTemplate);+app.post('/createtemplatewithbinary', upload.array('file', 1), createTemplatewithCoordinate);// get template on the basis of idapp.get('/template/:template_id', getTemplate);