From 5a1a90a3cbb70a5b0ecc1175f542fbd3cfd8af59 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 05:55:09 +0000 Subject: [PATCH] deploy: 85b463f0e0a465afcd3f55cad1faadd53dbb1a09 --- 404.html | 2 +- assets/js/05632a52.72ce6921.js | 1 + assets/js/05632a52.ff3f50af.js | 1 - assets/js/1f73ca32.6b4bf0ac.js | 1 + assets/js/1f73ca32.6dd96ce6.js | 1 - assets/js/2c586be5.1277174c.js | 1 + assets/js/2c586be5.d853e169.js | 1 - assets/js/377084eb.96f0357e.js | 1 - assets/js/377084eb.9a14b681.js | 1 + assets/js/52d5c0f9.2021ef58.js | 1 + assets/js/52d5c0f9.296814e0.js | 1 - assets/js/5a2de241.5942955c.js | 1 + assets/js/5a2de241.652d37f8.js | 1 - assets/js/770b40a9.5dce35a3.js | 1 - assets/js/770b40a9.795c8a7a.js | 1 + assets/js/7b076186.36b0ee4c.js | 1 + assets/js/7b076186.e9e2536a.js | 1 - assets/js/8a725248.7a441f87.js | 1 + assets/js/8a725248.ace1ce06.js | 1 - assets/js/935f2afb.73e99a0e.js | 1 - assets/js/935f2afb.b2bc89d2.js | 1 + assets/js/a2bc1463.87a05c5b.js | 1 - assets/js/a2bc1463.96daf7b3.js | 1 + assets/js/a88a3db3.3e8883fd.js | 1 + assets/js/a88a3db3.b6ccaf5d.js | 1 - assets/js/bbdfc22d.c9a8cf21.js | 1 - assets/js/bbdfc22d.ec04bb2d.js | 1 + assets/js/bfe4b778.900b9b57.js | 1 - assets/js/bfe4b778.edb497d1.js | 1 + assets/js/f0ff4a36.37f7ec3b.js | 1 - assets/js/f0ff4a36.d8bbcdae.js | 1 + ...ntime~main.a2522a07.js => runtime~main.29615506.js} | 2 +- blog/archive/index.html | 2 +- blog/first-blog-post/index.html | 2 +- blog/index.html | 2 +- blog/long-blog-post/index.html | 2 +- blog/mdx-blog-post/index.html | 2 +- blog/tags/docusaurus/index.html | 2 +- blog/tags/facebook/index.html | 2 +- blog/tags/hello/index.html | 2 +- blog/tags/hola/index.html | 2 +- blog/tags/index.html | 2 +- blog/welcome/index.html | 2 +- docs/API-docs/contactlist/index.html | 9 +++++---- docs/API-docs/createcontact/index.html | 10 +++++----- docs/API-docs/createdocument/index.html | 6 +++--- docs/API-docs/createtemplate/index.html | 6 +++--- docs/API-docs/delete-template/index.html | 6 +++--- docs/API-docs/deletecontact/index.html | 8 ++++---- docs/API-docs/deletedocument/index.html | 6 +++--- docs/API-docs/get-template/index.html | 5 +++-- docs/API-docs/get-user/index.html | 6 +++--- docs/API-docs/getcontact/index.html | 10 +++++----- docs/API-docs/getdocument/index.html | 6 +++--- docs/API-docs/getdocumentlist/index.html | 2 +- docs/API-docs/gettemplatelist/index.html | 6 +++--- docs/API-docs/intro/index.html | 2 +- docs/API-docs/opensign-api-v-1/index.html | 2 +- docs/API-docs/update-document/index.html | 8 ++++---- docs/API-docs/update-template/index.html | 8 ++++---- docs/category/tutorial---basics/index.html | 2 +- docs/category/tutorial---extras/index.html | 2 +- docs/contribute/CODE_OF_CONDUCT/index.html | 2 +- docs/contribute/COMMUNITY/index.html | 2 +- docs/contribute/INSTALLATION/index.html | 2 +- docs/contribute/REPORTING_GUIDELINES/index.html | 2 +- docs/contribute/intro/index.html | 2 +- docs/help/New-Document/request-signatures/index.html | 2 +- docs/help/New-Document/sign-yourself/index.html | 2 +- docs/help/intro/index.html | 2 +- docs/intro/index.html | 2 +- docs/self-host/intro/index.html | 2 +- .../tutorial-basics/congratulations/index.html | 2 +- .../tutorial-basics/create-a-blog-post/index.html | 2 +- .../tutorial-basics/create-a-document/index.html | 2 +- .../self-host/tutorial-basics/create-a-page/index.html | 2 +- .../tutorial-basics/deploy-your-site/index.html | 2 +- .../tutorial-basics/markdown-features/index.html | 2 +- .../tutorial-extras/manage-docs-versions/index.html | 2 +- .../tutorial-extras/translate-your-site/index.html | 2 +- index.html | 2 +- markdown-page/index.html | 2 +- 82 files changed, 104 insertions(+), 102 deletions(-) create mode 100644 assets/js/05632a52.72ce6921.js delete mode 100644 assets/js/05632a52.ff3f50af.js create mode 100644 assets/js/1f73ca32.6b4bf0ac.js delete mode 100644 assets/js/1f73ca32.6dd96ce6.js create mode 100644 assets/js/2c586be5.1277174c.js delete mode 100644 assets/js/2c586be5.d853e169.js delete mode 100644 assets/js/377084eb.96f0357e.js create mode 100644 assets/js/377084eb.9a14b681.js create mode 100644 assets/js/52d5c0f9.2021ef58.js delete mode 100644 assets/js/52d5c0f9.296814e0.js create mode 100644 assets/js/5a2de241.5942955c.js delete mode 100644 assets/js/5a2de241.652d37f8.js delete mode 100644 assets/js/770b40a9.5dce35a3.js create mode 100644 assets/js/770b40a9.795c8a7a.js create mode 100644 assets/js/7b076186.36b0ee4c.js delete mode 100644 assets/js/7b076186.e9e2536a.js create mode 100644 assets/js/8a725248.7a441f87.js delete mode 100644 assets/js/8a725248.ace1ce06.js delete mode 100644 assets/js/935f2afb.73e99a0e.js create mode 100644 assets/js/935f2afb.b2bc89d2.js delete mode 100644 assets/js/a2bc1463.87a05c5b.js create mode 100644 assets/js/a2bc1463.96daf7b3.js create mode 100644 assets/js/a88a3db3.3e8883fd.js delete mode 100644 assets/js/a88a3db3.b6ccaf5d.js delete mode 100644 assets/js/bbdfc22d.c9a8cf21.js create mode 100644 assets/js/bbdfc22d.ec04bb2d.js delete mode 100644 assets/js/bfe4b778.900b9b57.js create mode 100644 assets/js/bfe4b778.edb497d1.js delete mode 100644 assets/js/f0ff4a36.37f7ec3b.js create mode 100644 assets/js/f0ff4a36.d8bbcdae.js rename assets/js/{runtime~main.a2522a07.js => runtime~main.29615506.js} (62%) diff --git a/404.html b/404.html index 9ca60d9bc..ce1362613 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ Page Not Found | OpenSign™ - + diff --git a/assets/js/05632a52.72ce6921.js b/assets/js/05632a52.72ce6921.js new file mode 100644 index 000000000..de723d2fd --- /dev/null +++ b/assets/js/05632a52.72ce6921.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[4651],{97717:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>g,contentTitle:()=>x,default:()=>b,frontMatter:()=>u,metadata:()=>j,toc:()=>f});var t=s(85893),l=s(11151),i=s(58219),n=(s(62316),s(51039)),c=s.n(n),r=(s(82723),s(9487)),o=s(41429),d=s(5397),m=s(4667),p=s(9472),h=s(85162);const u={id:"getcontact",title:"Get contact",description:"The Get Contact API allows you to retrieve details about a specific contact.",sidebar_label:"Get contact",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1r40YQ/ivb+XQB2ZId35WKUi4cIQ13XEKdUmhiwkoaW5tIu3u7K8fG6L+XWUm2HDttc4QDY1u78/LM26PZgOMLC/EtfFLS8dRZmAWQoU2N0E4oCTHc5Mgu0LFWgp1dXzJeFOrJsrWqmFPMoDMCl8gydFwUlvFEVY5xZjWmYi5Slja6QwhAaTScTF9mEMMCXXsHAWhueIkODSHagOQlQgyrAddi4NQjSghAEKQceYYGAjD4rRIGM4idqTAA69YF6VhR6gIhAFzpQmUI8ZwXlgTSHEsO8QbcWntJZ4RcQE2i3CvFBFFasZDD1Wq1gjrYQmmh3ousQ6K5y+F5xlTygKm7zJias110b4Y1gLkyJXf9kx14/fsoydNxrhOo6xm5tVpJi5YMjaOIfvbh2ipN0dp5VbBtcSDwwaJ0JM+1LkTqL8IHS0qbQ3RN1FRGQ2acaFx2yXh1HPkoyVfjB021+erz/zoDDwpZgkjq5yUXxXfoJ4gf24NhqkoydZ0r+Wook9HpaOw/ZCI1yB1mZ+6YmZ3SOBqfDkbRIPr5ZvQhnvwSv/8wjKLobwhgVfpo2q7MuPNROuGK/nOlsx/gp34u1nZ8ywV9hW4W6pq0JtHksBc7kpHKsbmqZPbT23UiGqPMv+fiiPu6F4CQhZB4343U/SSa3I+34bw/DOdSLnkhMs+ZN8RgPzacvnvXuD+sl2iEGoLdC7Z/3gRpMa2McGvPz31ijm9nRDYluly1vO4J3eUQQ9gWPtzsCLQGsmaWHdlXpiBid07bOAyt4wshFwOu9bBj44InlqYw5FqEyxGQvw7PlHLWpGUP1TY5XIvPuIbgv18qFKaQc+WV21RcaZRTsZA+kcvRAeHf5MIyYf11ptKqROl8UdlcGfZMmyXcYsaUZC5Hf0nnp8PR9nXpVYfsTt7JqSqRVRaJnAshH218Jwfs9mo+F6ngBfsLEysczt51mXt6ejrI2InXuRAurxJmUKud+MIf+rT2tbYPJxCAQ1Paq/kUzVKk2FbpBVehFw7bLqdhp05t6Lc7+vhcibquEClKi72+PLu4/sJOhxEEveb4H5DDL5efzr9Oz8kqtVdTotEwGkZ0pJV1JZc9R7Tc7F7Te5Xd7Ib1rfegtjEdrlyoCy787PlAN+3c3MIOVdxbPWYB5Mo6EthsqJn+NEVd0/G3Cg3N5iyAJTeCJ9S9txvIhKX/2Xa1eDHId3+0W8oJO77FHIXdDZmkCVvyoqInCOAR1/tbUz2rg27QvhvYSygab/uTvQVDW1wjcJamqF3v7oCE95js4vwGAuAVVaRPJ4+eTto/FMvRJOyjaQDQN8E5qvArtdVnXP+2FW9uXlTY7sKNNKViVtf1P8DFAqM=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/getcontact",title:"Get contact",description:"The Get Contact API allows you to retrieve details about a specific contact.",source:"@site/docs/API-docs/getcontact.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/getcontact",permalink:"/docs/API-docs/getcontact",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"getcontact",title:"Get contact",description:"The Get Contact API allows you to retrieve details about a specific contact.",sidebar_label:"Get contact",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1r40YQ/ivb+XQB2ZId35WKUi4cIQ13XEKdUmhiwkoaW5tIu3u7K8fG6L+XWUm2HDttc4QDY1u78/LM26PZgOMLC/EtfFLS8dRZmAWQoU2N0E4oCTHc5Mgu0LFWgp1dXzJeFOrJsrWqmFPMoDMCl8gydFwUlvFEVY5xZjWmYi5Slja6QwhAaTScTF9mEMMCXXsHAWhueIkODSHagOQlQgyrAddi4NQjSghAEKQceYYGAjD4rRIGM4idqTAA69YF6VhR6gIhAFzpQmUI8ZwXlgTSHEsO8QbcWntJZ4RcQE2i3CvFBFFasZDD1Wq1gjrYQmmh3ousQ6K5y+F5xlTygKm7zJias110b4Y1gLkyJXf9kx14/fsoydNxrhOo6xm5tVpJi5YMjaOIfvbh2ipN0dp5VbBtcSDwwaJ0JM+1LkTqL8IHS0qbQ3RN1FRGQ2acaFx2yXh1HPkoyVfjB021+erz/zoDDwpZgkjq5yUXxXfoJ4gf24NhqkoydZ0r+Wook9HpaOw/ZCI1yB1mZ+6YmZ3SOBqfDkbRIPr5ZvQhnvwSv/8wjKLobwhgVfpo2q7MuPNROuGK/nOlsx/gp34u1nZ8ywV9hW4W6pq0JtHksBc7kpHKsbmqZPbT23UiGqPMv+fiiPu6F4CQhZB4343U/SSa3I+34bw/DOdSLnkhMs+ZN8RgPzacvnvXuD+sl2iEGoLdC7Z/3gRpMa2McGvPz31ijm9nRDYluly1vO4J3eUQQ9gWPtzsCLQGsmaWHdlXpiBid07bOAyt4wshFwOu9bBj44InlqYw5FqEyxGQvw7PlHLWpGUP1TY5XIvPuIbgv18qFKaQc+WV21RcaZRTsZA+kcvRAeHf5MIyYf11ptKqROl8UdlcGfZMmyXcYsaUZC5Hf0nnp8PR9nXpVYfsTt7JqSqRVRaJnAshH218Jwfs9mo+F6ngBfsLEysczt51mXt6ejrI2InXuRAurxJmUKud+MIf+rT2tbYPJxCAQ1Paq/kUzVKk2FbpBVehFw7bLqdhp05t6Lc7+vhcibquEClKi72+PLu4/sJOhxEEveb4H5DDL5efzr9Oz8kqtVdTotEwGkZ0pJV1JZc9R7Tc7F7Te5Xd7Ib1rfegtjEdrlyoCy787PlAN+3c3MIOVdxbPWYB5Mo6EthsqJn+NEVd0/G3Cg3N5iyAJTeCJ9S9txvIhKX/2Xa1eDHId3+0W8oJO77FHIXdDZmkCVvyoqInCOAR1/tbUz2rg27QvhvYSygab/uTvQVDW1wjcJamqF3v7oCE95js4vwGAuAVVaRPJ4+eTto/FMvRJOyjaQDQN8E5qvArtdVnXP+2FW9uXlTY7sKNNKViVtf1P8DFAqM=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Create contact",permalink:"/docs/API-docs/createcontact"},next:{title:"Delete contact",permalink:"/docs/API-docs/deletecontact"}},g={},f=[{value:"Request",id:"request",level:2}];function v(e){const a={h2:"h2",p:"p",...(0,l.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(a.p,{children:"Get contact"})}),"\n",(0,t.jsx)(c(),{method:"get",path:"/contact/{contact_id}"}),"\n",(0,t.jsx)(a.p,{children:"The Get Contact API allows you to retrieve details about a specific contact."}),"\n",(0,t.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Path Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(o.Z,{className:"paramsItem",param:{name:"contact_id",in:"path",description:"objectId of contact",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string",example:"pH1bhc2hpb"}}})})})]}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(o.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(i.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"successful operation"})}),(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"ph1bhx2jp"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Email",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Phone",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"4131231231"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "objectId": "ph1bhx2jp",\n "Name": "joe bee",\n "Email": "joebee@example.com",\n "Phone": "4131231231",\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"404",value:"404",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Contact not found!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Contact not found!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Contact not found!"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function b(e={}){const{wrapper:a}={...(0,l.a)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/05632a52.ff3f50af.js b/assets/js/05632a52.ff3f50af.js deleted file mode 100644 index 08ff1708f..000000000 --- a/assets/js/05632a52.ff3f50af.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[4651],{97717:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>b,contentTitle:()=>j,default:()=>f,frontMatter:()=>x,metadata:()=>u,toc:()=>g});var t=s(85893),l=s(11151),n=s(58219),i=(s(62316),s(51039)),r=s.n(i),c=(s(82723),s(9487)),d=s(41429),m=s(5397),o=s(4667),p=s(9472),h=s(85162);const x={id:"getcontact",title:"Get contact",description:"get a contact",sidebar_label:"Get contact",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vv9r20YU/1du76cWZEt23I6JMRpKyEJLE5aMwRITTtKTdYl0d707OTZG//t4J8mWY2dbSikY27r37fO+fXQbcHxhIb6Fj0o6njoL8wAytKkR2gklIYYFOsZZ2sohAKXRcJJdZK10J9Lc8AodGnK5AckrhBhWI67FyKlHlBCAIJ8F8gwNBGDway0MZhA7U2MA1q1LsrGi0iVCALjSpcoQ4pyXlhTSAisO8QbcWntNZ4RcQEOq3BvFBFFasZDj1Wq1gibYQumg3ousR6K5K+B5yip5wNRdZEzlg8S/G9YAcmUq7oYnO/D690lSpNNCJ9A0cwprtZIWLTmaRhH97MO1dZqitXldsm1zIPDJonSkz7UuReoF4YMlo80hujZraqMhN060IftivDqPYpIUq+mDpt588fV/nYMHhSxBJPOziovyG+wTxA/dwThVFbm6KpR8NZTZ5GQy9R9ykRrkDrNTd8zNzmgaTU9Gk2gU/XwzeR/PfonfvR9HUfQ3BLCqfDbdVGbc+SydcOXwudbZD4jTPFfrJj5Dx0Vphwb9LjQNWc2i2eEsdjzCpHIsV7XMfvp+k4jGKPPvtTgSvhkkIGQpJN73K3U/i2b302067w7TuZBLXoqMnV5dsBtisB+bzjC8a8Mf9ku0Si3B7iU7PG+TtJjWRri15+chMce3cyKbCl2hOl73hO4KiCHsGh9udgTaAHkzy57sa1MSsTunbRyG1vGFkIsR13rcs3HJE0tbGHItwuUEKF6P55pq1pZlD9W2OFyLT7iG4L9fKpSmkLnyxl0pLjXKa7GQvpDLyQHh3xTCMmG9OFNpXaF0vqksV4Y9s2YJt5gxJZkr0Avp/GQ8YVZjKvJuHsbsTt7Ja1Uhqy0SOZdCPtr4To7Y7WWei1Twkv2FiRUO52/6yj09PR1U7K23OReuqBNmUKud+sIf+rIOrbYPbyEAh6ayl/k1mqVIsevSC6FCrxx2U07LTpPa0m9/9OG5EU1dKVKUFgdzeXp+9ZmdjCMIBsPxPyCHny8+nn25PiOvNF5tiybjaBzRkVbWVVwOAp2jG7ym9zq72S3rwUWmmyyHKxfqkgu/PB7pphv8W9hpx4O7wzyAQllHCpsNTcOfpmwaOv5ao6Hlmgew5EbwhMbvdgOZsPQ/294NXkT55o/umvGWHb+GHIXdb4mkFVnysqYnCOAR1/vXnmbeBP2mfDOwl1C00fZXcwuGrmGtwmmaonYD2QGL7lHR+dkNBMBr6siQDx49H3R/KJejRdhH0wKgb4Jz1OBX2uZPuP5tq95KXjTYXmZbbSrFvGmafwCp2NVs",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},j=void 0,u={id:"API-docs/getcontact",title:"Get contact",description:"get a contact",source:"@site/docs/API-docs/getcontact.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/getcontact",permalink:"/docs/API-docs/getcontact",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"getcontact",title:"Get contact",description:"get a contact",sidebar_label:"Get contact",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vv9r20YU/1du76cWZEt23I6JMRpKyEJLE5aMwRITTtKTdYl0d707OTZG//t4J8mWY2dbSikY27r37fO+fXQbcHxhIb6Fj0o6njoL8wAytKkR2gklIYYFOsZZ2sohAKXRcJJdZK10J9Lc8AodGnK5AckrhBhWI67FyKlHlBCAIJ8F8gwNBGDway0MZhA7U2MA1q1LsrGi0iVCALjSpcoQ4pyXlhTSAisO8QbcWntNZ4RcQEOq3BvFBFFasZDj1Wq1gibYQumg3ousR6K5K+B5yip5wNRdZEzlg8S/G9YAcmUq7oYnO/D690lSpNNCJ9A0cwprtZIWLTmaRhH97MO1dZqitXldsm1zIPDJonSkz7UuReoF4YMlo80hujZraqMhN060IftivDqPYpIUq+mDpt588fV/nYMHhSxBJPOziovyG+wTxA/dwThVFbm6KpR8NZTZ5GQy9R9ykRrkDrNTd8zNzmgaTU9Gk2gU/XwzeR/PfonfvR9HUfQ3BLCqfDbdVGbc+SydcOXwudbZD4jTPFfrJj5Dx0Vphwb9LjQNWc2i2eEsdjzCpHIsV7XMfvp+k4jGKPPvtTgSvhkkIGQpJN73K3U/i2b302067w7TuZBLXoqMnV5dsBtisB+bzjC8a8Mf9ku0Si3B7iU7PG+TtJjWRri15+chMce3cyKbCl2hOl73hO4KiCHsGh9udgTaAHkzy57sa1MSsTunbRyG1vGFkIsR13rcs3HJE0tbGHItwuUEKF6P55pq1pZlD9W2OFyLT7iG4L9fKpSmkLnyxl0pLjXKa7GQvpDLyQHh3xTCMmG9OFNpXaF0vqksV4Y9s2YJt5gxJZkr0Avp/GQ8YVZjKvJuHsbsTt7Ja1Uhqy0SOZdCPtr4To7Y7WWei1Twkv2FiRUO52/6yj09PR1U7K23OReuqBNmUKud+sIf+rIOrbYPbyEAh6ayl/k1mqVIsevSC6FCrxx2U07LTpPa0m9/9OG5EU1dKVKUFgdzeXp+9ZmdjCMIBsPxPyCHny8+nn25PiOvNF5tiybjaBzRkVbWVVwOAp2jG7ym9zq72S3rwUWmmyyHKxfqkgu/PB7pphv8W9hpx4O7wzyAQllHCpsNTcOfpmwaOv5ao6Hlmgew5EbwhMbvdgOZsPQ/294NXkT55o/umvGWHb+GHIXdb4mkFVnysqYnCOAR1/vXnmbeBP2mfDOwl1C00fZXcwuGrmGtwmmaonYD2QGL7lHR+dkNBMBr6siQDx49H3R/KJejRdhH0wKgb4Jz1OBX2uZPuP5tq95KXjTYXmZbbSrFvGmafwCp2NVs",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Create contact",permalink:"/docs/API-docs/createcontact"},next:{title:"Deletes contact",permalink:"/docs/API-docs/deletecontact"}},b={},g=[{value:"Request",id:"request",level:2}];function y(e){const a={h2:"h2",p:"p",...(0,l.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(a.p,{children:"Get contact"})}),"\n",(0,t.jsx)(r(),{method:"get",path:"/contact/{contact_id}"}),"\n",(0,t.jsx)(a.p,{children:"get a contact"}),"\n",(0,t.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Path Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(d.Z,{className:"paramsItem",param:{name:"contact_id",in:"path",description:"objectId of contact",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string",example:"pH1bhc2hpb"}}})})})]}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(d.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(n.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"successful operation"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(o.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"ph1bhx2jp"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"Email",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"Phone",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"4131231231"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "objectId": "ph1bhx2jp",\n "Name": "joe bee",\n "Email": "joebee@example.com",\n "Phone": "4131231231",\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"404",value:"404",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Contact not found!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Contact not found!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "error": "Contact not found!"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function f(e={}){const{wrapper:a}={...(0,l.a)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(y,{...e})}):y(e)}}}]); \ No newline at end of file diff --git a/assets/js/1f73ca32.6b4bf0ac.js b/assets/js/1f73ca32.6b4bf0ac.js new file mode 100644 index 000000000..2648b2283 --- /dev/null +++ b/assets/js/1f73ca32.6b4bf0ac.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[2832],{8484:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>g,contentTitle:()=>x,default:()=>y,frontMatter:()=>u,metadata:()=>j,toc:()=>f});var l=a(85893),i=a(11151),t=a(58219),n=(a(62316),a(51039)),r=a.n(n),o=(a(82723),a(9487)),c=a(41429),d=a(5397),m=a(4667),p=a(9472),h=a(85162);const u={id:"get-user",title:"Get your details",description:"The Get User API enables you to get your own details.",sidebar_label:"Get your details",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v2zYQ/ivcfWoA2ZbtNN2EYWhWZEbSognmBAOWGAUtnW0mEsmSJ8eG4f8+HCU5it1syzD0iy3d3XNvvHvEDZCce0hu4cajg0kEGfrUKUvKaEjgeoFihCRYK06vzgVqOc3Ri7UpBRkxR+JHJ8yjFhmSVLnvQgTGopPs4zyDBOZIwX0EVjpZIKHjmBvQskBIYNWRVnXIPKCGCBQHXqDMAsLh11I5zCAhV2IEntY5Y7wqbI4QAa5sbjKEZCZzzwbpAgsJyQZobYMlOaXnsGVTGUAJ56e9muvuarVawXbCcbw12qNn5CCO+e95L8ZlmqL3szIXu/IggtRoQk1sL63NVRoUvXvPoM1hOmZ6jylxLxy7IVWFrMTcrv3EI5gZV0hqS54q+W2kHgbD6eLmgiv8HBr6Og8XBsWviAw/K6TKX4u/NzhFfF8Luqkp2NXVwuhXp3L89uTdj8NBfzBkFxdmeq0of7WXDJcM/2AKK/X6tehmNNhF6lASZqf0LSdPkEE8GHb6cSd+d90/SY5/St6edOM4/hMiWBWhn/WgZ5JCn6kqa/de2uw7xNnum5W8lC2z6n3Lhsfx8eEGBBbQhsTMlDr74f8bfnTOuL+vfT/2tpW30rnS+KVZ4S+cfFPG28MyzvVS5ioLfHbNpPN9K2mHpyr84dGoyqjixGeltuVVkR7T0ilaB0ptc2lyO2FqK5AWpubhwMG0gAR6c6SyYmWPbtlQculypl8i65Nez5OcKz3vSGu7zWLkcup5y3vSqt6yH9izSWHMbao68SyRXT+kVR9xDdE/Uz9XpvTMBHBd/aVFPVZzHXq37MPh50p5oXxQZyYtC9QUzlHMjBN7aDGVHjNhtKAFBiXLh92+8BZTNatHoCvu9J0emwJF6ZHZP1f6wSd3uiNuL2czlSqZiz9w6hXh5E3TucfHx4OOHQXMSNGinAqH1jyZz4MwtLWN2r0cQQSErvCXszG6pUqxPqUXQvWCca8ebJmGwcaK3hvR+30QD1quUtQeW6N4Orr6JIbdGKLWcPyLlHufzj+cfR6fsVcer+qI+t24G7PIGk+F1K1Ao+YyUV8k9o9387Sk//liUo8h4Yp6NpcqLFcoa1Mvxi00izGJYGE8sWiz4WG5cfl2y+KvJTpet0kES+kURw7LFjXDy5uUKc+KbHczebGYN7/Xl5wj8VKKD7g+2JalzEu2hG20qQ1O0xQttXQHXPaMEEZn1xCBLLnu9oo+hBWtH7iWRqXXLd/Ps6kS4F9O55uAn/mgPuL6l515pXkRsLsFVtbcisl2u/0LzPqaMw==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/get-user",title:"Get your details",description:"The Get User API enables you to get your own details.",source:"@site/docs/API-docs/get-user.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/get-user",permalink:"/docs/API-docs/get-user",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"get-user",title:"Get your details",description:"The Get User API enables you to get your own details.",sidebar_label:"Get your details",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v2zYQ/ivcfWoA2ZbtNN2EYWhWZEbSognmBAOWGAUtnW0mEsmSJ8eG4f8+HCU5it1syzD0iy3d3XNvvHvEDZCce0hu4cajg0kEGfrUKUvKaEjgeoFihCRYK06vzgVqOc3Ri7UpBRkxR+JHJ8yjFhmSVLnvQgTGopPs4zyDBOZIwX0EVjpZIKHjmBvQskBIYNWRVnXIPKCGCBQHXqDMAsLh11I5zCAhV2IEntY5Y7wqbI4QAa5sbjKEZCZzzwbpAgsJyQZobYMlOaXnsGVTGUAJ56e9muvuarVawXbCcbw12qNn5CCO+e95L8ZlmqL3szIXu/IggtRoQk1sL63NVRoUvXvPoM1hOmZ6jylxLxy7IVWFrMTcrv3EI5gZV0hqS54q+W2kHgbD6eLmgiv8HBr6Og8XBsWviAw/K6TKX4u/NzhFfF8Luqkp2NXVwuhXp3L89uTdj8NBfzBkFxdmeq0of7WXDJcM/2AKK/X6tehmNNhF6lASZqf0LSdPkEE8GHb6cSd+d90/SY5/St6edOM4/hMiWBWhn/WgZ5JCn6kqa/de2uw7xNnum5W8lC2z6n3Lhsfx8eEGBBbQhsTMlDr74f8bfnTOuL+vfT/2tpW30rnS+KVZ4S+cfFPG28MyzvVS5ioLfHbNpPN9K2mHpyr84dGoyqjixGeltuVVkR7T0ilaB0ptc2lyO2FqK5AWpubhwMG0gAR6c6SyYmWPbtlQculypl8i65Nez5OcKz3vSGu7zWLkcup5y3vSqt6yH9izSWHMbao68SyRXT+kVR9xDdE/Uz9XpvTMBHBd/aVFPVZzHXq37MPh50p5oXxQZyYtC9QUzlHMjBN7aDGVHjNhtKAFBiXLh92+8BZTNatHoCvu9J0emwJF6ZHZP1f6wSd3uiNuL2czlSqZiz9w6hXh5E3TucfHx4OOHQXMSNGinAqH1jyZz4MwtLWN2r0cQQSErvCXszG6pUqxPqUXQvWCca8ebJmGwcaK3hvR+30QD1quUtQeW6N4Orr6JIbdGKLWcPyLlHufzj+cfR6fsVcer+qI+t24G7PIGk+F1K1Ao+YyUV8k9o9387Sk//liUo8h4Yp6NpcqLFcoa1Mvxi00izGJYGE8sWiz4WG5cfl2y+KvJTpet0kES+kURw7LFjXDy5uUKc+KbHczebGYN7/Xl5wj8VKKD7g+2JalzEu2hG20qQ1O0xQttXQHXPaMEEZn1xCBLLnu9oo+hBWtH7iWRqXXLd/Ps6kS4F9O55uAn/mgPuL6l515pXkRsLsFVtbcisl2u/0LzPqaMw==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Introduction",permalink:"/docs/API-docs/opensign-api-v-1"},next:{title:"Create contact",permalink:"/docs/API-docs/createcontact"}},g={},f=[{value:"Request",id:"request",level:2}];function v(e){const s={h2:"h2",p:"p",...(0,i.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(s.p,{children:"Get your details"})}),"\n",(0,l.jsx)(r(),{method:"get",path:"/getuser"}),"\n",(0,l.jsx)(s.p,{children:"The Get User API enables you to get your own details."}),"\n",(0,l.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(c.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(t.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Successful operation"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"FGik23bhUJ"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Joe Bee"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"Email",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"Phone",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"4567832123"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"JobTitle",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"dev"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"Company",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"opensign"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(d.Z,{responseExample:'{\n "objectId": "FGik23bhUJ",\n "Name": "Joe Bee",\n "Email": "joebee@example.com",\n "Phone": "4567832123",\n "JobTitle": "dev",\n "Company": "opensign",\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"User not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"User not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(d.Z,{responseExample:'{\n "error": "User not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function y(e={}){const{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/1f73ca32.6dd96ce6.js b/assets/js/1f73ca32.6dd96ce6.js deleted file mode 100644 index 35508dfb8..000000000 --- a/assets/js/1f73ca32.6dd96ce6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[2832],{8484:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>g,contentTitle:()=>x,default:()=>v,frontMatter:()=>u,metadata:()=>j,toc:()=>f});var l=s(85893),i=s(11151),n=s(58219),r=(s(62316),s(51039)),t=s.n(r),o=(s(82723),s(9487)),d=s(41429),c=s(5397),m=s(4667),p=s(9472),h=s(85162);const u={id:"get-user",title:"Get your details",description:"Get your details",sidebar_label:"Get your details",hide_title:!0,hide_table_of_contents:!0,api:"eJy9VmFv2kgQ/St786mRDBhI0jurOjVX5VDSqokOopNKULXYA2ywd7e7awJC/u/VrG1iIL07pFO/AJ6dNzNv9s3gLTg+txCN4cGigUkASqPhTih5k0AEc3T+IADNDc/QoSHvLUieIUSwbnEtWk4tUUIAQkIEC+SJRxj8lguDCUTO5BiAdZuUMFZkOkUIANc6VQlCNOOpJYd4gRmHaAtuo72nM0LOoSBX7kER1SetmMv2er1eQzGhPFYradESsheG9JWgjY3QxAMiGOZxjNbO8pTt6EEAsZIOpSN/rnUqYn/QebIE2h6Xo6ZPGDvqhaEwTpQpSzO167DwAGbKZNw1LS9M/hyIZa8/XTzcEsPPvqGnRbhVyP5AJPh1xkV6Kv5J4RTxfWVoxyqjUPcLJU8u5fzi8u2v/V6316cQt2o6Ei49OUqCK4J/UJnmcnMqupYGhYgNcofJlXstyAukF/b6rW7YCt+OupfR+W/RxWU7DMMvEMA68/2shJ5w5/vsSlq751wnPyFPceiW01A23MrnghzPw/PjCaAhZlI5NlO5TH75/8SPxijzz9wPcxeNuoVMhcSv9Qh/peJrGhfHNG7kiqciYVf3N2xES+fnMmmmd2X646sRpVO5E/eoNu0lSYtxboTb+JXa3KXReEKrbZ/9AB3bqNywBB0XqYUAMnQLVS1qv6TdAiLozNHl5dq2aFb1zs5NSvvZOW2jTsc6Phdy3uJat+vJSfnU0hrocC06q65fr3WNQ+pj2aq9SncN41p8xA0E//7fQNSFnCkPrtpzp1EOxVz65q66cEh+tBCWCeuPExXnGUrnL5rNlGEHaDblFhOmJHML9Idk77e7zGqMxazSSJs9ykc5VBmy3CL9PaRCLm30KFtsfDebiVjwlP2NUyscTt7UnXt+fj7q2JnHDIRb5FNmUKsX97k3+rY2UbuHMwjAocns3WyIZiVirG7pB6k63rlTKZ/HXvlY7v/a9P4QREpMRYzSYkOrV4P7T6zfDiFoiOM/lNz5dPPh+vPwmqKSvMor6rbDdkgmrazLuGwkekW6e9e7E5HDtevolAs/O76obSXrMdSyngSwUNaRabulq34waVGQ+VuOhqZpEsCKG8GnpK3xpAhq6dEcJMLSQbJ78TgoZbdQ4M1f1TvMGaNLeq3EJW6OtL7iaU6eUATbyuEqjlG7xtnRqqJZ243z4HoEAfCceDcHbOkHrPpBXOojuWnE3q+mLIA+qZxXAe9oPD7i5vede3nyQ8DuJa/0plZMiqL4DrFTd0k=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/get-user",title:"Get your details",description:"Get your details",source:"@site/docs/API-docs/get-user.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/get-user",permalink:"/docs/API-docs/get-user",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"get-user",title:"Get your details",description:"Get your details",sidebar_label:"Get your details",hide_title:!0,hide_table_of_contents:!0,api:"eJy9VmFv2kgQ/St786mRDBhI0jurOjVX5VDSqokOopNKULXYA2ywd7e7awJC/u/VrG1iIL07pFO/AJ6dNzNv9s3gLTg+txCN4cGigUkASqPhTih5k0AEc3T+IADNDc/QoSHvLUieIUSwbnEtWk4tUUIAQkIEC+SJRxj8lguDCUTO5BiAdZuUMFZkOkUIANc6VQlCNOOpJYd4gRmHaAtuo72nM0LOoSBX7kER1SetmMv2er1eQzGhPFYradESsheG9JWgjY3QxAMiGOZxjNbO8pTt6EEAsZIOpSN/rnUqYn/QebIE2h6Xo6ZPGDvqhaEwTpQpSzO167DwAGbKZNw1LS9M/hyIZa8/XTzcEsPPvqGnRbhVyP5AJPh1xkV6Kv5J4RTxfWVoxyqjUPcLJU8u5fzi8u2v/V6316cQt2o6Ei49OUqCK4J/UJnmcnMqupYGhYgNcofJlXstyAukF/b6rW7YCt+OupfR+W/RxWU7DMMvEMA68/2shJ5w5/vsSlq751wnPyFPceiW01A23MrnghzPw/PjCaAhZlI5NlO5TH75/8SPxijzz9wPcxeNuoVMhcSv9Qh/peJrGhfHNG7kiqciYVf3N2xES+fnMmmmd2X646sRpVO5E/eoNu0lSYtxboTb+JXa3KXReEKrbZ/9AB3bqNywBB0XqYUAMnQLVS1qv6TdAiLozNHl5dq2aFb1zs5NSvvZOW2jTsc6Phdy3uJat+vJSfnU0hrocC06q65fr3WNQ+pj2aq9SncN41p8xA0E//7fQNSFnCkPrtpzp1EOxVz65q66cEh+tBCWCeuPExXnGUrnL5rNlGEHaDblFhOmJHML9Idk77e7zGqMxazSSJs9ykc5VBmy3CL9PaRCLm30KFtsfDebiVjwlP2NUyscTt7UnXt+fj7q2JnHDIRb5FNmUKsX97k3+rY2UbuHMwjAocns3WyIZiVirG7pB6k63rlTKZ/HXvlY7v/a9P4QREpMRYzSYkOrV4P7T6zfDiFoiOM/lNz5dPPh+vPwmqKSvMor6rbDdkgmrazLuGwkekW6e9e7E5HDtevolAs/O76obSXrMdSyngSwUNaRabulq34waVGQ+VuOhqZpEsCKG8GnpK3xpAhq6dEcJMLSQbJ78TgoZbdQ4M1f1TvMGaNLeq3EJW6OtL7iaU6eUATbyuEqjlG7xtnRqqJZ243z4HoEAfCceDcHbOkHrPpBXOojuWnE3q+mLIA+qZxXAe9oPD7i5vede3nyQ8DuJa/0plZMiqL4DrFTd0k=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Introduction",permalink:"/docs/API-docs/opensign-api-v-1"},next:{title:"Create contact",permalink:"/docs/API-docs/createcontact"}},g={},f=[{value:"Request",id:"request",level:2}];function b(e){const a={h2:"h2",p:"p",...(0,i.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(a.p,{children:"Get your details"})}),"\n",(0,l.jsx)(t(),{method:"get",path:"/getuser"}),"\n",(0,l.jsx)(a.p,{children:"Get your details"}),"\n",(0,l.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(d.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(n.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Successful operation"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"FGik23bhUJ"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Joe Bee"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"Email",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"Phone",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"4567832123"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"JobTitle",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"dev"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"Company",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"opensign"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "objectId": "FGik23bhUJ",\n "Name": "Joe Bee",\n "Email": "joebee@example.com",\n "Phone": "4567832123",\n "JobTitle": "dev",\n "Company": "opensign",\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"User not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"User not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "error": "User not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:a}={...(0,i.a)(),...e.components};return a?(0,l.jsx)(a,{...e,children:(0,l.jsx)(b,{...e})}):b(e)}}}]); \ No newline at end of file diff --git a/assets/js/2c586be5.1277174c.js b/assets/js/2c586be5.1277174c.js new file mode 100644 index 000000000..9b885657d --- /dev/null +++ b/assets/js/2c586be5.1277174c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[9697],{45212:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>x,default:()=>w,frontMatter:()=>h,metadata:()=>j,toc:()=>g});var i=a(85893),n=a(11151),t=a(58219),l=(a(62316),a(51039)),r=a.n(l),o=(a(82723),a(9487)),c=a(41429),d=a(5397),m=a(4667),p=a(9472),u=a(85162);const h={id:"createdocument",title:"Create document",description:"The Create Document API allows users to generate new documents by providing data through `multipart/form-data`. This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios.",sidebar_label:"Create document",hide_title:!0,hide_table_of_contents:!0,api:"eJzlVktv4zYQ/ivsnDaAYjvZ9iIURdNksQh2kQTrFD0kRpaWRtYkFMklKT9q+L8XQ0m2HDvtFuitFz/mPR9nPnINQc48pA9wZbK6Qh08TBLI0WeObCCjIYX7EsWlQxlQdFbi4u5aSKXMwovao/MiGDFDjY6tNC5E3sUT05WwzswpJz0TuQxShNKZelaKr1WtAlnpwrAwrjpl5deBuC/Ji0LhkqYKRYWhNHmXrDBOhBIF6UzVnowWphBz6cjUvg2+sugTUckXzkdB+JqC5EjsK8WCchRO6hmya1emyLhBjucz1BzPDyABY7kjMvo6hxSiDXYukICVTlYY0DGEa9CyQkhheSotnQbzghoSIIawRJmjgwQcfqvJYQ5pcDUm4MNKsY+nyiqEBHBplckR0kIqzwZZiZWEdA3cGFsGR3oGGzaV0SnlMrWnmR4sl8slbCZNHvThN5Ov2DczOnDJ6RqOYM7igzxm+oxZbNIxCoHQs7Ygzvi6mgQ4mAyQwpS0dCuu7ybCcaTwq/54HdHfmHDccUwzHcHe6qRzcsUoB6z8EZ/NJoFAIaK0f3xPU8YmGuwfShR4a7RvOj4fjfhrfyeu9uYGc+HrLEPvi1qp1Q+Q9BGX1irK4hgNn33T8/fC3Yh5+v4G8q1kNxHlM53/uczm53eMW+3Uvw4QgvXpcNhKBpmpoA8maUUanzqkns5Ho6czhnOTwI+jnw4Ru9ZzqSiPzHHPu/EfooTOGXesw10//fShSc+lLquITLu51Bg1q7vXbF/eNOkxqx2FVdz8/sqnDxPewIa3IAVrfMMVoYQUhgck4tHNOwaJB7XF3gc5Iz07ldYOuhVXcur5MIbS0nB+Fpe9K2XMcDWI7BW02xZLn5DX5R+ZijskXZjo3KJwa1HzBkYM52dweE+QF+Sjuuuv4VRm3lfeYio95sLoSOesZPn7wZnwFjMq2lEYiEf9qMemQr5niloJRfrFp4/6VDzcFgVlJJX4A6eeAk7edcgtFosDxE6iz0cKZT0VDq3Zmc+iMMLa99r+OYEEArrK3xZjdHPKug15I9UwGg/bAZdZHHCsJPHptqJfXzvxwCnKUHvsjeTFx7vP4v1gBElvOL6j5OHn68sPN+MPHJXHqzmis8FoMGIRD2UldS9Re8P3BjPfp+ntrv6fHwTtIgVchqFVknSPXpsNf3j9TJgkUDIFpA+wXvPU/+7UZsPibzU65o9JAlwx1xTZI+m2kCkhJ8+KfPsiePNY3n1p77ET8ValL7g6WPu5VDVbwiZZtwaXTczTe46xszj2dNg5XWQZ2tAzP2D0PVq8ux3fQwLT9oVSxUdPvJJi3GT3s4FE1oxun8peIpW1PxiqTqVXvSr2m21K5U8u/KjDzzzKn3D1y9a80bzpsH3cNdaM9GSz2fwFGf3yKw==",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/createdocument",title:"Create document",description:"The Create Document API allows users to generate new documents by providing data through `multipart/form-data`. This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios.",source:"@site/docs/API-docs/createdocument.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/createdocument",permalink:"/docs/API-docs/createdocument",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"createdocument",title:"Create document",description:"The Create Document API allows users to generate new documents by providing data through `multipart/form-data`. This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios.",sidebar_label:"Create document",hide_title:!0,hide_table_of_contents:!0,api:"eJzlVktv4zYQ/ivsnDaAYjvZ9iIURdNksQh2kQTrFD0kRpaWRtYkFMklKT9q+L8XQ0m2HDvtFuitFz/mPR9nPnINQc48pA9wZbK6Qh08TBLI0WeObCCjIYX7EsWlQxlQdFbi4u5aSKXMwovao/MiGDFDjY6tNC5E3sUT05WwzswpJz0TuQxShNKZelaKr1WtAlnpwrAwrjpl5deBuC/Ji0LhkqYKRYWhNHmXrDBOhBIF6UzVnowWphBz6cjUvg2+sugTUckXzkdB+JqC5EjsK8WCchRO6hmya1emyLhBjucz1BzPDyABY7kjMvo6hxSiDXYukICVTlYY0DGEa9CyQkhheSotnQbzghoSIIawRJmjgwQcfqvJYQ5pcDUm4MNKsY+nyiqEBHBplckR0kIqzwZZiZWEdA3cGFsGR3oGGzaV0SnlMrWnmR4sl8slbCZNHvThN5Ov2DczOnDJ6RqOYM7igzxm+oxZbNIxCoHQs7Ygzvi6mgQ4mAyQwpS0dCuu7ybCcaTwq/54HdHfmHDccUwzHcHe6qRzcsUoB6z8EZ/NJoFAIaK0f3xPU8YmGuwfShR4a7RvOj4fjfhrfyeu9uYGc+HrLEPvi1qp1Q+Q9BGX1irK4hgNn33T8/fC3Yh5+v4G8q1kNxHlM53/uczm53eMW+3Uvw4QgvXpcNhKBpmpoA8maUUanzqkns5Ho6czhnOTwI+jnw4Ru9ZzqSiPzHHPu/EfooTOGXesw10//fShSc+lLquITLu51Bg1q7vXbF/eNOkxqx2FVdz8/sqnDxPewIa3IAVrfMMVoYQUhgck4tHNOwaJB7XF3gc5Iz07ldYOuhVXcur5MIbS0nB+Fpe9K2XMcDWI7BW02xZLn5DX5R+ZijskXZjo3KJwa1HzBkYM52dweE+QF+Sjuuuv4VRm3lfeYio95sLoSOesZPn7wZnwFjMq2lEYiEf9qMemQr5niloJRfrFp4/6VDzcFgVlJJX4A6eeAk7edcgtFosDxE6iz0cKZT0VDq3Zmc+iMMLa99r+OYEEArrK3xZjdHPKug15I9UwGg/bAZdZHHCsJPHptqJfXzvxwCnKUHvsjeTFx7vP4v1gBElvOL6j5OHn68sPN+MPHJXHqzmis8FoMGIRD2UldS9Re8P3BjPfp+ntrv6fHwTtIgVchqFVknSPXpsNf3j9TJgkUDIFpA+wXvPU/+7UZsPibzU65o9JAlwx1xTZI+m2kCkhJ8+KfPsiePNY3n1p77ET8ValL7g6WPu5VDVbwiZZtwaXTczTe46xszj2dNg5XWQZ2tAzP2D0PVq8ux3fQwLT9oVSxUdPvJJi3GT3s4FE1oxun8peIpW1PxiqTqVXvSr2m21K5U8u/KjDzzzKn3D1y9a80bzpsH3cNdaM9GSz2fwFGf3yKw==",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get contact list",permalink:"/docs/API-docs/contactlist"},next:{title:"Get document by ID",permalink:"/docs/API-docs/getdocument"}},f={},g=[{value:"Request",id:"request",level:2}];function v(e){const s={code:"code",h2:"h2",p:"p",...(0,n.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h1",{className:"openapi__heading",children:(0,i.jsx)(s.p,{children:"Create document"})}),"\n",(0,i.jsx)(r(),{method:"post",path:"/createdocument"}),"\n",(0,i.jsxs)(s.p,{children:["The Create Document API allows users to generate new documents by providing data through ",(0,i.jsx)(s.code,{children:"multipart/form-data"}),". This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios."]}),"\n",(0,i.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,i.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,i.jsx)("summary",{style:{},children:(0,i.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,i.jsx)(s.p,{children:"Header Parameters"})})}),(0,i.jsx)("div",{children:(0,i.jsx)("ul",{children:(0,i.jsx)(c.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,i.jsx)(o.Z,{className:"openapi-tabs__mime",children:(0,i.jsx)(u.default,{label:"multipart/form-data",value:"multipart/form-data-schema",children:(0,i.jsxs)(a,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,i.jsxs)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:[(0,i.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,i.jsx)(s.p,{children:"Body"})}),(0,i.jsx)("strong",{className:"openapi-schema__required",children:(0,i.jsx)(s.p,{children:"required"})})]}),(0,i.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,i.jsx)(m.Z,{collapsible:!1,name:"file",required:!1,schemaName:"binary",qualifierMessage:void 0,schema:{type:"string",format:"binary"}}),(0,i.jsx)(m.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,i.jsx)(m.Z,{collapsible:!1,name:"Description",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,i.jsx)(m.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,i.jsx)(m.Z,{collapsible:!1,name:"Signers",required:!1,schemaName:"string[]",qualifierMessage:void 0,schema:{type:"array",items:{type:"string"}}})]})]})})}),"\n",(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:(0,i.jsxs)(t.Z,{children:[(0,i.jsxs)(u.default,{label:"200",value:"200",children:[(0,i.jsx)("div",{children:(0,i.jsx)(s.p,{children:"Document created successfully!"})}),(0,i.jsx)("div",{children:(0,i.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,i.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,i.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,i.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,i.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,i.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,i.jsx)("strong",{children:(0,i.jsx)(s.p,{children:"Schema"})})}),(0,i.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,i.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"hji2zxcv2P"}}),(0,i.jsx)(m.Z,{collapsible:!1,name:"url",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"https://example.com"}})]})]})}),(0,i.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,i.jsx)(d.Z,{responseExample:'{\n "objectId": "hji2zxcv2P",\n "url": "https://example.com"\n}',language:"json"})})]})})})})]}),(0,i.jsxs)(u.default,{label:"405",value:"405",children:[(0,i.jsx)("div",{children:(0,i.jsx)(s.p,{children:"Invalid API Token!"})}),(0,i.jsx)("div",{children:(0,i.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,i.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,i.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,i.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,i.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,i.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,i.jsx)("strong",{children:(0,i.jsx)(s.p,{children:"Schema"})})}),(0,i.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,i.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,i.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,i.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function w(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/2c586be5.d853e169.js b/assets/js/2c586be5.d853e169.js deleted file mode 100644 index 25bf29832..000000000 --- a/assets/js/2c586be5.d853e169.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[9697],{45212:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>g,contentTitle:()=>u,default:()=>f,frontMatter:()=>x,metadata:()=>j,toc:()=>y});var t=s(85893),l=s(11151),i=s(58219),r=(s(62316),s(51039)),n=s.n(r),o=(s(82723),s(9487)),c=s(41429),d=s(5397),m=s(4667),p=s(9472),h=s(85162);const x={id:"createdocument",title:"Create document",description:"Create document",sidebar_label:"Create document",hide_title:!0,hide_table_of_contents:!0,api:"eJytVttu4zYQ/RV2njaAbDnZ9kUoiqbZxSLYRRLUKfrgGAEtjexJJJJLUo5VQ/9eDCXL8mXbLdAXX+ZCzpw5Z6QteLl0kMzgg06rEpV3MI9AG7TSk1a3GSSQWpQesy4AIjDSyhI9Ws7cgpIlQgKbkTQ08voVFURAChJYoczQQgQWv1ZkMYPE2wojcL4uOMdRaQqECHBjCp0hJLksHAekKywlJFvwtQmR3pJaQsOhMiQlXKZytFTjzWazgWbe3oPO/6azmnNTrTyXnGyhrApPRlof59qWo0z6cPrJPXrxgmlo0jIKntCxNye+8biaCPgw6SGBBSlpa67vLsBxpvAP6FJLhnE967/T/nzilJYqgN37pLWyZpQ9lu5MTtNE4MkHlA7H97xgbELA4VCCwRmtXNvx1WTCX9mw6J4lojtUuCpN0bm8Kor6B4iGiEtjCkoDjeIX1/b8vXC3ZmbfP0DeW/aMWL3Q1V+bdH31wLhVtvjPB3hvXBLHnWWc6hKGYJIqSOHzDqnnq8nk+ZLhbCL4cfLTKWK3ai0LysT1w614ZG38jyihtdqe63Dfz/B6317PpW7KgEynXGqDWukeNDu0t006TCtLvg7KH0o+mc1ZgYfd3wSaiMHuKNGvNG8Vo127S/wKEohPloxDu95tmDDIfjbOyyWp5UgaM96tgEIuHA8rlobi9WVYBrtSpwxni9hBwXs1GfqMLKd/3WSMAKlch+QOpXuDihUaMF5fwjEGjytyglxw7/oL8xa5tuIoWyykw0xoJfwKg5Pt78eXwhlMKe+oMhZP6klNdYmicphXhShIvbrkSY3E7D7PKSVZiD9x4cjj/N0Oube3txPELkLOJ/KraiEsGr0PXwZjgHWY1f+5gAg82tLd51O0a0p3CvrGVXEIjjsByDQIAEtJPN3O9OtxEhOyoBSVwwFlrz89fBHvxxOIBuT4jpLjL7c3H++mH/lUplc7osvxZDxhE5OylGpw0SmDs7Nr3OPGx6aQpAabpyX37PgJOo9gxexPZrDd8sD/sEXTsPlrhZalNY9gLS3JBTNsNm+iHQFZDRk5dmT9w/Koon67wLvfuxV/IXhU5yp9xfqE8WtZVBwJTbTtAm7aM0ePfMY+4txTdZ90naZo/CD8ZNmxTPuN8HA/fYQIFt3DuwzvA2Fbh3Oj/c8WElkxukMVvwYVdz8Yqp1L1YMqDpttS+VPLvxsws+swc9Y/9KHt55vJvTvPW00Iz1vmuZvSAo88Q==",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},u=void 0,j={id:"API-docs/createdocument",title:"Create document",description:"Create document",source:"@site/docs/API-docs/createdocument.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/createdocument",permalink:"/docs/API-docs/createdocument",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"createdocument",title:"Create document",description:"Create document",sidebar_label:"Create document",hide_title:!0,hide_table_of_contents:!0,api:"eJytVttu4zYQ/RV2njaAbDnZ9kUoiqbZxSLYRRLUKfrgGAEtjexJJJJLUo5VQ/9eDCXL8mXbLdAXX+ZCzpw5Z6QteLl0kMzgg06rEpV3MI9AG7TSk1a3GSSQWpQesy4AIjDSyhI9Ws7cgpIlQgKbkTQ08voVFURAChJYoczQQgQWv1ZkMYPE2wojcL4uOMdRaQqECHBjCp0hJLksHAekKywlJFvwtQmR3pJaQsOhMiQlXKZytFTjzWazgWbe3oPO/6azmnNTrTyXnGyhrApPRlof59qWo0z6cPrJPXrxgmlo0jIKntCxNye+8biaCPgw6SGBBSlpa67vLsBxpvAP6FJLhnE967/T/nzilJYqgN37pLWyZpQ9lu5MTtNE4MkHlA7H97xgbELA4VCCwRmtXNvx1WTCX9mw6J4lojtUuCpN0bm8Kor6B4iGiEtjCkoDjeIX1/b8vXC3ZmbfP0DeW/aMWL3Q1V+bdH31wLhVtvjPB3hvXBLHnWWc6hKGYJIqSOHzDqnnq8nk+ZLhbCL4cfLTKWK3ai0LysT1w614ZG38jyihtdqe63Dfz/B6317PpW7KgEynXGqDWukeNDu0t006TCtLvg7KH0o+mc1ZgYfd3wSaiMHuKNGvNG8Vo127S/wKEohPloxDu95tmDDIfjbOyyWp5UgaM96tgEIuHA8rlobi9WVYBrtSpwxni9hBwXs1GfqMLKd/3WSMAKlch+QOpXuDihUaMF5fwjEGjytyglxw7/oL8xa5tuIoWyykw0xoJfwKg5Pt78eXwhlMKe+oMhZP6klNdYmicphXhShIvbrkSY3E7D7PKSVZiD9x4cjj/N0Oube3txPELkLOJ/KraiEsGr0PXwZjgHWY1f+5gAg82tLd51O0a0p3CvrGVXEIjjsByDQIAEtJPN3O9OtxEhOyoBSVwwFlrz89fBHvxxOIBuT4jpLjL7c3H++mH/lUplc7osvxZDxhE5OylGpw0SmDs7Nr3OPGx6aQpAabpyX37PgJOo9gxexPZrDd8sD/sEXTsPlrhZalNY9gLS3JBTNsNm+iHQFZDRk5dmT9w/Koon67wLvfuxV/IXhU5yp9xfqE8WtZVBwJTbTtAm7aM0ePfMY+4txTdZ90naZo/CD8ZNmxTPuN8HA/fYQIFt3DuwzvA2Fbh3Oj/c8WElkxukMVvwYVdz8Yqp1L1YMqDpttS+VPLvxsws+swc9Y/9KHt55vJvTvPW00Iz1vmuZvSAo88Q==",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get contact list",permalink:"/docs/API-docs/contactlist"},next:{title:"Get document by ID",permalink:"/docs/API-docs/getdocument"}},g={},y=[{value:"Request",id:"request",level:2}];function v(e){const a={h2:"h2",p:"p",...(0,l.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(a.p,{children:"Create document"})}),"\n",(0,t.jsx)(n(),{method:"post",path:"/createdocument"}),"\n",(0,t.jsx)(a.p,{children:"Create document"}),"\n",(0,t.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)(o.Z,{className:"openapi-tabs__mime",children:(0,t.jsx)(h.default,{label:"multipart/form-data",value:"multipart/form-data-schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,t.jsxs)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:[(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,t.jsx)(a.p,{children:"Body"})}),(0,t.jsx)("strong",{className:"openapi-schema__required",children:(0,t.jsx)(a.p,{children:"required"})})]}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(m.Z,{collapsible:!1,name:"file",required:!1,schemaName:"binary",qualifierMessage:void 0,schema:{type:"string",format:"binary"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Description",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Signers",required:!1,schemaName:"string[]",qualifierMessage:void 0,schema:{type:"array",items:{type:"string"}}})]})]})})}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(i.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Document created successfully!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"hji2zxcv2P"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"url",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"https://example.com"}})]})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "objectId": "hji2zxcv2P",\n "url": "https://example.com"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function f(e={}){const{wrapper:a}={...(0,l.a)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/377084eb.96f0357e.js b/assets/js/377084eb.96f0357e.js deleted file mode 100644 index 8340026c3..000000000 --- a/assets/js/377084eb.96f0357e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[8106],{56181:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>g,contentTitle:()=>j,default:()=>y,frontMatter:()=>x,metadata:()=>u,toc:()=>f});var l=s(85893),t=s(11151),i=s(58219),n=(s(62316),s(51039)),r=s.n(n),m=(s(82723),s(9487)),d=s(41429),o=s(5397),c=s(4667),p=s(9472),h=s(85162);const x={id:"get-template",title:"Get template by ID",description:"",sidebar_label:"Get template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v4zYM/isaP10BJ3HaXof504pd1wU7tMWSYcDaoFBsOlZrSzpJThME/u8D5Ze4ybU5DIf7lJjiwxfxIaktOL60EN3DDAudc4cW5gEkaGMjtBNKQgQQgNJoOH1OEohgia5VhwA0N7xAh4bsbEHyAiGC9YBrMXDqGSUEIMhOhjxBAwEY/FIKgwlEzpQYgHWbnDBWFDonk7jWuUoQopTnlhTiDAsO0RbcRntNZ4RcQkWq3IMiilFasZTD9Xq9hiroQnFNrI8iaUPR3GWwn+fkE1Mpa7WZy7hjEjGxzCm2QJaiizNMvmcCAaTKFNzVEsqompN5q5W0aAlwGob08zpUW8YxWpuWOetKAwHESjqUjvS51rmI/cHoyRJoexiFWjxh7KiGhsw4UbusxVTq9+OtJbsKrMd/LGRhT+98ZWbCkfTQxA5g/Z/uygl1o9wRUFcgqWrI7yonXr0LSr0O84wgiDgWWuacttFo1HorLZphrApC377IY/66IGOD3Kmd56lYSt8qHZobwzdETIeFPV6cG0/q93w/KWQLRKiqAFxdhF0PtP7p0MeGyaV7395peHo2GIeD8OfZ+CI6/yX6eDEMw/BfCGBd5IRtGi1patg6bb9LnfwAP9W+Wp9W+/cAVUWA8/D8sLlmPYKxVJUy+en79RYao45w52v++7UUMhcSH9sp8Xgenj9edAl9PExoIlc8Fwm7vJuwGU3kH5tP372r3R8WS9RK9cJ4lWxfXidZoMtUs4j8AnIZRNC16mjbm/gVBGDRrNr1VJq8193W8aWQywHXetjuj5wvLHX6iGsxWo2BJrLFuDTCbaZ0K3Xi/QXXa2Yt/kTq5qNrkBIRMlUe3CR7q1FSg/qrWo0PNtQsE5YJ648TFZcFSufLxlJl2B6aLbjFhCnJXIb+kORnwzGzGmORNhUfsgf5IKeqQFZapI2SC/lsowc5YPe3aSpiwXP2Dy6scDj/0N7cy8vLwY2deMy1cFm5YAa12qkvvdBfax/VfZxAAA5NYW/TKZqViNsZ/IarkVceNTzmsecxFlxQdRvRr/sg4lUuYpQWe8y7vL77zM6GIQQ9cnxDyKPPk9+ubqZXZJXoVZdoPAyHIYm0sq7gsufoGt3udbHYsMmn/QJvd11Jr66GUw7XbqRzLnxj+Bi3DenvdwMtgKj/0JkHkCnrSGW7JSb8bfKqIvGXEs0Govt5ACtuBF8Q9e63kAhL/5Pu0fJmaB/+at4/J+zb30xfTabtGkkts+J5iXXmz7jZe7hV8ypoW+d/R/tWGLW7173aRUMvyVrhMo5Ru97ZweCkWdFNp+urGVTVfyjh3yg=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},j=void 0,u={id:"API-docs/get-template",title:"Get template by ID",description:"",source:"@site/docs/API-docs/get-template.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/get-template",permalink:"/docs/API-docs/get-template",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"get-template",title:"Get template by ID",description:"",sidebar_label:"Get template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v4zYM/isaP10BJ3HaXof504pd1wU7tMWSYcDaoFBsOlZrSzpJThME/u8D5Ze4ybU5DIf7lJjiwxfxIaktOL60EN3DDAudc4cW5gEkaGMjtBNKQgQQgNJoOH1OEohgia5VhwA0N7xAh4bsbEHyAiGC9YBrMXDqGSUEIMhOhjxBAwEY/FIKgwlEzpQYgHWbnDBWFDonk7jWuUoQopTnlhTiDAsO0RbcRntNZ4RcQkWq3IMiilFasZTD9Xq9hiroQnFNrI8iaUPR3GWwn+fkE1Mpa7WZy7hjEjGxzCm2QJaiizNMvmcCAaTKFNzVEsqompN5q5W0aAlwGob08zpUW8YxWpuWOetKAwHESjqUjvS51rmI/cHoyRJoexiFWjxh7KiGhsw4UbusxVTq9+OtJbsKrMd/LGRhT+98ZWbCkfTQxA5g/Z/uygl1o9wRUFcgqWrI7yonXr0LSr0O84wgiDgWWuacttFo1HorLZphrApC377IY/66IGOD3Kmd56lYSt8qHZobwzdETIeFPV6cG0/q93w/KWQLRKiqAFxdhF0PtP7p0MeGyaV7395peHo2GIeD8OfZ+CI6/yX6eDEMw/BfCGBd5IRtGi1patg6bb9LnfwAP9W+Wp9W+/cAVUWA8/D8sLlmPYKxVJUy+en79RYao45w52v++7UUMhcSH9sp8Xgenj9edAl9PExoIlc8Fwm7vJuwGU3kH5tP372r3R8WS9RK9cJ4lWxfXidZoMtUs4j8AnIZRNC16mjbm/gVBGDRrNr1VJq8193W8aWQywHXetjuj5wvLHX6iGsxWo2BJrLFuDTCbaZ0K3Xi/QXXa2Yt/kTq5qNrkBIRMlUe3CR7q1FSg/qrWo0PNtQsE5YJ648TFZcFSufLxlJl2B6aLbjFhCnJXIb+kORnwzGzGmORNhUfsgf5IKeqQFZapI2SC/lsowc5YPe3aSpiwXP2Dy6scDj/0N7cy8vLwY2deMy1cFm5YAa12qkvvdBfax/VfZxAAA5NYW/TKZqViNsZ/IarkVceNTzmsecxFlxQdRvRr/sg4lUuYpQWe8y7vL77zM6GIQQ9cnxDyKPPk9+ubqZXZJXoVZdoPAyHIYm0sq7gsufoGt3udbHYsMmn/QJvd11Jr66GUw7XbqRzLnxj+Bi3DenvdwMtgKj/0JkHkCnrSGW7JSb8bfKqIvGXEs0Govt5ACtuBF8Q9e63kAhL/5Pu0fJmaB/+at4/J+zb30xfTabtGkkts+J5iXXmz7jZe7hV8ypoW+d/R/tWGLW7173aRUMvyVrhMo5Ru97ZweCkWdFNp+urGVTVfyjh3yg=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Create template",permalink:"/docs/API-docs/createtemplate"},next:{title:"Update template by ID",permalink:"/docs/API-docs/update-template"}},g={},f=[{value:"Request",id:"request",level:2}];function b(e){const a={h2:"h2",p:"p",...(0,t.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(a.p,{children:"Get template by ID"})}),"\n",(0,l.jsx)(r(),{method:"get",path:"/template/{template_id}"}),"\n",(0,l.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(d.Z,{className:"paramsItem",param:{name:"template_id",in:"path",description:"ID of template that needs to be fetched",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"strng"}}})})})]}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(d.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"successful operation"})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(c.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"x1Hbnms2Pg"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Title",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"sample template"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"template note"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Folder",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"folder name"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"File",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"https://templateuser.com"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Owner",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"template creator name"}}),(0,l.jsx)(c.Z,{collapsible:!0,className:"schemaItem",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details",children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsxs)("span",{className:"openapi-schema__container",children:[(0,l.jsx)("strong",{className:"openapi-schema__property",children:(0,l.jsx)(a.p,{children:"Signers"})}),(0,l.jsx)("span",{className:"openapi-schema__name",children:(0,l.jsx)(a.p,{children:"object[]"})})]})}),(0,l.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,l.jsx)("li",{children:(0,l.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,l.jsx)(a.p,{children:"Array ["})})}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"joe bee"}}),(0,l.jsx)("li",{children:(0,l.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,l.jsx)(a.p,{children:"]"})})})]})]})}),(0,l.jsx)(c.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "objectId": "x1Hbnms2Pg",\n "Title": "sample template",\n "Note": "template note",\n "Folder": "folder name",\n "File": "https://templateuser.com",\n "Owner": "template creator name",\n "Signers": [\n {\n "Name": "joe bee"\n }\n ],\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Template not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Template not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function y(e={}){const{wrapper:a}={...(0,t.a)(),...e.components};return a?(0,l.jsx)(a,{...e,children:(0,l.jsx)(b,{...e})}):b(e)}}}]); \ No newline at end of file diff --git a/assets/js/377084eb.9a14b681.js b/assets/js/377084eb.9a14b681.js new file mode 100644 index 000000000..b74c0843f --- /dev/null +++ b/assets/js/377084eb.9a14b681.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[8106],{56181:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>j,default:()=>v,frontMatter:()=>u,metadata:()=>x,toc:()=>g});var t=s(85893),l=s(11151),i=s(58219),n=(s(62316),s(51039)),r=s.n(n),m=(s(82723),s(9487)),d=s(41429),o=s(5397),p=s(4667),c=s(9472),h=s(85162);const u={id:"get-template",title:"Get template by ID",description:"The Get Template API allows you to retrieve details about a specific template. Templates serve as blueprints for creating documents with predefined structures.",sidebar_label:"Get template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzVVm1v2zYQ/ivcfWoBxZaTtMP0acHaZcaKpmg8DFgaBLR0sthIJEue/AJD/304ypJVu42LoSiwT7aO9/BenztugeTCQ3IHM6xsKQk93EeQoU+dsqSMhgRmBYprJNGpiKt3UyHL0qy82JhakBEOySlcosiQpCq9kHNTk5DCW0xVrlJBO/Cov8YLj26JQnoxL2u0TmnyIjdOpA4lKb0QmUnrClm8UlQI6zDDXGnMhCdXp1Q79COIwFh0kr2dZpDAAqmzARFY6WSFhI7D3IKWFUIC6zNp1RmZR9QQgeIwC5QZOojA4adaOcwgIVdjBJ42JWO8qmzJV+LaliZDSHJZelZIC6wkJFugjQ2a5JReQMOqMoAS9lF7tdCj9Xq9hibqXeky86CyzhUrqYDDMkxfCZP3eRRUSBIaMfNcgDmKHCktMPueAUSQG1dJaiUcUXPP13trtEfPgPM45p/PXfV1mqL3eV2KvjQQQWo0oSbWl9aWKg0H44+eQdtjL8z8I6bENXR8DanWZCvmUj/tbyvZV2A9+WOuK3/+LlRmpoilx1fsAT786VPOqLeGToD6AmnTQn43JffVk6A86IjQEQxRp1wriKxPxuPOWu3RjVJTMfpmpU/Z650MVDN7y7dqoQNVerR0Tm64MQkrf7o4b0NTP2X7o0ExR4SmiYDaIuw50Nnnw+AbZlf09H3n8fnF2SQ+i3+eTV4ml78kL16O4jj+ByJYVyVjd0TLdjXsjHbftc1+gJ3mUG3YVod5gKZhwGV8eUyu2aDBRG5qnf30/biFzpkTvfMl+8NaKl0qjQ/dlHi4jC8fXvYBvTgOaKqXslRZWCsznsg/Np6heWrNHxdLtUrtwvgs2KG8DbJCKsxuEYUFRAUk0FN1vB1M/AYiCGtwt55qVw7Y7UkulF6cSWtH3f4o5dwz08fSqvFyAjyRPaa1U7S55ay0gQ8X3IDMVv2JzOaTa5ADUTo3AbwL9saiZoKGVC0nRxtqVigvlA/H3eoOZQtb/QAt5tJjJowWVGA4ZPnFaNK/GQJ0JD7oD/rWVChqj7xRSqUfffJBn4m7mzxXqZKl+BvnXhHeP+syt1qtjjL2PGCuFRX1XDi0Zq++CMKQ1iGq/3gOERC6yt/kt+iWKu1m8FdMjYPyeNfHMg19jJVUXN2d6NdDEPdVqVLUHgedd3X97o24GMUQDZrjG1wev5n+9vrt7Wu+ldurLdFkFI9iFlnjqZJ6YIifeP1emG/E9NVhgbd7Vv4PHoW7lidc09iWUgXehhRud5y828/bCJLhO+w+gsJ4YpXtlhv1L1c2DYs/1eg2kNzdR7CUTsk5M+NuC5ny/D/r31Rfzdyz97vn2XPx7U+6LwbTkVozo5eyrPkLInjEzcG7srlvoo7Z/9nbr7nRmvt8lPTe8EO3VbhKU7Q0ODua6zzK+uF5/XoGTfMvvZlVrQ==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},j=void 0,x={id:"API-docs/get-template",title:"Get template by ID",description:"The Get Template API allows you to retrieve details about a specific template. Templates serve as blueprints for creating documents with predefined structures.",source:"@site/docs/API-docs/get-template.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/get-template",permalink:"/docs/API-docs/get-template",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"get-template",title:"Get template by ID",description:"The Get Template API allows you to retrieve details about a specific template. Templates serve as blueprints for creating documents with predefined structures.",sidebar_label:"Get template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzVVm1v2zYQ/ivcfWoBxZaTtMP0acHaZcaKpmg8DFgaBLR0sthIJEue/AJD/304ypJVu42LoSiwT7aO9/BenztugeTCQ3IHM6xsKQk93EeQoU+dsqSMhgRmBYprJNGpiKt3UyHL0qy82JhakBEOySlcosiQpCq9kHNTk5DCW0xVrlJBO/Cov8YLj26JQnoxL2u0TmnyIjdOpA4lKb0QmUnrClm8UlQI6zDDXGnMhCdXp1Q79COIwFh0kr2dZpDAAqmzARFY6WSFhI7D3IKWFUIC6zNp1RmZR9QQgeIwC5QZOojA4adaOcwgIVdjBJ42JWO8qmzJV+LaliZDSHJZelZIC6wkJFugjQ2a5JReQMOqMoAS9lF7tdCj9Xq9hibqXeky86CyzhUrqYDDMkxfCZP3eRRUSBIaMfNcgDmKHCktMPueAUSQG1dJaiUcUXPP13trtEfPgPM45p/PXfV1mqL3eV2KvjQQQWo0oSbWl9aWKg0H44+eQdtjL8z8I6bENXR8DanWZCvmUj/tbyvZV2A9+WOuK3/+LlRmpoilx1fsAT786VPOqLeGToD6AmnTQn43JffVk6A86IjQEQxRp1wriKxPxuPOWu3RjVJTMfpmpU/Z650MVDN7y7dqoQNVerR0Tm64MQkrf7o4b0NTP2X7o0ExR4SmiYDaIuw50Nnnw+AbZlf09H3n8fnF2SQ+i3+eTV4ml78kL16O4jj+ByJYVyVjd0TLdjXsjHbftc1+gJ3mUG3YVod5gKZhwGV8eUyu2aDBRG5qnf30/biFzpkTvfMl+8NaKl0qjQ/dlHi4jC8fXvYBvTgOaKqXslRZWCsznsg/Np6heWrNHxdLtUrtwvgs2KG8DbJCKsxuEYUFRAUk0FN1vB1M/AYiCGtwt55qVw7Y7UkulF6cSWtH3f4o5dwz08fSqvFyAjyRPaa1U7S55ay0gQ8X3IDMVv2JzOaTa5ADUTo3AbwL9saiZoKGVC0nRxtqVigvlA/H3eoOZQtb/QAt5tJjJowWVGA4ZPnFaNK/GQJ0JD7oD/rWVChqj7xRSqUfffJBn4m7mzxXqZKl+BvnXhHeP+syt1qtjjL2PGCuFRX1XDi0Zq++CMKQ1iGq/3gOERC6yt/kt+iWKu1m8FdMjYPyeNfHMg19jJVUXN2d6NdDEPdVqVLUHgedd3X97o24GMUQDZrjG1wev5n+9vrt7Wu+ldurLdFkFI9iFlnjqZJ6YIifeP1emG/E9NVhgbd7Vv4PHoW7lidc09iWUgXehhRud5y828/bCJLhO+w+gsJ4YpXtlhv1L1c2DYs/1eg2kNzdR7CUTsk5M+NuC5ny/D/r31Rfzdyz97vn2XPx7U+6LwbTkVozo5eyrPkLInjEzcG7srlvoo7Z/9nbr7nRmvt8lPTe8EO3VbhKU7Q0ODua6zzK+uF5/XoGTfMvvZlVrQ==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Create template",permalink:"/docs/API-docs/createtemplate"},next:{title:"Update template by ID",permalink:"/docs/API-docs/update-template"}},f={},g=[{value:"Request",id:"request",level:2}];function y(e){const a={h2:"h2",p:"p",...(0,l.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(a.p,{children:"Get template by ID"})}),"\n",(0,t.jsx)(r(),{method:"get",path:"/template/{template_id}"}),"\n",(0,t.jsx)(a.p,{children:"The Get Template API allows you to retrieve details about a specific template. Templates serve as blueprints for creating documents with predefined structures."}),"\n",(0,t.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Path Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(d.Z,{className:"paramsItem",param:{name:"template_id",in:"path",description:"ID of template that needs to be fetched",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"strng"}}})})})]}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(d.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(i.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"successful operation"})}),(0,t.jsx)("div",{children:(0,t.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(p.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"x1Hbnms2Pg"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Title",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"sample template"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"template note"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Folder",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"folder name"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"File",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"https://templateuser.com"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Owner",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"template creator name"}}),(0,t.jsx)(p.Z,{collapsible:!0,className:"schemaItem",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details",children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsxs)("span",{className:"openapi-schema__container",children:[(0,t.jsx)("strong",{className:"openapi-schema__property",children:(0,t.jsx)(a.p,{children:"Signers"})}),(0,t.jsx)("span",{className:"openapi-schema__name",children:(0,t.jsx)(a.p,{children:"object[]"})})]})}),(0,t.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,t.jsx)("li",{children:(0,t.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,t.jsx)(a.p,{children:"Array ["})})}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"joe bee"}}),(0,t.jsx)("li",{children:(0,t.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,t.jsx)(a.p,{children:"]"})})})]})]})}),(0,t.jsx)(p.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(o.Z,{responseExample:'{\n "objectId": "x1Hbnms2Pg",\n "Title": "sample template",\n "Note": "template note",\n "Folder": "folder name",\n "File": "https://templateuser.com",\n "Owner": "template creator name",\n "Signers": [\n {\n "Name": "joe bee"\n }\n ],\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"404",value:"404",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Template not found!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(p.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Template not found!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(o.Z,{responseExample:'{\n "error": "Template not found!"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(p.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(o.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:a}={...(0,l.a)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(y,{...e})}):y(e)}}}]); \ No newline at end of file diff --git a/assets/js/52d5c0f9.2021ef58.js b/assets/js/52d5c0f9.2021ef58.js new file mode 100644 index 000000000..3a98b24c9 --- /dev/null +++ b/assets/js/52d5c0f9.2021ef58.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[8468],{65313:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>h,default:()=>g,frontMatter:()=>x,metadata:()=>j,toc:()=>y});var l=a(85893),t=a(11151),i=a(58219),n=(a(62316),a(51039)),d=a.n(n),o=(a(82723),a(9487)),r=a(41429),c=a(5397),m=a(4667),p=a(9472),u=a(85162);const x={id:"deletedocument",title:"Delete document by ID",description:"The Delete document API allows you to remove specific document from your documents.",sidebar_label:"Delete document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v2zYQ/ivcfWoA2ZKTtEOFYVi2BJ3RoAmaDAOWGAEtnSw2FMmSlGND0H8fTi+2bCdZMXT7klinO95zz909VAWeLxzEd3Cuk7JA5R3MAkjRJVYYL7SCGG5zZOco0SNLOy92dj1lXEr95Nhal8xrZrHQS2TOYCIykWxdM6sLcrIbkxtDANqg5ZRhmkIMaXN+7wABGG55gR4toatA8QIhhtWIGzHy+hEVBCAIXY48RQsBWPxaCospxN6WGIDza0kxThRGIgSAKyN1ihBnXDpySHIsOMQV+LVpPL0VagE1ufImKCaYyomFGq9WqxXUwQZKj/VBpD0Uw30O++xdW70UKTI9/4KJn6ZMZ1tuvGZt5d8TfwCZtgX3Q8u2IJMfz/Nj7lKo6xlldUYrh47OOY4i+rdbQD8ZHdKUuTJJ0LmslHL9AwSQaOWpaXEF3Bgpkqat4RdH4dUhzJYJ6rGlIfCiTd4T9FxBW/i/rgi8+d2cUJ86SGf+9aDj6PhkNIlG0Y+3k3fx6fv47btxFEV/QQCrQlJs31Tukc71wsvtc33g1vZs6NhZanI+jU5foVFpzzJdqvQ7cofWavs6B8/lrwcVCCWFwod+Hh5Oo9OHk01Bbw8LmqollyJtpOCWNvL/rWeY3rfpDxslWqdWMHaKHdrbIh0mpRV+3ejNUGjiuxltSoE+11utajTK5xBD2K9zWA1EoQY60i57BSutJLXy3rg4DJ3nC6EWI27MuJcYyedunOgi5EaEywlQ0h7UDRHXcrMDbcMQN+IjriH4Z6WkWoXKdBPc8XFlUN2IhWrYXE4OROw2F44J17zua2w6yzJt2V40m3OHKdOK+Rybl2Q/GU82l0MTOmb36l7d6AJZ6TArJZNCPbr4Xo3Y3VWWiURwyf7EuRMeZ2965p6eng4YO2piPgifl3Nm0eit+6IxNrQOozYPRxCAR1u4q+wG7VIk2HXphVRh4xx2o86TZtSx4IK625l+2Q+i0ZMiQeVwMJxnH64v2ck4gmAwHN8AObyc/nbx6eaCTqXxals0GUfjiExGO19wNUi0f3nP12x6vt/jaru7/9GN302qx5UPjeSi2cim8qpbpTsYfAHEwxt2FkCunSeXqqL5+sPKuibz1xIt7ewsgCW3gs9poO8qSIWj3+nmunyx2jefu5v3iH3zZf1sLf0qKtrDJZclPUEAj7je+2CoZ3XQ7+O/BvsSjDbdrgBs0NAXTOtwliRo/ODdgWDvqN75xeXF7QUEwEtq1VB4Hhvh6X5QOc8SsQuoxUB/CdGzAT/RyH3E9c8b9/bNiwGbT8HWm9iY1XX9N2B8ugE=",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},h=void 0,j={id:"API-docs/deletedocument",title:"Delete document by ID",description:"The Delete document API allows you to remove specific document from your documents.",source:"@site/docs/API-docs/deletedocument.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/deletedocument",permalink:"/docs/API-docs/deletedocument",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"deletedocument",title:"Delete document by ID",description:"The Delete document API allows you to remove specific document from your documents.",sidebar_label:"Delete document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v2zYQ/ivcfWoA2ZKTtEOFYVi2BJ3RoAmaDAOWGAEtnSw2FMmSlGND0H8fTi+2bCdZMXT7klinO95zz909VAWeLxzEd3Cuk7JA5R3MAkjRJVYYL7SCGG5zZOco0SNLOy92dj1lXEr95Nhal8xrZrHQS2TOYCIykWxdM6sLcrIbkxtDANqg5ZRhmkIMaXN+7wABGG55gR4toatA8QIhhtWIGzHy+hEVBCAIXY48RQsBWPxaCospxN6WGIDza0kxThRGIgSAKyN1ihBnXDpySHIsOMQV+LVpPL0VagE1ufImKCaYyomFGq9WqxXUwQZKj/VBpD0Uw30O++xdW70UKTI9/4KJn6ZMZ1tuvGZt5d8TfwCZtgX3Q8u2IJMfz/Nj7lKo6xlldUYrh47OOY4i+rdbQD8ZHdKUuTJJ0LmslHL9AwSQaOWpaXEF3Bgpkqat4RdH4dUhzJYJ6rGlIfCiTd4T9FxBW/i/rgi8+d2cUJ86SGf+9aDj6PhkNIlG0Y+3k3fx6fv47btxFEV/QQCrQlJs31Tukc71wsvtc33g1vZs6NhZanI+jU5foVFpzzJdqvQ7cofWavs6B8/lrwcVCCWFwod+Hh5Oo9OHk01Bbw8LmqollyJtpOCWNvL/rWeY3rfpDxslWqdWMHaKHdrbIh0mpRV+3ejNUGjiuxltSoE+11utajTK5xBD2K9zWA1EoQY60i57BSutJLXy3rg4DJ3nC6EWI27MuJcYyedunOgi5EaEywlQ0h7UDRHXcrMDbcMQN+IjriH4Z6WkWoXKdBPc8XFlUN2IhWrYXE4OROw2F44J17zua2w6yzJt2V40m3OHKdOK+Rybl2Q/GU82l0MTOmb36l7d6AJZ6TArJZNCPbr4Xo3Y3VWWiURwyf7EuRMeZ2965p6eng4YO2piPgifl3Nm0eit+6IxNrQOozYPRxCAR1u4q+wG7VIk2HXphVRh4xx2o86TZtSx4IK625l+2Q+i0ZMiQeVwMJxnH64v2ck4gmAwHN8AObyc/nbx6eaCTqXxals0GUfjiExGO19wNUi0f3nP12x6vt/jaru7/9GN302qx5UPjeSi2cim8qpbpTsYfAHEwxt2FkCunSeXqqL5+sPKuibz1xIt7ewsgCW3gs9poO8qSIWj3+nmunyx2jefu5v3iH3zZf1sLf0qKtrDJZclPUEAj7je+2CoZ3XQ7+O/BvsSjDbdrgBs0NAXTOtwliRo/ODdgWDvqN75xeXF7QUEwEtq1VB4Hhvh6X5QOc8SsQuoxUB/CdGzAT/RyH3E9c8b9/bNiwGbT8HWm9iY1XX9N2B8ugE=",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Update document by ID",permalink:"/docs/API-docs/update-document"},next:{title:"Get document list by doctype",permalink:"/docs/API-docs/getdocumentlist"}},f={},y=[{value:"Request",id:"request",level:2}];function b(e){const s={h2:"h2",p:"p",...(0,t.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(s.p,{children:"Delete document by ID"})}),"\n",(0,l.jsx)(d(),{method:"delete",path:"/document/{document_id}"}),"\n",(0,l.jsx)(s.p,{children:"The Delete document API allows you to remove specific document from your documents."}),"\n",(0,l.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(r.Z,{className:"paramsItem",param:{name:"document_id",in:"path",description:"Provide objectId of document to delete",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string",example:"ph2bh2asd"}}})})})]}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(r.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsxs)(u.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Document deleted successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Bxh2aspHp3"}}),(0,l.jsx)(m.Z,{collapsible:!1,name:"deletedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "objectId": "Bxh2aspHp3",\n "deletedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(u.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Document not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Document not found!"}})})]})}),(0,l.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "error": "Document not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(u.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function g(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(b,{...e})}):b(e)}}}]); \ No newline at end of file diff --git a/assets/js/52d5c0f9.296814e0.js b/assets/js/52d5c0f9.296814e0.js deleted file mode 100644 index bcb89b3fc..000000000 --- a/assets/js/52d5c0f9.296814e0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[8468],{65313:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>x,default:()=>v,frontMatter:()=>h,metadata:()=>j,toc:()=>y});var l=a(85893),n=a(11151),t=a(58219),i=(a(62316),a(51039)),d=a.n(i),c=(a(82723),a(9487)),r=a(41429),m=a(5397),o=a(4667),p=a(9472),u=a(85162);const h={id:"deletedocument",title:"Delete document by ID",description:"delete a document",sidebar_label:"Delete document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1r40YQ/ivb+XQB2ZKT3JWKUpo24WouNKFOKdQxYS2NrL1Iu3u7K8dG6L+X0Zvll6RHOfrFlmaf2XnmXSU4vrIQzuFaRUWO0llYeBCjjYzQTigJIcSYoUPGWdxiwAOl0XA6n8Y9YnCsueE5OjR0dwmS5wghbEZci5FTzyjBA0F3p8hjNOCBwS+FMBhD6EyBHli3zUjHilxnCB7gRmcqRggTnlkCRCnmHMIS3FbXSGeEXEFFUF4rhURTWrGS481ms4HK66l0XJ9E3FHR3KVw6Pu9UWsRI1PLzxi5acxU0oeBOcUaz78lfw8SZXLuhpKdQzo9X6bn3MZQVQuyarWSFi3dcx4E9LfvQJfXlmnMbBFFaG1SZNn2O/AgUtJR0sISuNaZiOq0+p8tqZfHNJtIUI4NFYETjfEuQKcc2tH/ZUPk9W/6gvLUUrpybyudB+cXo0kwCr5/mHwIL38I338YB0HwN3iwyTPS7ZLKHdK9Trhs914dwZqcDYGtpCLwZXD5RhilcixRhYy/YezQGGXejsEp+9XAAyEzIfGpq4eny+Dy6aJ36P2xQ1O55pmI2dX9lD1QR/6//gzNu8b8caJEA2oGxp6zQ3njpMWoMMJt63kzHDThfEGdkqNL1W5W1TPKpRCC37WzXw6GQgV0pVl3E6wwGU0r57QNfd86vhJyNeJaj7sRk/GlHUcq97kW/noCZLQjNaPANbHZo9ZHiGvxCbfg/fukJF+FTFSt3MbjTqOciZWso7meHA2xh1RYJmx93PlYZ5YlyrADbbbkFmOmJHMp1ockvxhPmNUYiaQtijF7lI9ypnJkhcWkyFgm5LMNH+WIze+SRESCZ+wvXFrhcPGui9zLy8tRxM5qnY/CpcWSGdRqB1/VwjqsQ63+5Qw8cGhye5fM0KxFhG2WXjHl12C/LXUe1aWOOReU3Vb086ESlV4mIpQWB8V59fH+ll2MA/AGxfEVlP3b6a83v89u6FYqryZFk3EwDkiklXU5lwND18367bfOcsum14c5Lne9e3Jft3XmcON8nXFR91PNu2wbYQ4DeDjcjwsPUmUdQcqSquNPk1UVib8UaKjjFh6suRF8SeU4LyEWlp7jftm9yvXdH+3ePGNfvWpP+tI1kqQuWvOsoDfw4Bm3B+u+WlRe103/mexrNBpz++3bs6HvjwZwFUWo3eDsaNzuzazrm9ubhxvwgBeUquHYeK7HRvtA7pwMxD6hhgP9EqOTCj9S03/C7U89vDl5VaH/kGvQFI1FVVX/ACRfiX0=",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/deletedocument",title:"Delete document by ID",description:"delete a document",source:"@site/docs/API-docs/deletedocument.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/deletedocument",permalink:"/docs/API-docs/deletedocument",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"deletedocument",title:"Delete document by ID",description:"delete a document",sidebar_label:"Delete document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1r40YQ/ivb+XQB2ZKT3JWKUpo24WouNKFOKdQxYS2NrL1Iu3u7K8dG6L+X0Zvll6RHOfrFlmaf2XnmXSU4vrIQzuFaRUWO0llYeBCjjYzQTigJIcSYoUPGWdxiwAOl0XA6n8Y9YnCsueE5OjR0dwmS5wghbEZci5FTzyjBA0F3p8hjNOCBwS+FMBhD6EyBHli3zUjHilxnCB7gRmcqRggTnlkCRCnmHMIS3FbXSGeEXEFFUF4rhURTWrGS481ms4HK66l0XJ9E3FHR3KVw6Pu9UWsRI1PLzxi5acxU0oeBOcUaz78lfw8SZXLuhpKdQzo9X6bn3MZQVQuyarWSFi3dcx4E9LfvQJfXlmnMbBFFaG1SZNn2O/AgUtJR0sISuNaZiOq0+p8tqZfHNJtIUI4NFYETjfEuQKcc2tH/ZUPk9W/6gvLUUrpybyudB+cXo0kwCr5/mHwIL38I338YB0HwN3iwyTPS7ZLKHdK9Trhs914dwZqcDYGtpCLwZXD5RhilcixRhYy/YezQGGXejsEp+9XAAyEzIfGpq4eny+Dy6aJ36P2xQ1O55pmI2dX9lD1QR/6//gzNu8b8caJEA2oGxp6zQ3njpMWoMMJt63kzHDThfEGdkqNL1W5W1TPKpRCC37WzXw6GQgV0pVl3E6wwGU0r57QNfd86vhJyNeJaj7sRk/GlHUcq97kW/noCZLQjNaPANbHZo9ZHiGvxCbfg/fukJF+FTFSt3MbjTqOciZWso7meHA2xh1RYJmx93PlYZ5YlyrADbbbkFmOmJHMp1ockvxhPmNUYiaQtijF7lI9ypnJkhcWkyFgm5LMNH+WIze+SRESCZ+wvXFrhcPGui9zLy8tRxM5qnY/CpcWSGdRqB1/VwjqsQ63+5Qw8cGhye5fM0KxFhG2WXjHl12C/LXUe1aWOOReU3Vb086ESlV4mIpQWB8V59fH+ll2MA/AGxfEVlP3b6a83v89u6FYqryZFk3EwDkiklXU5lwND18367bfOcsum14c5Lne9e3Jft3XmcON8nXFR91PNu2wbYQ4DeDjcjwsPUmUdQcqSquNPk1UVib8UaKjjFh6suRF8SeU4LyEWlp7jftm9yvXdH+3ePGNfvWpP+tI1kqQuWvOsoDfw4Bm3B+u+WlRe103/mexrNBpz++3bs6HvjwZwFUWo3eDsaNzuzazrm9ubhxvwgBeUquHYeK7HRvtA7pwMxD6hhgP9EqOTCj9S03/C7U89vDl5VaH/kGvQFI1FVVX/ACRfiX0=",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Update document by ID",permalink:"/docs/API-docs/update-document"},next:{title:"Get document list by doctype",permalink:"/docs/API-docs/getdocumentlist"}},f={},y=[{value:"Request",id:"request",level:2}];function b(e){const s={h2:"h2",p:"p",...(0,n.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(s.p,{children:"Delete document by ID"})}),"\n",(0,l.jsx)(d(),{method:"delete",path:"/document/{document_id}"}),"\n",(0,l.jsx)(s.p,{children:"delete a document"}),"\n",(0,l.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(r.Z,{className:"paramsItem",param:{name:"document_id",in:"path",description:"Provide objectId of document to delete",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string",example:"ph2bh2asd"}}})})})]}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(r.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(t.Z,{children:[(0,l.jsxs)(u.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Document deleted successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(o.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Bxh2aspHp3"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"deletedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "objectId": "Bxh2aspHp3",\n "deletedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(u.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Document not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Document not found!"}})})]})}),(0,l.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "error": "Document not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(u.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(b,{...e})}):b(e)}}}]); \ No newline at end of file diff --git a/assets/js/5a2de241.5942955c.js b/assets/js/5a2de241.5942955c.js new file mode 100644 index 000000000..6b580e21a --- /dev/null +++ b/assets/js/5a2de241.5942955c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[8163],{85763:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>x,default:()=>y,frontMatter:()=>u,metadata:()=>j,toc:()=>g});var l=s(85893),t=s(11151),i=s(58219),n=(s(62316),s(51039)),r=s.n(n),d=(s(82723),s(9487)),p=s(41429),m=s(5397),o=s(4667),c=s(9472),h=s(85162);const u={id:"update-template",title:"Update template by ID",description:"The Update Template API enables you to modify and update the details of a specific template.",sidebar_label:"Update template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV21v2zYQ/ivcfUoB2ZaTtMX0aVmTpcGKxGgcDFhiGLR0splQJEtSfoGh/z6cXmw5TtKmyDZ/sqh7eZ67491pDZ5PHUS3MMTMSO7RwSiABF1shfFCK4hgOEN2YxLukTVS7GRwwVDxiUTHVjpnXrNMJyJdMa4SllfSfoYsQc+FdEynjDNnMBapiJmv7XQhAG3QcnJ1kUAElWrjBwIw3PIMPVqCuQbFM4QIlh1uRMfrB1QQgCCYM+QJWgjA4rdcWEwg8jbHAJxfSdJxIjOSTOLSSJ0gRCmXjgTiGWYcojX4lSklvRVqCgWJ8lIpIpjKianqLpfLJRTBBkrDZSySBorhfgaPw3hxSkGgmDQazM+4ZwoxcRTACdaBS96SRACpthn3LVrFqLKPzv+ukxXp7EIdWD0XCbIJSr1gmwwQyCa1TbmwA+6ZRO480wpbsg2BdxBArJVH5ckRN0aKuMx3796Rt/U+dD25x9hT8i1Vhxfo6O1lGfDvE2ynzZV/Nngpp5fav9rMgCgiszgXuChrnGqB+ZlwLNFxnhG9IoDTdhxf52JTFe1cFAH8oWWCli7H6+wt792E98/5cgBFEYAXfsfNuFW34wmVQVGQnEVntHJVxA/DcL86Nk2grlbm8jhG59JcytUvb5fu6vhp4lua3CWHn93g+LOhYNWQTvzLSofh4VGnH3bCj8P+h+j41+j9h24Yhn9DAMtMkm59uZO6ZproVc+tA6GkUDhuojY+DMPxYR3K46eiV1eSqa/YnEuRsFSgTBj5dG8YQLRW25+s9BfwvUSfKDfkj18oHaU9S3Wukv+b7lOIXiZ4PP64ofh+n+KFqkJGE3JI8+m/YLjl03bvK/cEdbeqRSVUjc8dsu3zimSGfqZpMpu8BESjLYJe0z1661YfKSAAh3beDOvcShrM3hsX9XrO86lQ0w43pttMU8knrhvrrMeN6M37QKPJYZxb4VfXFJWKeHvcb+lzI/7EFQTfXwqICAX763bqnTUha+bK3qhoJsWPNf9Hvf/pdt7u5jsNmuCmuuRW5+LKoLomN5TJeX9vnRiSd+HK1w2IsqpYqi17pM0m3GHCtCr3D3pJ50fd/mYlK1W77E7dqWudIcsdprlkUqgHF92pDru9SlMRCy7ZXzhxwuPooEnsYrHYS+i7Uudc+Fk+YRaN3opPy8My622tzQNtDB5t5q7Sa7RzEWNdRM+46pXCvfqa8bi8ZphxQcVXH/32WIlCLkWMymHrYpycD76wo24IQat2fwBy78vFp7PL6zOyStVfpajfDbshHRntfMZVy9HN7hrFJit2cfo4x+tt3/i3l/D6Rnlc+p6RXJRtoQzBur7yt9C6GFF76R0FMNPOk8h6TYV2Y2VR0PG3HO0KottRAHNuBSEt+0IiHP1PNsvrs7QPvjZrJHvd/vwkoaZvKGoacy5zeoIAHnD1aJEvRkXQNI+fRvwcjMrdbrfaoKEvi0rgU2WzMyQbW4m9AbLVOIljNP5F2VGrow9uhhDApP4EyMqvCbB8QZ8ffAER3MEdlF9oZKBsxOX5GiRX05xPSb4yS79/AMFp7ug=",sidebar_class_name:"put api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/update-template",title:"Update template by ID",description:"The Update Template API enables you to modify and update the details of a specific template.",source:"@site/docs/API-docs/update-template.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/update-template",permalink:"/docs/API-docs/update-template",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"update-template",title:"Update template by ID",description:"The Update Template API enables you to modify and update the details of a specific template.",sidebar_label:"Update template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV21v2zYQ/ivcfUoB2ZaTtMX0aVmTpcGKxGgcDFhiGLR0splQJEtSfoGh/z6cXmw5TtKmyDZ/sqh7eZ67491pDZ5PHUS3MMTMSO7RwSiABF1shfFCK4hgOEN2YxLukTVS7GRwwVDxiUTHVjpnXrNMJyJdMa4SllfSfoYsQc+FdEynjDNnMBapiJmv7XQhAG3QcnJ1kUAElWrjBwIw3PIMPVqCuQbFM4QIlh1uRMfrB1QQgCCYM+QJWgjA4rdcWEwg8jbHAJxfSdJxIjOSTOLSSJ0gRCmXjgTiGWYcojX4lSklvRVqCgWJ8lIpIpjKianqLpfLJRTBBkrDZSySBorhfgaPw3hxSkGgmDQazM+4ZwoxcRTACdaBS96SRACpthn3LVrFqLKPzv+ukxXp7EIdWD0XCbIJSr1gmwwQyCa1TbmwA+6ZRO480wpbsg2BdxBArJVH5ckRN0aKuMx3796Rt/U+dD25x9hT8i1Vhxfo6O1lGfDvE2ynzZV/Nngpp5fav9rMgCgiszgXuChrnGqB+ZlwLNFxnhG9IoDTdhxf52JTFe1cFAH8oWWCli7H6+wt792E98/5cgBFEYAXfsfNuFW34wmVQVGQnEVntHJVxA/DcL86Nk2grlbm8jhG59JcytUvb5fu6vhp4lua3CWHn93g+LOhYNWQTvzLSofh4VGnH3bCj8P+h+j41+j9h24Yhn9DAMtMkm59uZO6ZproVc+tA6GkUDhuojY+DMPxYR3K46eiV1eSqa/YnEuRsFSgTBj5dG8YQLRW25+s9BfwvUSfKDfkj18oHaU9S3Wukv+b7lOIXiZ4PP64ofh+n+KFqkJGE3JI8+m/YLjl03bvK/cEdbeqRSVUjc8dsu3zimSGfqZpMpu8BESjLYJe0z1661YfKSAAh3beDOvcShrM3hsX9XrO86lQ0w43pttMU8knrhvrrMeN6M37QKPJYZxb4VfXFJWKeHvcb+lzI/7EFQTfXwqICAX763bqnTUha+bK3qhoJsWPNf9Hvf/pdt7u5jsNmuCmuuRW5+LKoLomN5TJeX9vnRiSd+HK1w2IsqpYqi17pM0m3GHCtCr3D3pJ50fd/mYlK1W77E7dqWudIcsdprlkUqgHF92pDru9SlMRCy7ZXzhxwuPooEnsYrHYS+i7Uudc+Fk+YRaN3opPy8My622tzQNtDB5t5q7Sa7RzEWNdRM+46pXCvfqa8bi8ZphxQcVXH/32WIlCLkWMymHrYpycD76wo24IQat2fwBy78vFp7PL6zOyStVfpajfDbshHRntfMZVy9HN7hrFJit2cfo4x+tt3/i3l/D6Rnlc+p6RXJRtoQzBur7yt9C6GFF76R0FMNPOk8h6TYV2Y2VR0PG3HO0KottRAHNuBSEt+0IiHP1PNsvrs7QPvjZrJHvd/vwkoaZvKGoacy5zeoIAHnD1aJEvRkXQNI+fRvwcjMrdbrfaoKEvi0rgU2WzMyQbW4m9AbLVOIljNP5F2VGrow9uhhDApP4EyMqvCbB8QZ8ffAER3MEdlF9oZKBsxOX5GiRX05xPSb4yS79/AMFp7ug=",sidebar_class_name:"put api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get template by ID",permalink:"/docs/API-docs/get-template"},next:{title:"Delete template by ID",permalink:"/docs/API-docs/delete-template"}},f={},g=[{value:"Request",id:"request",level:2}];function v(e){const a={h2:"h2",p:"p",...(0,t.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(a.p,{children:"Update template by ID"})}),"\n",(0,l.jsx)(r(),{method:"put",path:"/template/{template_id}"}),"\n",(0,l.jsx)(a.p,{children:"The Update Template API enables you to modify and update the details of a specific template."}),"\n",(0,l.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(p.Z,{className:"paramsItem",param:{name:"template_id",in:"path",description:"ID of the template that needs to be updated",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string"}}})})})]}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(p.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json-schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,l.jsx)(a.p,{children:"Body"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"},children:(0,l.jsx)("div",{style:{marginTop:"1rem",marginBottom:"1rem"},children:(0,l.jsx)(a.p,{children:"Provide below parameter to update templates (at least one parameter required)"})})}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(o.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"sample template"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Please review and sign this document"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"Description",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"template description"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"FolderId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"xjsba1GaxP"}})]})]})})}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template updated successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(o.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"asd2HsP4Hp"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "objectId": "asd2HsP4Hp",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"400",value:"400",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Please provide valid field names!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Please provide valid field names!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "error": "Please provide valid field names!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Template not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "error": "Template not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function y(e={}){const{wrapper:a}={...(0,t.a)(),...e.components};return a?(0,l.jsx)(a,{...e,children:(0,l.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/5a2de241.652d37f8.js b/assets/js/5a2de241.652d37f8.js deleted file mode 100644 index 89bc0b055..000000000 --- a/assets/js/5a2de241.652d37f8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[8163],{85763:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>x,default:()=>y,frontMatter:()=>u,metadata:()=>j,toc:()=>g});var l=s(85893),t=s(11151),i=s(58219),n=(s(62316),s(51039)),r=s.n(n),d=(s(82723),s(9487)),m=s(41429),p=s(5397),c=s(4667),o=s(9472),h=s(85162);const u={id:"update-template",title:"Update template by ID",description:"Update template by ID",sidebar_label:"Update template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV21P20gQ/it784lKTuIE2ur86bjC0egqQAV00kEUbexxsrDe3e6u86LI/70avyQOAVoqdJdP8Xpm53nm3WvwfOoguoVrzIzkHh2MAtAGLfdCq2ECEeQm4R4bAQjAcMsz9GhJcw2KZwgRLDvciI7XD6ggAKEgghnyBC0EYPFbLiwmEHmbYwDOryTpOJEZSVfi0kidIEQpl44E4hlmHKI1+JUpJb0VagoFifJSKSKYyomp6i6XyyUUwQaKr7GORdJAMdzPIIAEXWyFIW4QwfCE6ZT5GbJGg/kZ90whJo55zSbIKvbJW5IIINU2475FqxhV96Pzf+pkRTq7UI3Vc5Egm6DUC7aJAIGsEG4oOHbAPZPInWdaYUu2IfAOAoi18qg8GeLGSBGX8e7dO7K23oeuJ/cYewq+pezwAh29PS8d/mOC7bC58s8GL8X0XPtXX3NJFJFZnAtcMK4SRrnA/Ew4lug4z4heEcBJ24+vM7HJinYsigD+0jJBS8XxuvuW927C+2d8eQlFEYAXfsfMuJW34wmlQVGQnEVntHKVxwdhuJ8dTXE22cpcHsfoXJpLufrt7cJdHT9NfEuTu2Tw2V0efTbkrBrSsX9ZaRAODjv9sBN+vO5/iI5+j95/6IZh+C8EsMwk6dbFndQ503ivem4dCCWFwnHjtfEgDMeD2pVHT3mvzqSmxOZcioSlAmXCyKZ7Qweitdr+Yqa/gO8l+kS5IX/0Quoo7Vmqc5X833SfQvQywaPxxw3F9/sUh6py2fHlkF3TfPovGG75tM37yjxB3c1qUQlV43OHbPu8IrnL7ma3/bPJig1PIIAM/UzT/DZ5CZsGYAS9Rq63bnWbAgJwaOfNSM+tpPHtvXFRr+c8nwo17XBjus3MlXziurHOetyI3rwPNMAcxrkVfnVFvqvc014Ktk7iRvyNKwh+vDoQXQrJ1+1sPG0c20yfvYHSzJOfGxGPJsTTTb/d83faOMFNdcmtjtiFQXVFZije8/7e0nFN1oUrXzcgytxjqbbskTabcIcJ06rcUuglnR92+8wZjEVap22X3ak7daUzZLnDNJdMCvXgojvVYbcXaSpiwSX7BydOeBwdNIFdLBZ7AX1X6pwJP8snzKLRW/FpeVhGva21eaC9wqPN3EV6hXYuYqyT6BlTvVK4Vxcjj8tixIwLSr766I/HSuRyKWJUDlvlc3x2+YUddkMIWrn7E5B7X4afTs+vTulWyv4qRP1u2A3pyGjnM65ahp6rtuTJLcPj0veM5KKs6RLZuq7EW2jla9TeWEcBzLTzJLJeU/xvrCwKOv6Wo11BdDsKYM6t4BNKuNs1JMLR/2SzeT5Cs+l1cPC12QHZ65bfJwk15ayoludc5vQEATzg6tEWXoyKoKnpX0b8HIzK3G4T2aChz4JK4FN1Z+ea7thK7HX/rcZxHKPxL8qOWo328uYaApjU+3tWfgqA5Qv6duALiOAO7sg9uqRZ9sfyfA2Sq2nOpyRfXUu/72e5sKg=",sidebar_class_name:"put api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/update-template",title:"Update template by ID",description:"Update template by ID",source:"@site/docs/API-docs/update-template.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/update-template",permalink:"/docs/API-docs/update-template",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"update-template",title:"Update template by ID",description:"Update template by ID",sidebar_label:"Update template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV21P20gQ/it784lKTuIE2ur86bjC0egqQAV00kEUbexxsrDe3e6u86LI/70avyQOAVoqdJdP8Xpm53nm3WvwfOoguoVrzIzkHh2MAtAGLfdCq2ECEeQm4R4bAQjAcMsz9GhJcw2KZwgRLDvciI7XD6ggAKEgghnyBC0EYPFbLiwmEHmbYwDOryTpOJEZSVfi0kidIEQpl44E4hlmHKI1+JUpJb0VagoFifJSKSKYyomp6i6XyyUUwQaKr7GORdJAMdzPIIAEXWyFIW4QwfCE6ZT5GbJGg/kZ90whJo55zSbIKvbJW5IIINU2475FqxhV96Pzf+pkRTq7UI3Vc5Egm6DUC7aJAIGsEG4oOHbAPZPInWdaYUu2IfAOAoi18qg8GeLGSBGX8e7dO7K23oeuJ/cYewq+pezwAh29PS8d/mOC7bC58s8GL8X0XPtXX3NJFJFZnAtcMK4SRrnA/Ew4lug4z4heEcBJ24+vM7HJinYsigD+0jJBS8XxuvuW927C+2d8eQlFEYAXfsfMuJW34wmlQVGQnEVntHKVxwdhuJ8dTXE22cpcHsfoXJpLufrt7cJdHT9NfEuTu2Tw2V0efTbkrBrSsX9ZaRAODjv9sBN+vO5/iI5+j95/6IZh+C8EsMwk6dbFndQ503ivem4dCCWFwnHjtfEgDMeD2pVHT3mvzqSmxOZcioSlAmXCyKZ7Qweitdr+Yqa/gO8l+kS5IX/0Quoo7Vmqc5X833SfQvQywaPxxw3F9/sUh6py2fHlkF3TfPovGG75tM37yjxB3c1qUQlV43OHbPu8IrnL7ma3/bPJig1PIIAM/UzT/DZ5CZsGYAS9Rq63bnWbAgJwaOfNSM+tpPHtvXFRr+c8nwo17XBjus3MlXziurHOetyI3rwPNMAcxrkVfnVFvqvc014Ktk7iRvyNKwh+vDoQXQrJ1+1sPG0c20yfvYHSzJOfGxGPJsTTTb/d83faOMFNdcmtjtiFQXVFZije8/7e0nFN1oUrXzcgytxjqbbskTabcIcJ06rcUuglnR92+8wZjEVap22X3ak7daUzZLnDNJdMCvXgojvVYbcXaSpiwSX7BydOeBwdNIFdLBZ7AX1X6pwJP8snzKLRW/FpeVhGva21eaC9wqPN3EV6hXYuYqyT6BlTvVK4Vxcjj8tixIwLSr766I/HSuRyKWJUDlvlc3x2+YUddkMIWrn7E5B7X4afTs+vTulWyv4qRP1u2A3pyGjnM65ahp6rtuTJLcPj0veM5KKs6RLZuq7EW2jla9TeWEcBzLTzJLJeU/xvrCwKOv6Wo11BdDsKYM6t4BNKuNs1JMLR/2SzeT5Cs+l1cPC12QHZ65bfJwk15ayoludc5vQEATzg6tEWXoyKoKnpX0b8HIzK3G4T2aChz4JK4FN1Z+ea7thK7HX/rcZxHKPxL8qOWo328uYaApjU+3tWfgqA5Qv6duALiOAO7sg9uqRZ9sfyfA2Sq2nOpyRfXUu/72e5sKg=",sidebar_class_name:"put api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get template by ID",permalink:"/docs/API-docs/get-template"},next:{title:"Delete template by ID",permalink:"/docs/API-docs/delete-template"}},f={},g=[{value:"Request",id:"request",level:2}];function v(e){const a={h2:"h2",p:"p",...(0,t.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(a.p,{children:"Update template by ID"})}),"\n",(0,l.jsx)(r(),{method:"put",path:"/template/{template_id}"}),"\n",(0,l.jsx)(a.p,{children:"Update template by ID"}),"\n",(0,l.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(m.Z,{className:"paramsItem",param:{name:"template_id",in:"path",description:"ID of the template that needs to be updated",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string"}}})})})]}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(m.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json-schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,l.jsx)(a.p,{children:"Body"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"},children:(0,l.jsx)("div",{style:{marginTop:"1rem",marginBottom:"1rem"},children:(0,l.jsx)(a.p,{children:"provide below parameter to update templates (at least one parameter required)"})})}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(c.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"sample template"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Please review and sign this document"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Description",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"template description"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"FolderId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"xjsba1GaxP"}})]})]})})}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template updated successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(c.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"asd2HsP4Hp"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(p.Z,{responseExample:'{\n "objectId": "asd2HsP4Hp",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"400",value:"400",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Please provide valid field names!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Please provide valid field names!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(p.Z,{responseExample:'{\n "error": "Please provide valid field names!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Template not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(p.Z,{responseExample:'{\n "error": "Template not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(p.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function y(e={}){const{wrapper:a}={...(0,t.a)(),...e.components};return a?(0,l.jsx)(a,{...e,children:(0,l.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/770b40a9.5dce35a3.js b/assets/js/770b40a9.5dce35a3.js deleted file mode 100644 index b622e9cc0..000000000 --- a/assets/js/770b40a9.5dce35a3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[1520],{9104:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>j,default:()=>v,frontMatter:()=>x,metadata:()=>u,toc:()=>g});var l=a(85893),t=a(11151),i=a(58219),n=(a(62316),a(51039)),r=a.n(n),m=(a(82723),a(9487)),p=a(41429),d=a(5397),c=a(4667),o=a(9472),h=a(85162);const x={id:"gettemplatelist",title:"Get template list",description:"Get template list",sidebar_label:"Get template list",hide_title:!0,hide_table_of_contents:!0,api:"eJy9VlFv4zYM/isan66AEzvp9Ybz04qh64od2mLJcMDaoFBsJlErSzpJThME/u8DZTtxkl4zDMM9Jab4iR/Jj5I24PncQfoAYyyM5B4dTCLQBi33QqubHFKYo/fNqhTOQwSGW16gR0vQDSheIKSw6nEjel6/oIIIhIIUFshztBCBxW+lsJhD6m2JETi/loRxojASIQJcGalzhHTGpSOHbIEFh3QDfm2Cp7dCzaEiVx5AKfFUTsxVf7VaraCKtlSkKIRvSXwr0a73OLQxGhIzbYsuhYbiIQNVFlO0ewwGSSeoexHmB8RMqgnt64xWDh35DpOEfnJ0mRWG+kZsyixD52alZNt2QgSZVh6VJ39ujBRZWIifHYE2xwT09Bmz0HNL23hRh7ToSuk7ftxaTgkLj4U7ja/NJK/DBkehNNx3LbuOrwa/T1XhhvdBCWPhyXq8xQ7gwh/WCphQt9qfALXeTOka8puWpON3QbPgw4IYCCJOUVt4b1wax2200qHtZ7og9N2rOhVvSzKzyL3eRR6JuQqj+V+bcxv0/F7sZ41sighVFYGvm7Dl89TGp8XADfNL//5+w2R43hskveTn8eBT+vFzevGpnyTJ3xDBqpCEbWYsb3rYBm2/S5P/gDjVoVtXVod1gKpbHaGkUPjUzu3TMEmeLsiliuBjcnE8vzdqyaXI2eX9DRvTmfrT/ze9aK0+oa5ueF+HP05f1E71kb+XbNdeJ7mf3TX67Uyy5lYp0C90c+GES8YvIIX44O5xaJftxVNa2Zkj5/lcqHmPG9NvbwbJp45mKuZGxMsB0NnpMCut8OsRVasuSPfq6oyNEX8gzc3JC44SFGqmA7gpwp1BRaMQSrgcwGEJxgvhmHBhOddZWaDyoZ1spi07QLMpd5gzrZhfYFgk+3l/wJzBTMwaJfTZo3pUI10gKx3S2S+FenHpo+qxh7vZTGSCS/YVp054nHxoK/f6+npUsbOAuRZ+UU6ZRaN37vNgDGXtorYfZxCBR1u4u9kI7VJk7Wn3nVBxcI4bffMs6BsLLqi7jemXQxDpTYoMlcOOIi+v77+w834CUUcc/4Jy/OXm16vb0RXtSvKqWzToJ/2ETEY7X3DVCfSWgPf6u1WRx5WPjeQijEhgtWnE/QB74p5EsNDOk32zoYb/ZWVVkbl+TpDkc+H4VHYeFC+47jx4llyWFDQ8hr7j27xTdq4T+rCCfCF9mFRRK+s3Ax5kuT2S4MOfzWPnjJEA3sq+JrA/R3uUa4fLLEPTTefosCPO2/Pi+moMVfUPQUupzA==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},j=void 0,u={id:"API-docs/gettemplatelist",title:"Get template list",description:"Get template list",source:"@site/docs/API-docs/gettemplatelist.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/gettemplatelist",permalink:"/docs/API-docs/gettemplatelist",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"gettemplatelist",title:"Get template list",description:"Get template list",sidebar_label:"Get template list",hide_title:!0,hide_table_of_contents:!0,api:"eJy9VlFv4zYM/isan66AEzvp9Ybz04qh64od2mLJcMDaoFBsJlErSzpJThME/u8DZTtxkl4zDMM9Jab4iR/Jj5I24PncQfoAYyyM5B4dTCLQBi33QqubHFKYo/fNqhTOQwSGW16gR0vQDSheIKSw6nEjel6/oIIIhIIUFshztBCBxW+lsJhD6m2JETi/loRxojASIQJcGalzhHTGpSOHbIEFh3QDfm2Cp7dCzaEiVx5AKfFUTsxVf7VaraCKtlSkKIRvSXwr0a73OLQxGhIzbYsuhYbiIQNVFlO0ewwGSSeoexHmB8RMqgnt64xWDh35DpOEfnJ0mRWG+kZsyixD52alZNt2QgSZVh6VJ39ujBRZWIifHYE2xwT09Bmz0HNL23hRh7ToSuk7ftxaTgkLj4U7ja/NJK/DBkehNNx3LbuOrwa/T1XhhvdBCWPhyXq8xQ7gwh/WCphQt9qfALXeTOka8puWpON3QbPgw4IYCCJOUVt4b1wax2200qHtZ7og9N2rOhVvSzKzyL3eRR6JuQqj+V+bcxv0/F7sZ41sighVFYGvm7Dl89TGp8XADfNL//5+w2R43hskveTn8eBT+vFzevGpnyTJ3xDBqpCEbWYsb3rYBm2/S5P/gDjVoVtXVod1gKpbHaGkUPjUzu3TMEmeLsiliuBjcnE8vzdqyaXI2eX9DRvTmfrT/ze9aK0+oa5ueF+HP05f1E71kb+XbNdeJ7mf3TX67Uyy5lYp0C90c+GES8YvIIX44O5xaJftxVNa2Zkj5/lcqHmPG9NvbwbJp45mKuZGxMsB0NnpMCut8OsRVasuSPfq6oyNEX8gzc3JC44SFGqmA7gpwp1BRaMQSrgcwGEJxgvhmHBhOddZWaDyoZ1spi07QLMpd5gzrZhfYFgk+3l/wJzBTMwaJfTZo3pUI10gKx3S2S+FenHpo+qxh7vZTGSCS/YVp054nHxoK/f6+npUsbOAuRZ+UU6ZRaN37vNgDGXtorYfZxCBR1u4u9kI7VJk7Wn3nVBxcI4bffMs6BsLLqi7jemXQxDpTYoMlcOOIi+v77+w834CUUcc/4Jy/OXm16vb0RXtSvKqWzToJ/2ETEY7X3DVCfSWgPf6u1WRx5WPjeQijEhgtWnE/QB74p5EsNDOk32zoYb/ZWVVkbl+TpDkc+H4VHYeFC+47jx4llyWFDQ8hr7j27xTdq4T+rCCfCF9mFRRK+s3Ax5kuT2S4MOfzWPnjJEA3sq+JrA/R3uUa4fLLEPTTefosCPO2/Pi+moMVfUPQUupzA==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Delete template by ID",permalink:"/docs/API-docs/delete-template"}},f={},g=[{value:"Request",id:"request",level:2}];function b(e){const s={h2:"h2",p:"p",...(0,t.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(s.p,{children:"Get template list"})}),"\n",(0,l.jsx)(r(),{method:"get",path:"/templatelist"}),"\n",(0,l.jsx)(s.p,{children:"Get template list"}),"\n",(0,l.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Query Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsxs)("ul",{children:[(0,l.jsx)(p.Z,{className:"paramsItem",param:{name:"limit",in:"query",required:!1,style:"form",explode:!0,schema:{type:"number"},example:10}}),(0,l.jsx)(p.Z,{className:"paramsItem",param:{name:"skip",in:"query",required:!1,style:"form",explode:!0,schema:{type:"number"},example:0}})]})})]}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(p.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"successful operation"})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!0,className:"schemaItem",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details",children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsxs)("span",{className:"openapi-schema__container",children:[(0,l.jsx)("strong",{className:"openapi-schema__property",children:(0,l.jsx)(s.p,{children:"result"})}),(0,l.jsx)("span",{className:"openapi-schema__name",children:(0,l.jsx)(s.p,{children:"template[]"})})]})}),(0,l.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,l.jsx)("li",{children:(0,l.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,l.jsx)(s.p,{children:"Array ["})})}),(0,l.jsx)(c.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"x1Hbnms2Pg"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Title",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"sample template"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"template note"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Folder",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"folder name"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"File",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"https://templateuser.com"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Owner",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"template creator name"}}),(0,l.jsx)(c.Z,{collapsible:!0,className:"schemaItem",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details",children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsxs)("span",{className:"openapi-schema__container",children:[(0,l.jsx)("strong",{className:"openapi-schema__property",children:(0,l.jsx)(s.p,{children:"Signers"})}),(0,l.jsx)("span",{className:"openapi-schema__name",children:(0,l.jsx)(s.p,{children:"object[]"})})]})}),(0,l.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,l.jsx)("li",{children:(0,l.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,l.jsx)(s.p,{children:"Array ["})})}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"joe bee"}}),(0,l.jsx)("li",{children:(0,l.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,l.jsx)(s.p,{children:"]"})})})]})]})}),(0,l.jsx)(c.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,l.jsx)("li",{children:(0,l.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,l.jsx)(s.p,{children:"]"})})})]})]})})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(d.Z,{responseExample:'{\n "result": [\n {\n "objectId": "x1Hbnms2Pg",\n "Title": "sample template",\n "Note": "template note",\n "Folder": "folder name",\n "File": "https://templateuser.com",\n "Owner": "template creator name",\n "Signers": [\n {\n "Name": "joe bee"\n }\n ],\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n }\n ]\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(b,{...e})}):b(e)}}}]); \ No newline at end of file diff --git a/assets/js/770b40a9.795c8a7a.js b/assets/js/770b40a9.795c8a7a.js new file mode 100644 index 000000000..4cd3218ff --- /dev/null +++ b/assets/js/770b40a9.795c8a7a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[1520],{9104:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>x,default:()=>y,frontMatter:()=>u,metadata:()=>j,toc:()=>g});var t=a(85893),l=a(11151),i=a(58219),n=(a(62316),a(51039)),r=a.n(n),m=(a(82723),a(9487)),c=a(41429),d=a(5397),p=a(4667),o=a(9472),h=a(85162);const u={id:"gettemplatelist",title:"Get template list",description:"The Get Template List API allows you to retrieve a list of available templates. This functionality provides an overview of all templates, enabling users to choose from existing templates when creating documents.",sidebar_label:"Get template list",hide_title:!0,hide_table_of_contents:!0,api:"eJzdVttu4zYQ/RV2njaAYsvJZovqqUGRpkGDJGhcFGhiBLQ0sphQJJekfIGhfy+GkmzZbuKiKPahT7aGcziHc1+D5zMHyROMsTSSe3QwiSBDl1phvNAKEhgXyK7Rs06F3Qrn2eXDDeNS6oVjK10xr5lFbwXOkXEmSUPnjM+5kHwqkfnu/gEbF8KxvFIp3c+l8CtmrJ6LDB3jiuk52rnARcBLuUVGDBWfSqFmrHJoHdlMC60dstzqkuFSOE+nGwRbFKhYapEHeabTqkTl3QAi0AYtJwY3GSQwQ9+hiDtEYLjlJXq05J41KF4iJLA85Uacev2GCiIQ5J4CeYYWIrD4tRIWM0i8rTAC51eSME6URiJEgEsjdYaQ5Fw6UkgLLDkka/ArEzS9FWoGNanyAEqIp3JipgbL5XIJdbShIkUpfEfia4V2tcOhs9GSyLUt+xRaivsMVFVO0e4wGMU9o+5NmG9gM64ndK8zWjl0pHsWx/Szm5muSlN0Lq8k24QTIki18qg86XNjpEjDwfDVEWh9SEBPXzENMbd0jReNSYuukr6nx63l9GDhsXTH8Y2Y0ms/wFFwDfd9yTbiy9EvU1W6s4eQCWPhSXp4xRbgwp9N2hPqTvsjoE6bKd1AftaS8vhDUB50WEgGgohj1ArvjUuGw84aFe4g1SWh7xfqmL0NyVDDemv5UcxUKM1/G5y7kM8f2X7VyKaIUNcR+CYIGz4vnX06DNwwu/Qf33cWn52fjuLT+Pvx6Evy+Yfk4ssgjuM/IYJlKQnb1ljWxrAz2n1XJvsGdup9tX5a7fsB6r53hJJC4UtXty9ncfxyQSp1BJ/ji8P6vVFzLkUWZsmYeup3/131orX6SHb1zfvG/OHzRaPUtPydx/blzSNL9IVux0kYIb6ABIZ7k8WhnXdjpbKyVyXO85lQs1NuzKDr+5JPHVXMkBsxnI+AOqPDtLLCrx7JF81z+4OpVxRG/IpUFUfHF9EXKtcB3D7x3qCiRA8Omo/gcDEQjgkXjrvZGoLFcm3ZHppNucOMacV8geGQ5OeDEXMGU5G3cR6wZ/WsHnWJNOSps0uh3lzyrE7Z032ei1Rwyf7AqRMeJ586zy0WiwOPnQTMtfBFNWUWjd6qz4IwuLWP2nycQAQebenu80faRtKul71jahiUh2328jRkL5ZcUHRb0Y/7IMomKVJUDnv5dnn9cMvOBzFEveT4B5SHtzc/Xd09XtGtlF5NiEaDeBCTyGjnS656hmil2/TXNjV34rveluL/dAdsq8Tj0g+N5CIUePD6ui3eJ9gp3kkEhXae5Os1JfTvVtY1iZtliEo6E45eu12H3nDVW9fmXFZkNKxy7+i2W9ZWdUIfVpAuJE+TOurK9m8NvhvFT7+1q9oJe+/1DYHdPrFDuVG4TFM0/ecctGrivOmH11djqOu/ADRuQ8A=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/gettemplatelist",title:"Get template list",description:"The Get Template List API allows you to retrieve a list of available templates. This functionality provides an overview of all templates, enabling users to choose from existing templates when creating documents.",source:"@site/docs/API-docs/gettemplatelist.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/gettemplatelist",permalink:"/docs/API-docs/gettemplatelist",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"gettemplatelist",title:"Get template list",description:"The Get Template List API allows you to retrieve a list of available templates. This functionality provides an overview of all templates, enabling users to choose from existing templates when creating documents.",sidebar_label:"Get template list",hide_title:!0,hide_table_of_contents:!0,api:"eJzdVttu4zYQ/RV2njaAYsvJZovqqUGRpkGDJGhcFGhiBLQ0sphQJJekfIGhfy+GkmzZbuKiKPahT7aGcziHc1+D5zMHyROMsTSSe3QwiSBDl1phvNAKEhgXyK7Rs06F3Qrn2eXDDeNS6oVjK10xr5lFbwXOkXEmSUPnjM+5kHwqkfnu/gEbF8KxvFIp3c+l8CtmrJ6LDB3jiuk52rnARcBLuUVGDBWfSqFmrHJoHdlMC60dstzqkuFSOE+nGwRbFKhYapEHeabTqkTl3QAi0AYtJwY3GSQwQ9+hiDtEYLjlJXq05J41KF4iJLA85Uacev2GCiIQ5J4CeYYWIrD4tRIWM0i8rTAC51eSME6URiJEgEsjdYaQ5Fw6UkgLLDkka/ArEzS9FWoGNanyAEqIp3JipgbL5XIJdbShIkUpfEfia4V2tcOhs9GSyLUt+xRaivsMVFVO0e4wGMU9o+5NmG9gM64ndK8zWjl0pHsWx/Szm5muSlN0Lq8k24QTIki18qg86XNjpEjDwfDVEWh9SEBPXzENMbd0jReNSYuukr6nx63l9GDhsXTH8Y2Y0ms/wFFwDfd9yTbiy9EvU1W6s4eQCWPhSXp4xRbgwp9N2hPqTvsjoE6bKd1AftaS8vhDUB50WEgGgohj1ArvjUuGw84aFe4g1SWh7xfqmL0NyVDDemv5UcxUKM1/G5y7kM8f2X7VyKaIUNcR+CYIGz4vnX06DNwwu/Qf33cWn52fjuLT+Pvx6Evy+Yfk4ssgjuM/IYJlKQnb1ljWxrAz2n1XJvsGdup9tX5a7fsB6r53hJJC4UtXty9ncfxyQSp1BJ/ji8P6vVFzLkUWZsmYeup3/131orX6SHb1zfvG/OHzRaPUtPydx/blzSNL9IVux0kYIb6ABIZ7k8WhnXdjpbKyVyXO85lQs1NuzKDr+5JPHVXMkBsxnI+AOqPDtLLCrx7JF81z+4OpVxRG/IpUFUfHF9EXKtcB3D7x3qCiRA8Omo/gcDEQjgkXjrvZGoLFcm3ZHppNucOMacV8geGQ5OeDEXMGU5G3cR6wZ/WsHnWJNOSps0uh3lzyrE7Z032ei1Rwyf7AqRMeJ586zy0WiwOPnQTMtfBFNWUWjd6qz4IwuLWP2nycQAQebenu80faRtKul71jahiUh2328jRkL5ZcUHRb0Y/7IMomKVJUDnv5dnn9cMvOBzFEveT4B5SHtzc/Xd09XtGtlF5NiEaDeBCTyGjnS656hmil2/TXNjV34rveluL/dAdsq8Tj0g+N5CIUePD6ui3eJ9gp3kkEhXae5Os1JfTvVtY1iZtliEo6E45eu12H3nDVW9fmXFZkNKxy7+i2W9ZWdUIfVpAuJE+TOurK9m8NvhvFT7+1q9oJe+/1DYHdPrFDuVG4TFM0/ecctGrivOmH11djqOu/ADRuQ8A=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Delete template by ID",permalink:"/docs/API-docs/delete-template"}},f={},g=[{value:"Request",id:"request",level:2}];function v(e){const s={h2:"h2",p:"p",...(0,l.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(s.p,{children:"Get template list"})}),"\n",(0,t.jsx)(r(),{method:"get",path:"/templatelist"}),"\n",(0,t.jsx)(s.p,{children:"The Get Template List API allows you to retrieve a list of available templates. This functionality provides an overview of all templates, enabling users to choose from existing templates when creating documents."}),"\n",(0,t.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(s.p,{children:"Query Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsxs)("ul",{children:[(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"limit",in:"query",required:!1,style:"form",explode:!0,schema:{type:"number"},example:10}}),(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"skip",in:"query",required:!1,style:"form",explode:!0,schema:{type:"number"},example:0}})]})})]}),"\n",(0,t.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(s.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(i.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.p,{children:"successful operation"})}),(0,t.jsx)("div",{children:(0,t.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(s.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(p.Z,{collapsible:!0,className:"schemaItem",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details",children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsxs)("span",{className:"openapi-schema__container",children:[(0,t.jsx)("strong",{className:"openapi-schema__property",children:(0,t.jsx)(s.p,{children:"result"})}),(0,t.jsx)("span",{className:"openapi-schema__name",children:(0,t.jsx)(s.p,{children:"template[]"})})]})}),(0,t.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,t.jsx)("li",{children:(0,t.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,t.jsx)(s.p,{children:"Array ["})})}),(0,t.jsx)(p.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"x1Hbnms2Pg"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Title",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"sample template"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"template note"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Folder",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"folder name"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"File",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"https://templateuser.com"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Owner",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"template creator name"}}),(0,t.jsx)(p.Z,{collapsible:!0,className:"schemaItem",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details",children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsxs)("span",{className:"openapi-schema__container",children:[(0,t.jsx)("strong",{className:"openapi-schema__property",children:(0,t.jsx)(s.p,{children:"Signers"})}),(0,t.jsx)("span",{className:"openapi-schema__name",children:(0,t.jsx)(s.p,{children:"object[]"})})]})}),(0,t.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,t.jsx)("li",{children:(0,t.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,t.jsx)(s.p,{children:"Array ["})})}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"joe bee"}}),(0,t.jsx)("li",{children:(0,t.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,t.jsx)(s.p,{children:"]"})})})]})]})}),(0,t.jsx)(p.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)("li",{children:(0,t.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,t.jsx)(s.p,{children:"]"})})})]})]})})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "result": [\n {\n "objectId": "x1Hbnms2Pg",\n "Title": "sample template",\n "Note": "template note",\n "Folder": "folder name",\n "File": "https://templateuser.com",\n "Owner": "template creator name",\n "Signers": [\n {\n "Name": "joe bee"\n }\n ],\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n }\n ]\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(s.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(p.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function y(e={}){const{wrapper:s}={...(0,l.a)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/7b076186.36b0ee4c.js b/assets/js/7b076186.36b0ee4c.js new file mode 100644 index 000000000..820858b37 --- /dev/null +++ b/assets/js/7b076186.36b0ee4c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[8489],{91945:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>u,default:()=>b,frontMatter:()=>x,metadata:()=>j,toc:()=>v});var t=s(85893),l=s(11151),o=s(58219),n=(s(62316),s(51039)),i=s.n(n),r=(s(82723),s(9487)),c=s(41429),d=s(5397),m=s(4667),p=s(9472),h=s(85162);const x={id:"deletecontact",title:"Delete contact",description:"The Delete Contact API allows you to remove a contact from your contactbook. If you no longer need a particular contact's information, this API makes it easy to delete their record.",sidebar_label:"Delete contact",hide_title:!0,hide_table_of_contents:!0,api:"eJzVVm1v2zYQ/ivcfVkDyLLspB0mDMOyNuiMBk2wZBiwxAho6WSxpkiWpBwbhv77cHqzHCddMRQD9sWWqDvec8/dPeQOPF86iO/grVaeJ97BPIAUXWKF8UIriOE2R/YOJXpkrRE7v54xLqV+dGyrS+Y1s1joNTLOktYks7qgj7ZbWWi9Ctksqz2UZlKrJVqmEFPGmeHWi6SUvLf/3jGhMm0LTjgC5nPh6sAFX6FjwjPkbkux0wacz1FYZjHRNg0hAG3Q1r6zFGJojNq9IQDDLS/Qo6Xsd6B4gRDDZsSNGHm9QgUBCEo/R56ihQAsfi6FxRRib0sMwPmtJB8nCiMRAsCNkTpFiDMuHRkkORYc4h34raktvRVqCRWZ8topJpTKiaUKN5vNBqqgh9JCfRBph8Rwn8PT6lxbvRYpMr34hImfpUxnfQ16br4l+gCaogxX9umYfLrIp9ylUFVziuqMVg4d7TONIvo7xN+1VAM0Za5MEnQuK6XcfgdBTQMqT47cGCmSuqTjT468d8coGx6owJYawIsmdkfPc/ns0f+6IezmN3NKRWohnfsvO02j6eloEo2iH24nb+KzH+PXb8Ioiv6CADaFJN+2oin3SPt64eX+vToya0o2NGxXKjI+i85eZlFpzzJdqvQbUofWavtlCp4JXw3wCyWFwoeuGR7OorOHaZ/O6+N0ZmrNpUjrcb+lYfxv0xmG90344zKJxqjRioNkh+tNkg6T0gq/raVmqDHx3ZzGpECf671K1fLkc4hh3I7yeLeXgwpoQ7vupKu0kmTKe+Pi8dh5vhRqOeLGhJ22SL5wYaKLMTdivJ4Ahewg3RBtDTMHwHp+uBEfcAvBP0skZUqSXTu3bFwZVDdiqWou15Mj+bolVW+FPdVJWaDydV1Zpi174s0W3GHKtCKtrz/S+mk4Yc5gIrK2JUJ2r+7VjS6QlQ6zUjIp1MrF92rE7q6yTCSCS/YnLpzwOH/VMff4+HjE2Ent8174vFwwi0bvzZf1Yk3r0Kt/OYEAPNrCXWU3aNciwbZKL4Qa18bjttHpkKJmLbiQ+8Pgl6dO1HhSJKgcDlrz/P31JTsNIwgGzfEVkMeXs7cXH28uaFdqr6ZEkzAKI1oy2vmCq0Gg9lqwP1UPirvbj+z/9hLRDoHHjR8byUU96jWpu3ZG72Cffjw4tOcB5Np5MtjtqHH/sLKqaPlziZakYB7AmlvBFzQpdztIhaPntD+CX2Tz1e/taX7Cvvb8fzaRbsQVzfeay5LeIIAVbg9vINW8Crox/9dQX0LRRDvUlR4M3Ygag/MkQeMH345OgQMpfXdxeXF7AQHwkso01LNVrWftA6XzLA+HgBoM9EuInnX4iRrrA25/7s2bLy869FfLxprYmFdV9TdesPbc",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},u=void 0,j={id:"API-docs/deletecontact",title:"Delete contact",description:"The Delete Contact API allows you to remove a contact from your contactbook. If you no longer need a particular contact's information, this API makes it easy to delete their record.",source:"@site/docs/API-docs/deletecontact.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/deletecontact",permalink:"/docs/API-docs/deletecontact",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"deletecontact",title:"Delete contact",description:"The Delete Contact API allows you to remove a contact from your contactbook. If you no longer need a particular contact's information, this API makes it easy to delete their record.",sidebar_label:"Delete contact",hide_title:!0,hide_table_of_contents:!0,api:"eJzVVm1v2zYQ/ivcfVkDyLLspB0mDMOyNuiMBk2wZBiwxAho6WSxpkiWpBwbhv77cHqzHCddMRQD9sWWqDvec8/dPeQOPF86iO/grVaeJ97BPIAUXWKF8UIriOE2R/YOJXpkrRE7v54xLqV+dGyrS+Y1s1joNTLOktYks7qgj7ZbWWi9Ctksqz2UZlKrJVqmEFPGmeHWi6SUvLf/3jGhMm0LTjgC5nPh6sAFX6FjwjPkbkux0wacz1FYZjHRNg0hAG3Q1r6zFGJojNq9IQDDLS/Qo6Xsd6B4gRDDZsSNGHm9QgUBCEo/R56ihQAsfi6FxRRib0sMwPmtJB8nCiMRAsCNkTpFiDMuHRkkORYc4h34raktvRVqCRWZ8topJpTKiaUKN5vNBqqgh9JCfRBph8Rwn8PT6lxbvRYpMr34hImfpUxnfQ16br4l+gCaogxX9umYfLrIp9ylUFVziuqMVg4d7TONIvo7xN+1VAM0Za5MEnQuK6XcfgdBTQMqT47cGCmSuqTjT468d8coGx6owJYawIsmdkfPc/ns0f+6IezmN3NKRWohnfsvO02j6eloEo2iH24nb+KzH+PXb8Ioiv6CADaFJN+2oin3SPt64eX+vToya0o2NGxXKjI+i85eZlFpzzJdqvQbUofWavtlCp4JXw3wCyWFwoeuGR7OorOHaZ/O6+N0ZmrNpUjrcb+lYfxv0xmG90344zKJxqjRioNkh+tNkg6T0gq/raVmqDHx3ZzGpECf671K1fLkc4hh3I7yeLeXgwpoQ7vupKu0kmTKe+Pi8dh5vhRqOeLGhJ22SL5wYaKLMTdivJ4Ahewg3RBtDTMHwHp+uBEfcAvBP0skZUqSXTu3bFwZVDdiqWou15Mj+bolVW+FPdVJWaDydV1Zpi174s0W3GHKtCKtrz/S+mk4Yc5gIrK2JUJ2r+7VjS6QlQ6zUjIp1MrF92rE7q6yTCSCS/YnLpzwOH/VMff4+HjE2Ent8174vFwwi0bvzZf1Yk3r0Kt/OYEAPNrCXWU3aNciwbZKL4Qa18bjttHpkKJmLbiQ+8Pgl6dO1HhSJKgcDlrz/P31JTsNIwgGzfEVkMeXs7cXH28uaFdqr6ZEkzAKI1oy2vmCq0Gg9lqwP1UPirvbj+z/9hLRDoHHjR8byUU96jWpu3ZG72Cffjw4tOcB5Np5MtjtqHH/sLKqaPlziZakYB7AmlvBFzQpdztIhaPntD+CX2Tz1e/taX7Cvvb8fzaRbsQVzfeay5LeIIAVbg9vINW8Crox/9dQX0LRRDvUlR4M3Ygag/MkQeMH345OgQMpfXdxeXF7AQHwkso01LNVrWftA6XzLA+HgBoM9EuInnX4iRrrA25/7s2bLy869FfLxprYmFdV9TdesPbc",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get contact",permalink:"/docs/API-docs/getcontact"},next:{title:"Get contact list",permalink:"/docs/API-docs/contactlist"}},f={},v=[{value:"Request",id:"request",level:2}];function g(e){const a={h2:"h2",p:"p",...(0,l.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(a.p,{children:"Delete contact"})}),"\n",(0,t.jsx)(i(),{method:"delete",path:"/contact/{contact_id}"}),"\n",(0,t.jsx)(a.p,{children:"The Delete Contact API allows you to remove a contact from your contactbook. If you no longer need a particular contact's information, this API makes it easy to delete their record."}),"\n",(0,t.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Path Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"contact_id",in:"path",description:"Provide objectId of contact to delete",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string",example:"ph2bh2asd"}}})})})]}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(o.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Contact deleted successfully!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Bxh2aspHp3"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"deletedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "objectId": "Bxh2aspHp3",\n "deletedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"404",value:"404",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Contact not found!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Contact not found!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Contact not found!"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function b(e={}){const{wrapper:a}={...(0,l.a)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(g,{...e})}):g(e)}}}]); \ No newline at end of file diff --git a/assets/js/7b076186.e9e2536a.js b/assets/js/7b076186.e9e2536a.js deleted file mode 100644 index 690b8fd10..000000000 --- a/assets/js/7b076186.e9e2536a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[8489],{91945:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>x,default:()=>y,frontMatter:()=>j,metadata:()=>u,toc:()=>b});var l=s(85893),t=s(11151),n=s(58219),c=(s(62316),s(51039)),i=s.n(c),d=(s(82723),s(9487)),r=s(41429),o=s(5397),p=s(4667),m=s(9472),h=s(85162);const j={id:"deletecontact",title:"Deletes contact",description:"delete a contact",sidebar_label:"Deletes contact",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v2zYQ/ivcfWoA2ZIdt0OFYVjWGl3QoAnqDAPmGAEtnSw2FMmSlGPD0H8fTpJtOba7Yij2xZaOd7znnnvTBjxfOIin8E4rzxPvYBZAii6xwnihFcSQokSPjLOkUYEAtEHL6fg63SnsTw23vECPli7egOIFQgyrHjei5/UTKghA0M058hQtBGDxayksphB7W2IAzq8l2ThRGIkQAK6M1ClCnHHpSCHJseAQb8CvTa3prVALqEiV10YxoVROLFR/tVqtoAp2UFqojyLdIjHc5/Ay8DurlyJFpudfMPHXKdPZlgPmNWvC/pHoA8i0LbjvSvbhmHw4z4fcpVBVM/LqjFYOHd0zjCL6O8TfprQFmjJXJgk6l5VSrn+CoKYBlSdDbowUSZ3S8Isj680xyoYHSrClAvCi8b2l51Q8e/S/rwi7+cNcUpJaSFf+20bDaHjZG0S96Of7wZt49DZ+/aYfRdHfEMCqkGTbZjTlHuleL7zcv1dHak3KuoqtpCLlUTQ6z6LSnmW6VOkPpA6t1fbbFJxwX3XwCyWFwsdtMTyOotHjcBfO6+NwrtWSS5Gyq7trdk/N+P+G03XvG/fHaRKNUjMrDoLtypsgHSalFX5dj5rujImnM2qTAn2u91OqHk8+hxjCtpXDzX4cVEAX2uV2dJVW0pjy3rg4DJ3nC6EWPW5MfztbJJ+7fqKLkBsRLgdALreQJkRbw8wBsB0/3IiPuIbg30ckRSpUpmvjlo1bg2oiFqrmcjk4Gl/3uXBMuPo41UlZoPJ1XlmmLXthzebcYcq0Yj7H+pDkl/0BcwYTkbUl0WcP6kFNdIGsdJiVkkmhnlz8oHpseptlIhFcsr9w7oTH2astc8/Pz0eMXdQ2H4TPyzmzaPRefVELa1q7VruXCwjAoy3cbTZBuxQJtlk64yqslcO20GlJUbEWXMj9MvjtpREVnhQJKoed0rz6cHfDLvsRBJ3i+A7I4c31u/GnyZhupfJqUjToR/2IREY7X3DVcfS+LlfXWboH2d3se/bUgm4LzOPKh0ZyUbdRDXjT1v8U9tpxZyHOAsi186Sw2VBR/GllVZH4a4mW2mwWwJJbwedUhdMNpMLRc7pbb2eBvvrcbsoL9r279WQg2/ZR1DtLLkt6gwCecH243atZFWxb6D9DPYei8XbYszsw9LXRKFwlCRrfOTuasAdj6v34Znw/hgB4SWnqzoqnela0DxTOSR4OATUY6JcQnTT4hTr9I65/3ak3J2cNdp9tjTaxMauq6h/zuIEX",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,u={id:"API-docs/deletecontact",title:"Deletes contact",description:"delete a contact",source:"@site/docs/API-docs/deletecontact.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/deletecontact",permalink:"/docs/API-docs/deletecontact",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"deletecontact",title:"Deletes contact",description:"delete a contact",sidebar_label:"Deletes contact",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v2zYQ/ivcfWoA2ZIdt0OFYVjWGl3QoAnqDAPmGAEtnSw2FMmSlGPD0H8fTpJtOba7Yij2xZaOd7znnnvTBjxfOIin8E4rzxPvYBZAii6xwnihFcSQokSPjLOkUYEAtEHL6fg63SnsTw23vECPli7egOIFQgyrHjei5/UTKghA0M058hQtBGDxayksphB7W2IAzq8l2ThRGIkQAK6M1ClCnHHpSCHJseAQb8CvTa3prVALqEiV10YxoVROLFR/tVqtoAp2UFqojyLdIjHc5/Ay8DurlyJFpudfMPHXKdPZlgPmNWvC/pHoA8i0LbjvSvbhmHw4z4fcpVBVM/LqjFYOHd0zjCL6O8TfprQFmjJXJgk6l5VSrn+CoKYBlSdDbowUSZ3S8Isj680xyoYHSrClAvCi8b2l51Q8e/S/rwi7+cNcUpJaSFf+20bDaHjZG0S96Of7wZt49DZ+/aYfRdHfEMCqkGTbZjTlHuleL7zcv1dHak3KuoqtpCLlUTQ6z6LSnmW6VOkPpA6t1fbbFJxwX3XwCyWFwsdtMTyOotHjcBfO6+NwrtWSS5Gyq7trdk/N+P+G03XvG/fHaRKNUjMrDoLtypsgHSalFX5dj5rujImnM2qTAn2u91OqHk8+hxjCtpXDzX4cVEAX2uV2dJVW0pjy3rg4DJ3nC6EWPW5MfztbJJ+7fqKLkBsRLgdALreQJkRbw8wBsB0/3IiPuIbg30ckRSpUpmvjlo1bg2oiFqrmcjk4Gl/3uXBMuPo41UlZoPJ1XlmmLXthzebcYcq0Yj7H+pDkl/0BcwYTkbUl0WcP6kFNdIGsdJiVkkmhnlz8oHpseptlIhFcsr9w7oTH2astc8/Pz0eMXdQ2H4TPyzmzaPRefVELa1q7VruXCwjAoy3cbTZBuxQJtlk64yqslcO20GlJUbEWXMj9MvjtpREVnhQJKoed0rz6cHfDLvsRBJ3i+A7I4c31u/GnyZhupfJqUjToR/2IREY7X3DVcfS+LlfXWboH2d3se/bUgm4LzOPKh0ZyUbdRDXjT1v8U9tpxZyHOAsi186Sw2VBR/GllVZH4a4mW2mwWwJJbwedUhdMNpMLRc7pbb2eBvvrcbsoL9r279WQg2/ZR1DtLLkt6gwCecH243atZFWxb6D9DPYei8XbYszsw9LXRKFwlCRrfOTuasAdj6v34Znw/hgB4SWnqzoqnela0DxTOSR4OATUY6JcQnTT4hTr9I65/3ak3J2cNdp9tjTaxMauq6h/zuIEX",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get contact",permalink:"/docs/API-docs/getcontact"},next:{title:"Get contact list",permalink:"/docs/API-docs/contactlist"}},f={},b=[{value:"Request",id:"request",level:2}];function v(e){const a={h2:"h2",p:"p",...(0,t.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(a.p,{children:"Deletes contact"})}),"\n",(0,l.jsx)(i(),{method:"delete",path:"/contact/{contact_id}"}),"\n",(0,l.jsx)(a.p,{children:"delete a contact"}),"\n",(0,l.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(r.Z,{className:"paramsItem",param:{name:"contact_id",in:"path",description:"Provide objectId of contact to delete",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string",example:"ph2bh2asd"}}})})})]}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(r.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(n.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Contact deleted successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(m.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(p.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Bxh2aspHp3"}}),(0,l.jsx)(p.Z,{collapsible:!1,name:"deletedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "objectId": "Bxh2aspHp3",\n "deletedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Contact not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(m.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(p.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Contact not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Contact not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(m.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(p.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function y(e={}){const{wrapper:a}={...(0,t.a)(),...e.components};return a?(0,l.jsx)(a,{...e,children:(0,l.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/8a725248.7a441f87.js b/assets/js/8a725248.7a441f87.js new file mode 100644 index 000000000..fdb429cdc --- /dev/null +++ b/assets/js/8a725248.7a441f87.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[7971],{80288:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>g,contentTitle:()=>x,default:()=>v,frontMatter:()=>u,metadata:()=>j,toc:()=>y});var t=s(85893),l=s(11151),i=s(58219),n=(s(62316),s(51039)),r=s.n(n),c=(s(82723),s(9487)),o=s(41429),m=s(5397),d=s(4667),p=s(9472),h=s(85162);const u={id:"createcontact",title:"Create contact",description:"The Create contact API allows you to effortlessly create new contacts that can act as signers for your important documents.",sidebar_label:"Create contact",hide_title:!0,hide_table_of_contents:!0,api:"eJzVV21r40YQ/ivb+XQHsi3ZuSsVpVwawhHuuIRLSqGOCWtpbG+y2t3bXfkFo/9+zEqy5ThJGyhXCsZIszOzM8+8aguezx2kYzjTyvPMO5hEkKPLrDBeaAUp3CyQnVnkHllWM7HTqwvGpdQrxza6ZF4znM209RKdkxuW1dwKV62EY37BPcu4YiTPHXNirtA6NtOWdFgmCqOt58qzXGdlgcq7PkSgDVpOllzkkEKtuVEKERhueYEeLfmwBcULhBTWPW5Ez+sHVBCBICcWyHO0EIHFb6WwmEPqbYkROL+RJONEYSRCBLg2UucI6YxLRwzZAgsO6Rb8xgROb4WaQ0WsPAilZKUij/rr9XoN1aS+B53/Xecbkj2E9MrqpciRTVHqFds5QUBmB0hDBPSEypMSbowUWUBjcO9I07Zj3t6zMZwXXEiI4AsBEsHVQiukyDYu6Ok91vhZwtcLdKQhcB85GsFM24L7LmXv+b0mN5DgqC99vfwU8UND6Ge6IFW1wa9UlQxHw2SUjIYJVFUEXvhAPsiZuykFpKLzw0wIBGe0cjUWwzg+jltTJE2QcubKLEPnZqWUm59eE6uX41CTKeFfB4BZJNPFenhvCML/eTBPklEyDD9S0QB+6p9SsxcaxsNRL4l78c83yfv05Jf03ft+HMd/QQTrInjTdIic++BlmyPte2nyH3BP9ZitSc4cPRfSdQXaPlCFlD2JT46T8loX6BdCzdkKlWcrq9U8YkYid8i83TA+50IxyT3afzFJ0VptX4bpdZZ1a1YoKRTetRV5dxKf3CU7EN4dg3ChllyKPEymG2r8P9bT7vW+vv44yqJmqufSgbNdeu2kw6y0wm/CWOvOs3Q8ofFCwGqaiEa7ehD6BaQweDwgHdplOx1LK2kSem9cOhg4z+dCzXvcmH47viSfOqraATdisEzCIGstuSa0akAO7NnBwo34hBuI/n4Kk4MUhK/7GXneQtlOoV0v2rWip7rLrrkcNH+6baaDaQ3ElwbVtZirEKBlAsc7jnBMuHDcrh8hWcJ+8kiaTbnDnGnF/ALDIdFH/YQ5g5mYNXnWZ7fqVlENsNLhrJRMCvXg0lvVY+PL2Uxkgkv2J06d8Dh508ZltVodxeNtkPko/KKcMotG79nngRiC1pXavbyFCDzawl3OrtEuRYZNDjxz1SAwD5rqoSSiCmgi0JA+PBYiyKXIUDns5Pvpx6vPbNSPIeqk3j8wefD54uz8y/U5aaXkrUOU9ON+TCTK+IKrzkVnj3emg+Bu933gP95lm0LxuPYDI7kIXSBAs20KePxow51EsKACT8ew3VLa/WFlVRH5W4mWusMkgiW3gk8pz8eTKmqLjCo+F44O8t0y+ywwb74229Bb9pyhD7g5quollyVxQhVtG4azWmfvhnTsOY4a8F7iNMvQ+Bd5ux3v6vL6BiKYNpt1EZZ1sHxF2z1fQQq3cAvh04E0hI4V6FuQXM1LPg/tJeilTsRLQr7bxh5CG2seCMf2SG06Vh4iUbtC/+TYkwK/Uqp9ws1vO/b65FmB3UdLzU1hmFRV9R1haqi9",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/createcontact",title:"Create contact",description:"The Create contact API allows you to effortlessly create new contacts that can act as signers for your important documents.",source:"@site/docs/API-docs/createcontact.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/createcontact",permalink:"/docs/API-docs/createcontact",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"createcontact",title:"Create contact",description:"The Create contact API allows you to effortlessly create new contacts that can act as signers for your important documents.",sidebar_label:"Create contact",hide_title:!0,hide_table_of_contents:!0,api:"eJzVV21r40YQ/ivb+XQHsi3ZuSsVpVwawhHuuIRLSqGOCWtpbG+y2t3bXfkFo/9+zEqy5ThJGyhXCsZIszOzM8+8aguezx2kYzjTyvPMO5hEkKPLrDBeaAUp3CyQnVnkHllWM7HTqwvGpdQrxza6ZF4znM209RKdkxuW1dwKV62EY37BPcu4YiTPHXNirtA6NtOWdFgmCqOt58qzXGdlgcq7PkSgDVpOllzkkEKtuVEKERhueYEeLfmwBcULhBTWPW5Ez+sHVBCBICcWyHO0EIHFb6WwmEPqbYkROL+RJONEYSRCBLg2UucI6YxLRwzZAgsO6Rb8xgROb4WaQ0WsPAilZKUij/rr9XoN1aS+B53/Xecbkj2E9MrqpciRTVHqFds5QUBmB0hDBPSEypMSbowUWUBjcO9I07Zj3t6zMZwXXEiI4AsBEsHVQiukyDYu6Ok91vhZwtcLdKQhcB85GsFM24L7LmXv+b0mN5DgqC99vfwU8UND6Ge6IFW1wa9UlQxHw2SUjIYJVFUEXvhAPsiZuykFpKLzw0wIBGe0cjUWwzg+jltTJE2QcubKLEPnZqWUm59eE6uX41CTKeFfB4BZJNPFenhvCML/eTBPklEyDD9S0QB+6p9SsxcaxsNRL4l78c83yfv05Jf03ft+HMd/QQTrInjTdIic++BlmyPte2nyH3BP9ZitSc4cPRfSdQXaPlCFlD2JT46T8loX6BdCzdkKlWcrq9U8YkYid8i83TA+50IxyT3afzFJ0VptX4bpdZZ1a1YoKRTetRV5dxKf3CU7EN4dg3ChllyKPEymG2r8P9bT7vW+vv44yqJmqufSgbNdeu2kw6y0wm/CWOvOs3Q8ofFCwGqaiEa7ehD6BaQweDwgHdplOx1LK2kSem9cOhg4z+dCzXvcmH47viSfOqraATdisEzCIGstuSa0akAO7NnBwo34hBuI/n4Kk4MUhK/7GXneQtlOoV0v2rWip7rLrrkcNH+6baaDaQ3ElwbVtZirEKBlAsc7jnBMuHDcrh8hWcJ+8kiaTbnDnGnF/ALDIdFH/YQ5g5mYNXnWZ7fqVlENsNLhrJRMCvXg0lvVY+PL2Uxkgkv2J06d8Dh508ZltVodxeNtkPko/KKcMotG79nngRiC1pXavbyFCDzawl3OrtEuRYZNDjxz1SAwD5rqoSSiCmgi0JA+PBYiyKXIUDns5Pvpx6vPbNSPIeqk3j8wefD54uz8y/U5aaXkrUOU9ON+TCTK+IKrzkVnj3emg+Bu933gP95lm0LxuPYDI7kIXSBAs20KePxow51EsKACT8ew3VLa/WFlVRH5W4mWusMkgiW3gk8pz8eTKmqLjCo+F44O8t0y+ywwb74229Bb9pyhD7g5quollyVxQhVtG4azWmfvhnTsOY4a8F7iNMvQ+Bd5ux3v6vL6BiKYNpt1EZZ1sHxF2z1fQQq3cAvh04E0hI4V6FuQXM1LPg/tJeilTsRLQr7bxh5CG2seCMf2SG06Vh4iUbtC/+TYkwK/Uqp9ws1vO/b65FmB3UdLzU1hmFRV9R1haqi9",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get your details",permalink:"/docs/API-docs/get-user"},next:{title:"Get contact",permalink:"/docs/API-docs/getcontact"}},g={},y=[{value:"Request",id:"request",level:2}];function f(e){const a={h2:"h2",p:"p",...(0,l.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(a.p,{children:"Create contact"})}),"\n",(0,t.jsx)(r(),{method:"post",path:"/createcontact"}),"\n",(0,t.jsx)(a.p,{children:"The Create contact API allows you to effortlessly create new contacts that can act as signers for your important documents."}),"\n",(0,t.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(o.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json-schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,t.jsxs)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:[(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,t.jsx)(a.p,{children:"Body"})}),(0,t.jsx)("strong",{className:"openapi-schema__required",children:(0,t.jsx)(a.p,{children:"required"})})]}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"},children:(0,t.jsx)("div",{style:{marginTop:"1rem",marginBottom:"1rem"},children:(0,t.jsx)(a.p,{children:"Provide below parameter to create contact"})})}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(d.Z,{collapsible:!1,name:"Name",required:!0,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,t.jsx)(d.Z,{collapsible:!1,name:"Email",required:!0,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,t.jsx)(d.Z,{collapsible:!1,name:"Phone",required:!0,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"1232131321"}})]})]})})}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(i.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Contact created successfully!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(d.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"ph1bhx2jp"}}),(0,t.jsx)(d.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,t.jsx)(d.Z,{collapsible:!1,name:"Email",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,t.jsx)(d.Z,{collapsible:!1,name:"Phone",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"4131231231"}}),(0,t.jsx)(d.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)(d.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "objectId": "ph1bhx2jp",\n "Name": "joe bee",\n "Email": "joebee@example.com",\n "Phone": "4131231231",\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"404",value:"404",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Something went wrong, please try again later!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(d.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Something went wrong, please try again later!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "error": "Something went wrong, please try again later!"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(d.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:a}={...(0,l.a)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}}}]); \ No newline at end of file diff --git a/assets/js/8a725248.ace1ce06.js b/assets/js/8a725248.ace1ce06.js deleted file mode 100644 index 3b75c70f0..000000000 --- a/assets/js/8a725248.ace1ce06.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[7971],{80288:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>g,contentTitle:()=>j,default:()=>b,frontMatter:()=>x,metadata:()=>u,toc:()=>f});var t=s(85893),i=s(11151),l=s(58219),n=(s(62316),s(51039)),r=s.n(n),c=(s(82723),s(9487)),o=s(41429),d=s(5397),m=s(4667),p=s(9472),h=s(85162);const x={id:"createcontact",title:"Create contact",description:"Create contact",sidebar_label:"Create contact",hide_title:!0,hide_table_of_contents:!0,api:"eJzVV21rG0cQ/ivb+RTDSbqTlJQepcQNJpiE2EQuhcrCrO5G0tp3u5vdPb0g7r+X2XvRSXLcGkqgYIw0OzM788wzM6s9OL60EE/hg5KOJ87CLACl0XAnlLxOIYbEIHeYVOcQgOaG5+jQkN0eJM8RYtj2uBY9p55QQgBCQgwr5CkaCMDgt0IYTCF2psAArNtlZGNFrjOEAHCrM5UixAueWVJIVphziPfgdtprOiPkEkpS5d4opiilFUvZ3263Wyhn1T1o3e8q3ZFtijYxQlMiEIM2ai1SZHPM1Ia1STCnWJUhO6RIn1A6csK1zkTi0Rg8WvK074R3yGwKVzkXGQTwhQAJ4HalJBKadQpq/ogVfobwdQItefDaZ4kGsFAm564rOWT+qCgNJDiqS19vP0d8Xwv6icrJVRXwK11Fw9EwGkWjYQRlGYATzouPOPMwp4KUdH7MBC+wWklbYTEMw/O61cSsi5QyWyQJWrsosmz302tq9XIdKjER/nUA6FU0X22Hj5og/J8XcxyNoqH/Ixc14JfuOTcHo2E4HPWisBf+fBe9i8e/xG/f9cMw/AsC2OY+m3pCpNz5LBuONN8Lnf6Ae8pTtZqcKTouMts1aOZA6Sk7DsfnpJyoHN1KyCXboHRsY5RcBkxnyC0yZ3aML7mQLOMOzX9IUjRGmZdhel1k3Z4VMhMSH5qOfBiH44eoBeHtOQjXcs0zkbLL22t2R4P/x2bavd5V159XWVRK1V46SrYrr5K0mBRGuJ1fa919Fk9ntF5O5tLp0iDcFS1MrWy1J90KYhic7k+LZt0sz8JktCid0zYeDKzjSyGXPa51v9luGZ9bauoB12KwjvyeawKdEJgVXkfhtqhxLT7hDoJ/XtKUP9Xo62GFXjVIN0uqHVXtpHpu+LSz52g30G0L5UOrK3CjUU7EUvr6rSM4xfduJSwT1h+nKilylM5ziS2UYSfWbM4tpkxJ5lboD0k+6kfMakzEoqZhn93Le0ktwgqLiyJjmZBPNr6XPTa9WSxEInjG/sS5FQ5nb5q6bDabs3pceJuPwq2KOTOo1UF96YW+aF2r9ssFBODQ5PZmMUGzFgnWHPjOVQOvPKibi0hEDVJXoBa9PzUiyDORoLTYaYfLj7ef2agfQtCh3r8IefD5+sPVl8kVeSXyViWK+mE/JBExPueyc9FZdxwVtyWow60b6IwL35w+pH3dONOTh+csgBU1VjyF/Z7K/YfJypLE3wo01LSzANbcCD4nfk1nZdCQmzotFZYO0vaNeRJQO7fgzdf6kXLBIHg+0CfcnXXTmmcFaUIZ7GuFD5XP3h35OGiczcWDxWWSoHYv6s46k+b2ZnIHAczrB2/u39Bg+IYe3XwDMdzDPQC96MmDnxRevoeMy2XBl76tvV+aALwg5Lvj48mPj/oD4dgcyV0nymMkqlToPyX2rMGv1J6fcPdbq16dfNeg/S1RaVMZZmVZ/g1rnE9A",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},j=void 0,u={id:"API-docs/createcontact",title:"Create contact",description:"Create contact",source:"@site/docs/API-docs/createcontact.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/createcontact",permalink:"/docs/API-docs/createcontact",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"createcontact",title:"Create contact",description:"Create contact",sidebar_label:"Create contact",hide_title:!0,hide_table_of_contents:!0,api:"eJzVV21rG0cQ/ivb+RTDSbqTlJQepcQNJpiE2EQuhcrCrO5G0tp3u5vdPb0g7r+X2XvRSXLcGkqgYIw0OzM788wzM6s9OL60EE/hg5KOJ87CLACl0XAnlLxOIYbEIHeYVOcQgOaG5+jQkN0eJM8RYtj2uBY9p55QQgBCQgwr5CkaCMDgt0IYTCF2psAArNtlZGNFrjOEAHCrM5UixAueWVJIVphziPfgdtprOiPkEkpS5d4opiilFUvZ3263Wyhn1T1o3e8q3ZFtijYxQlMiEIM2ai1SZHPM1Ia1STCnWJUhO6RIn1A6csK1zkTi0Rg8WvK074R3yGwKVzkXGQTwhQAJ4HalJBKadQpq/ogVfobwdQItefDaZ4kGsFAm564rOWT+qCgNJDiqS19vP0d8Xwv6icrJVRXwK11Fw9EwGkWjYQRlGYATzouPOPMwp4KUdH7MBC+wWklbYTEMw/O61cSsi5QyWyQJWrsosmz302tq9XIdKjER/nUA6FU0X22Hj5og/J8XcxyNoqH/Ixc14JfuOTcHo2E4HPWisBf+fBe9i8e/xG/f9cMw/AsC2OY+m3pCpNz5LBuONN8Lnf6Ae8pTtZqcKTouMts1aOZA6Sk7DsfnpJyoHN1KyCXboHRsY5RcBkxnyC0yZ3aML7mQLOMOzX9IUjRGmZdhel1k3Z4VMhMSH5qOfBiH44eoBeHtOQjXcs0zkbLL22t2R4P/x2bavd5V159XWVRK1V46SrYrr5K0mBRGuJ1fa919Fk9ntF5O5tLp0iDcFS1MrWy1J90KYhic7k+LZt0sz8JktCid0zYeDKzjSyGXPa51v9luGZ9bauoB12KwjvyeawKdEJgVXkfhtqhxLT7hDoJ/XtKUP9Xo62GFXjVIN0uqHVXtpHpu+LSz52g30G0L5UOrK3CjUU7EUvr6rSM4xfduJSwT1h+nKilylM5ziS2UYSfWbM4tpkxJ5lboD0k+6kfMakzEoqZhn93Le0ktwgqLiyJjmZBPNr6XPTa9WSxEInjG/sS5FQ5nb5q6bDabs3pceJuPwq2KOTOo1UF96YW+aF2r9ssFBODQ5PZmMUGzFgnWHPjOVQOvPKibi0hEDVJXoBa9PzUiyDORoLTYaYfLj7ef2agfQtCh3r8IefD5+sPVl8kVeSXyViWK+mE/JBExPueyc9FZdxwVtyWow60b6IwL35w+pH3dONOTh+csgBU1VjyF/Z7K/YfJypLE3wo01LSzANbcCD4nfk1nZdCQmzotFZYO0vaNeRJQO7fgzdf6kXLBIHg+0CfcnXXTmmcFaUIZ7GuFD5XP3h35OGiczcWDxWWSoHYv6s46k+b2ZnIHAczrB2/u39Bg+IYe3XwDMdzDPQC96MmDnxRevoeMy2XBl76tvV+aALwg5Lvj48mPj/oD4dgcyV0nymMkqlToPyX2rMGv1J6fcPdbq16dfNeg/S1RaVMZZmVZ/g1rnE9A",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get your details",permalink:"/docs/API-docs/get-user"},next:{title:"Get contact",permalink:"/docs/API-docs/getcontact"}},g={},f=[{value:"Request",id:"request",level:2}];function y(e){const a={h2:"h2",p:"p",...(0,i.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(a.p,{children:"Create contact"})}),"\n",(0,t.jsx)(r(),{method:"post",path:"/createcontact"}),"\n",(0,t.jsx)(a.p,{children:"Create contact"}),"\n",(0,t.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(o.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json-schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,t.jsxs)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:[(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,t.jsx)(a.p,{children:"Body"})}),(0,t.jsx)("strong",{className:"openapi-schema__required",children:(0,t.jsx)(a.p,{children:"required"})})]}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"},children:(0,t.jsx)("div",{style:{marginTop:"1rem",marginBottom:"1rem"},children:(0,t.jsx)(a.p,{children:"provide below parameter to create contact"})})}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(m.Z,{collapsible:!1,name:"Name",required:!0,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Email",required:!0,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Phone",required:!0,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"1232131321"}})]})]})})}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(l.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Contact created successfully!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"ph1bhx2jp"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Email",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Phone",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"4131231231"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "objectId": "ph1bhx2jp",\n "Name": "joe bee",\n "Email": "joebee@example.com",\n "Phone": "4131231231",\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"404",value:"404",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Something went wrong, please try again later!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Something went wrong, please try again later!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Something went wrong, please try again later!"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function b(e={}){const{wrapper:a}={...(0,i.a)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(y,{...e})}):y(e)}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.73e99a0e.js b/assets/js/935f2afb.73e99a0e.js deleted file mode 100644 index 531a29fcd..000000000 --- a/assets/js/935f2afb.73e99a0e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Intro","href":"/docs/help/intro","docId":"help/intro","unlisted":false},{"type":"category","label":"New-Document","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Sign yourself","href":"/docs/help/New-Document/sign-yourself","docId":"help/New-Document/sign-yourself","unlisted":false},{"type":"link","label":"Request signatures","href":"/docs/help/New-Document/request-signatures","docId":"help/New-Document/request-signatures","unlisted":false}]}],"selfhostSidebar":[{"type":"link","label":"Tutorial Intro","href":"/docs/self-host/intro","docId":"self-host/intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/docs/self-host/tutorial-basics/create-a-page","docId":"self-host/tutorial-basics/create-a-page","unlisted":false},{"type":"link","label":"Create a Document","href":"/docs/self-host/tutorial-basics/create-a-document","docId":"self-host/tutorial-basics/create-a-document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/docs/self-host/tutorial-basics/create-a-blog-post","docId":"self-host/tutorial-basics/create-a-blog-post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/docs/self-host/tutorial-basics/markdown-features","docId":"self-host/tutorial-basics/markdown-features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/docs/self-host/tutorial-basics/deploy-your-site","docId":"self-host/tutorial-basics/deploy-your-site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/docs/self-host/tutorial-basics/congratulations","docId":"self-host/tutorial-basics/congratulations","unlisted":false}],"href":"/docs/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/docs/self-host/tutorial-extras/manage-docs-versions","docId":"self-host/tutorial-extras/manage-docs-versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/docs/self-host/tutorial-extras/translate-your-site","docId":"self-host/tutorial-extras/translate-your-site","unlisted":false}],"href":"/docs/category/tutorial---extras"}],"contributeSidebar":[{"type":"link","label":"Code of conduct","href":"/docs/contribute/CODE_OF_CONDUCT","docId":"contribute/CODE_OF_CONDUCT","unlisted":false},{"type":"link","label":"Contributing to OpenSign","href":"/docs/contribute/intro","docId":"contribute/intro","unlisted":false},{"type":"link","label":"COMMUNITY","href":"/docs/contribute/COMMUNITY","docId":"contribute/COMMUNITY","unlisted":false},{"type":"link","label":"INSTALLATION","href":"/docs/contribute/INSTALLATION","docId":"contribute/INSTALLATION","unlisted":false},{"type":"link","label":"REPORTING_GUIDELINES","href":"/docs/contribute/REPORTING_GUIDELINES","docId":"contribute/REPORTING_GUIDELINES","unlisted":false}],"apiSidebar":[{"type":"link","label":"Introduction","href":"/docs/API-docs/opensign-api-v-1","docId":"API-docs/opensign-api-v-1","unlisted":false},{"type":"category","label":"User","items":[{"type":"link","label":"Get your details","href":"/docs/API-docs/get-user","className":"api-method get","docId":"API-docs/get-user","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Contacts","items":[{"type":"link","label":"Create contact","href":"/docs/API-docs/createcontact","className":"api-method post","docId":"API-docs/createcontact","unlisted":false},{"type":"link","label":"Get contact","href":"/docs/API-docs/getcontact","className":"api-method get","docId":"API-docs/getcontact","unlisted":false},{"type":"link","label":"Deletes contact","href":"/docs/API-docs/deletecontact","className":"api-method delete","docId":"API-docs/deletecontact","unlisted":false},{"type":"link","label":"Get contact list","href":"/docs/API-docs/contactlist","className":"api-method get","docId":"API-docs/contactlist","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Documents","items":[{"type":"link","label":"Create document","href":"/docs/API-docs/createdocument","className":"api-method post","docId":"API-docs/createdocument","unlisted":false},{"type":"link","label":"Get document by ID","href":"/docs/API-docs/getdocument","className":"api-method get","docId":"API-docs/getdocument","unlisted":false},{"type":"link","label":"Update document by ID","href":"/docs/API-docs/update-document","className":"api-method put","docId":"API-docs/update-document","unlisted":false},{"type":"link","label":"Delete document by ID","href":"/docs/API-docs/deletedocument","className":"api-method delete","docId":"API-docs/deletedocument","unlisted":false},{"type":"link","label":"Get document list by doctype","href":"/docs/API-docs/getdocumentlist","className":"api-method get","docId":"API-docs/getdocumentlist","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Templates","items":[{"type":"link","label":"Create template","href":"/docs/API-docs/createtemplate","className":"api-method post","docId":"API-docs/createtemplate","unlisted":false},{"type":"link","label":"Get template by ID","href":"/docs/API-docs/get-template","className":"api-method get","docId":"API-docs/get-template","unlisted":false},{"type":"link","label":"Update template by ID","href":"/docs/API-docs/update-template","className":"api-method put","docId":"API-docs/update-template","unlisted":false},{"type":"link","label":"Delete template by ID","href":"/docs/API-docs/delete-template","className":"api-method delete","docId":"API-docs/delete-template","unlisted":false},{"type":"link","label":"Get template list","href":"/docs/API-docs/gettemplatelist","className":"api-method get","docId":"API-docs/gettemplatelist","unlisted":false}],"collapsed":true,"collapsible":true}]},"docs":{"API-docs/contactlist":{"id":"API-docs/contactlist","title":"Get contact list","description":"","sidebar":"apiSidebar"},"API-docs/createcontact":{"id":"API-docs/createcontact","title":"Create contact","description":"Create contact","sidebar":"apiSidebar"},"API-docs/createdocument":{"id":"API-docs/createdocument","title":"Create document","description":"Create document","sidebar":"apiSidebar"},"API-docs/createtemplate":{"id":"API-docs/createtemplate","title":"Create template","description":"The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique **templateId** that can be used to generate documents based on the specified template.","sidebar":"apiSidebar"},"API-docs/delete-template":{"id":"API-docs/delete-template","title":"Delete template by ID","description":"Delete template by ID","sidebar":"apiSidebar"},"API-docs/deletecontact":{"id":"API-docs/deletecontact","title":"Deletes contact","description":"delete a contact","sidebar":"apiSidebar"},"API-docs/deletedocument":{"id":"API-docs/deletedocument","title":"Delete document by ID","description":"delete a document","sidebar":"apiSidebar"},"API-docs/get-template":{"id":"API-docs/get-template","title":"Get template by ID","description":"","sidebar":"apiSidebar"},"API-docs/get-user":{"id":"API-docs/get-user","title":"Get your details","description":"Get your details","sidebar":"apiSidebar"},"API-docs/getcontact":{"id":"API-docs/getcontact","title":"Get contact","description":"get a contact","sidebar":"apiSidebar"},"API-docs/getdocument":{"id":"API-docs/getdocument","title":"Get document by ID","description":"Get a document","sidebar":"apiSidebar"},"API-docs/getdocumentlist":{"id":"API-docs/getdocumentlist","title":"Get document list by doctype","description":"### Document Types:","sidebar":"apiSidebar"},"API-docs/gettemplatelist":{"id":"API-docs/gettemplatelist","title":"Get template list","description":"Get template list","sidebar":"apiSidebar"},"API-docs/intro":{"id":"API-docs/intro","title":"Overview","description":"OpenSign\u2122 API offers a robust suite of functionalities for digital document management and electronic signatures. Designed to cater to a wide array of business needs, the API facilitates the creation, signing, and management of digital documents. It ensures secure and efficient processes, complying with international legal standards for electronic signatures."},"API-docs/opensign-api-v-1":{"id":"API-docs/opensign-api-v-1","title":"OpenSign API v1","description":"This is API documentation for OpenSign API v1 based on the OpenAPI 3.1 specification.","sidebar":"apiSidebar"},"API-docs/update-document":{"id":"API-docs/update-document","title":"Update document by ID","description":"Update document by ID","sidebar":"apiSidebar"},"API-docs/update-template":{"id":"API-docs/update-template","title":"Update template by ID","description":"Update template by ID","sidebar":"apiSidebar"},"contribute/CODE_OF_CONDUCT":{"id":"contribute/CODE_OF_CONDUCT","title":"Code of conduct","description":"1. Introduction","sidebar":"contributeSidebar"},"contribute/COMMUNITY":{"id":"contribute/COMMUNITY","title":"COMMUNITY","description":"","sidebar":"contributeSidebar"},"contribute/INSTALLATION":{"id":"contribute/INSTALLATION","title":"INSTALLATION","description":"","sidebar":"contributeSidebar"},"contribute/intro":{"id":"contribute/intro","title":"Contributing to OpenSign","description":"Hello there! Thank you for considering contributing to OpenSign, the open-source alternative to DocuSign. OpenSign is not just a project, but a community endeavor that aims to create a robust, user-friendly, and secure electronic signature solution. Your contributions, irrespective of their size, are valuable in making this vision a reality.","sidebar":"contributeSidebar"},"contribute/REPORTING_GUIDELINES":{"id":"contribute/REPORTING_GUIDELINES","title":"REPORTING_GUIDELINES","description":"","sidebar":"contributeSidebar"},"help/intro":{"id":"help/intro","title":"Intro","description":"\ud83c\udf1fGet ready for an electrifying journey at OpenSign\u2122, the most incredibly documented open source document signing solution! \ud83d\ude80 This is your go-to spot for diving deep into everything OpenSign\u2122 has to offer. Whether you\u2019re just starting out or you\u2019re a seasoned pro eager to uncover even more cool features, we\u2019ve got you covered with the most awesome, top-notch guides and resources around. Get ready to make the most out of OpenSign\u2122 \ud83c\udf89\ud83d\udcda\ud83d\udd0d Your adventure in excellence starts here! \ud83c\udf08\u2728\ud83c\udf1f","sidebar":"tutorialSidebar"},"help/New-Document/request-signatures":{"id":"help/New-Document/request-signatures","title":"Request signatures","description":"Interface Overview","sidebar":"tutorialSidebar"},"help/New-Document/sign-yourself":{"id":"help/New-Document/sign-yourself","title":"Sign yourself","description":"This feature lets you sign documents that dont need to be sent to anybody.","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"Tutorial Intro","description":"Let\'s discover Docusaurus in less than 5 minutes."},"self-host/intro":{"id":"self-host/intro","title":"Tutorial Intro","description":"Let\'s discover Docusaurus in less than 5 minutes.","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/congratulations":{"id":"self-host/tutorial-basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/create-a-blog-post":{"id":"self-host/tutorial-basics/create-a-blog-post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/create-a-document":{"id":"self-host/tutorial-basics/create-a-document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/create-a-page":{"id":"self-host/tutorial-basics/create-a-page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/deploy-your-site":{"id":"self-host/tutorial-basics/deploy-your-site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/markdown-features":{"id":"self-host/tutorial-basics/markdown-features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional features.","sidebar":"selfhostSidebar"},"self-host/tutorial-extras/manage-docs-versions":{"id":"self-host/tutorial-extras/manage-docs-versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"selfhostSidebar"},"self-host/tutorial-extras/translate-your-site":{"id":"self-host/tutorial-extras/translate-your-site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"selfhostSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.b2bc89d2.js b/assets/js/935f2afb.b2bc89d2.js new file mode 100644 index 000000000..91088179f --- /dev/null +++ b/assets/js/935f2afb.b2bc89d2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Intro","href":"/docs/help/intro","docId":"help/intro","unlisted":false},{"type":"category","label":"New-Document","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Sign yourself","href":"/docs/help/New-Document/sign-yourself","docId":"help/New-Document/sign-yourself","unlisted":false},{"type":"link","label":"Request signatures","href":"/docs/help/New-Document/request-signatures","docId":"help/New-Document/request-signatures","unlisted":false}]}],"selfhostSidebar":[{"type":"link","label":"Tutorial Intro","href":"/docs/self-host/intro","docId":"self-host/intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/docs/self-host/tutorial-basics/create-a-page","docId":"self-host/tutorial-basics/create-a-page","unlisted":false},{"type":"link","label":"Create a Document","href":"/docs/self-host/tutorial-basics/create-a-document","docId":"self-host/tutorial-basics/create-a-document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/docs/self-host/tutorial-basics/create-a-blog-post","docId":"self-host/tutorial-basics/create-a-blog-post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/docs/self-host/tutorial-basics/markdown-features","docId":"self-host/tutorial-basics/markdown-features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/docs/self-host/tutorial-basics/deploy-your-site","docId":"self-host/tutorial-basics/deploy-your-site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/docs/self-host/tutorial-basics/congratulations","docId":"self-host/tutorial-basics/congratulations","unlisted":false}],"href":"/docs/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/docs/self-host/tutorial-extras/manage-docs-versions","docId":"self-host/tutorial-extras/manage-docs-versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/docs/self-host/tutorial-extras/translate-your-site","docId":"self-host/tutorial-extras/translate-your-site","unlisted":false}],"href":"/docs/category/tutorial---extras"}],"contributeSidebar":[{"type":"link","label":"Code of conduct","href":"/docs/contribute/CODE_OF_CONDUCT","docId":"contribute/CODE_OF_CONDUCT","unlisted":false},{"type":"link","label":"Contributing to OpenSign","href":"/docs/contribute/intro","docId":"contribute/intro","unlisted":false},{"type":"link","label":"COMMUNITY","href":"/docs/contribute/COMMUNITY","docId":"contribute/COMMUNITY","unlisted":false},{"type":"link","label":"INSTALLATION","href":"/docs/contribute/INSTALLATION","docId":"contribute/INSTALLATION","unlisted":false},{"type":"link","label":"REPORTING_GUIDELINES","href":"/docs/contribute/REPORTING_GUIDELINES","docId":"contribute/REPORTING_GUIDELINES","unlisted":false}],"apiSidebar":[{"type":"link","label":"Introduction","href":"/docs/API-docs/opensign-api-v-1","docId":"API-docs/opensign-api-v-1","unlisted":false},{"type":"category","label":"User","items":[{"type":"link","label":"Get your details","href":"/docs/API-docs/get-user","className":"api-method get","docId":"API-docs/get-user","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Contacts","items":[{"type":"link","label":"Create contact","href":"/docs/API-docs/createcontact","className":"api-method post","docId":"API-docs/createcontact","unlisted":false},{"type":"link","label":"Get contact","href":"/docs/API-docs/getcontact","className":"api-method get","docId":"API-docs/getcontact","unlisted":false},{"type":"link","label":"Delete contact","href":"/docs/API-docs/deletecontact","className":"api-method delete","docId":"API-docs/deletecontact","unlisted":false},{"type":"link","label":"Get contact list","href":"/docs/API-docs/contactlist","className":"api-method get","docId":"API-docs/contactlist","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Documents","items":[{"type":"link","label":"Create document","href":"/docs/API-docs/createdocument","className":"api-method post","docId":"API-docs/createdocument","unlisted":false},{"type":"link","label":"Get document by ID","href":"/docs/API-docs/getdocument","className":"api-method get","docId":"API-docs/getdocument","unlisted":false},{"type":"link","label":"Update document by ID","href":"/docs/API-docs/update-document","className":"api-method put","docId":"API-docs/update-document","unlisted":false},{"type":"link","label":"Delete document by ID","href":"/docs/API-docs/deletedocument","className":"api-method delete","docId":"API-docs/deletedocument","unlisted":false},{"type":"link","label":"Get document list by doctype","href":"/docs/API-docs/getdocumentlist","className":"api-method get","docId":"API-docs/getdocumentlist","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Templates","items":[{"type":"link","label":"Create template","href":"/docs/API-docs/createtemplate","className":"api-method post","docId":"API-docs/createtemplate","unlisted":false},{"type":"link","label":"Get template by ID","href":"/docs/API-docs/get-template","className":"api-method get","docId":"API-docs/get-template","unlisted":false},{"type":"link","label":"Update template by ID","href":"/docs/API-docs/update-template","className":"api-method put","docId":"API-docs/update-template","unlisted":false},{"type":"link","label":"Delete template by ID","href":"/docs/API-docs/delete-template","className":"api-method delete","docId":"API-docs/delete-template","unlisted":false},{"type":"link","label":"Get template list","href":"/docs/API-docs/gettemplatelist","className":"api-method get","docId":"API-docs/gettemplatelist","unlisted":false}],"collapsed":true,"collapsible":true}]},"docs":{"API-docs/contactlist":{"id":"API-docs/contactlist","title":"Get contact list","description":"The Contact List API empowers you to retrieve a list of contacts, providing a comprehensive view of all available contacts in your contactbook.","sidebar":"apiSidebar"},"API-docs/createcontact":{"id":"API-docs/createcontact","title":"Create contact","description":"The Create contact API allows you to effortlessly create new contacts that can act as signers for your important documents.","sidebar":"apiSidebar"},"API-docs/createdocument":{"id":"API-docs/createdocument","title":"Create document","description":"The Create Document API allows users to generate new documents by providing data through `multipart/form-data`. This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios.","sidebar":"apiSidebar"},"API-docs/createtemplate":{"id":"API-docs/createtemplate","title":"Create template","description":"The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique **templateId** that can be used to generate documents based on the specified template and **url** to edit template.","sidebar":"apiSidebar"},"API-docs/delete-template":{"id":"API-docs/delete-template","title":"Delete template by ID","description":"The Delete Template API provides you with the ability to remove a specific template from the templates. If a template is no longer needed","sidebar":"apiSidebar"},"API-docs/deletecontact":{"id":"API-docs/deletecontact","title":"Delete contact","description":"The Delete Contact API allows you to remove a contact from your contactbook. If you no longer need a particular contact\'s information, this API makes it easy to delete their record.","sidebar":"apiSidebar"},"API-docs/deletedocument":{"id":"API-docs/deletedocument","title":"Delete document by ID","description":"The Delete document API allows you to remove specific document from your documents.","sidebar":"apiSidebar"},"API-docs/get-template":{"id":"API-docs/get-template","title":"Get template by ID","description":"The Get Template API allows you to retrieve details about a specific template. Templates serve as blueprints for creating documents with predefined structures.","sidebar":"apiSidebar"},"API-docs/get-user":{"id":"API-docs/get-user","title":"Get your details","description":"The Get User API enables you to get your own details.","sidebar":"apiSidebar"},"API-docs/getcontact":{"id":"API-docs/getcontact","title":"Get contact","description":"The Get Contact API allows you to retrieve details about a specific contact.","sidebar":"apiSidebar"},"API-docs/getdocument":{"id":"API-docs/getdocument","title":"Get document by ID","description":"The Get Document API enables you to retrieve details about a specific document.","sidebar":"apiSidebar"},"API-docs/getdocumentlist":{"id":"API-docs/getdocumentlist","title":"Get document list by doctype","description":"### Document Types:","sidebar":"apiSidebar"},"API-docs/gettemplatelist":{"id":"API-docs/gettemplatelist","title":"Get template list","description":"The Get Template List API allows you to retrieve a list of available templates. This functionality provides an overview of all templates, enabling users to choose from existing templates when creating documents.","sidebar":"apiSidebar"},"API-docs/intro":{"id":"API-docs/intro","title":"Overview","description":"OpenSign\u2122 API offers a robust suite of functionalities for digital document management and electronic signatures. Designed to cater to a wide array of business needs, the API facilitates the creation, signing, and management of digital documents. It ensures secure and efficient processes, complying with international legal standards for electronic signatures."},"API-docs/opensign-api-v-1":{"id":"API-docs/opensign-api-v-1","title":"OpenSign API v1","description":"This is API documentation for OpenSign API v1 based on the OpenAPI 3.1 specification.","sidebar":"apiSidebar"},"API-docs/update-document":{"id":"API-docs/update-document","title":"Update document by ID","description":"The Update Document API allows users to modify and update the details of a specific document.","sidebar":"apiSidebar"},"API-docs/update-template":{"id":"API-docs/update-template","title":"Update template by ID","description":"The Update Template API enables you to modify and update the details of a specific template.","sidebar":"apiSidebar"},"contribute/CODE_OF_CONDUCT":{"id":"contribute/CODE_OF_CONDUCT","title":"Code of conduct","description":"1. Introduction","sidebar":"contributeSidebar"},"contribute/COMMUNITY":{"id":"contribute/COMMUNITY","title":"COMMUNITY","description":"","sidebar":"contributeSidebar"},"contribute/INSTALLATION":{"id":"contribute/INSTALLATION","title":"INSTALLATION","description":"","sidebar":"contributeSidebar"},"contribute/intro":{"id":"contribute/intro","title":"Contributing to OpenSign","description":"Hello there! Thank you for considering contributing to OpenSign, the open-source alternative to DocuSign. OpenSign is not just a project, but a community endeavor that aims to create a robust, user-friendly, and secure electronic signature solution. Your contributions, irrespective of their size, are valuable in making this vision a reality.","sidebar":"contributeSidebar"},"contribute/REPORTING_GUIDELINES":{"id":"contribute/REPORTING_GUIDELINES","title":"REPORTING_GUIDELINES","description":"","sidebar":"contributeSidebar"},"help/intro":{"id":"help/intro","title":"Intro","description":"\ud83c\udf1fGet ready for an electrifying journey at OpenSign\u2122, the most incredibly documented open source document signing solution! \ud83d\ude80 This is your go-to spot for diving deep into everything OpenSign\u2122 has to offer. Whether you\u2019re just starting out or you\u2019re a seasoned pro eager to uncover even more cool features, we\u2019ve got you covered with the most awesome, top-notch guides and resources around. Get ready to make the most out of OpenSign\u2122 \ud83c\udf89\ud83d\udcda\ud83d\udd0d Your adventure in excellence starts here! \ud83c\udf08\u2728\ud83c\udf1f","sidebar":"tutorialSidebar"},"help/New-Document/request-signatures":{"id":"help/New-Document/request-signatures","title":"Request signatures","description":"Interface Overview","sidebar":"tutorialSidebar"},"help/New-Document/sign-yourself":{"id":"help/New-Document/sign-yourself","title":"Sign yourself","description":"This feature lets you sign documents that dont need to be sent to anybody.","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"Tutorial Intro","description":"Let\'s discover Docusaurus in less than 5 minutes."},"self-host/intro":{"id":"self-host/intro","title":"Tutorial Intro","description":"Let\'s discover Docusaurus in less than 5 minutes.","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/congratulations":{"id":"self-host/tutorial-basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/create-a-blog-post":{"id":"self-host/tutorial-basics/create-a-blog-post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/create-a-document":{"id":"self-host/tutorial-basics/create-a-document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/create-a-page":{"id":"self-host/tutorial-basics/create-a-page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/deploy-your-site":{"id":"self-host/tutorial-basics/deploy-your-site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"selfhostSidebar"},"self-host/tutorial-basics/markdown-features":{"id":"self-host/tutorial-basics/markdown-features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional features.","sidebar":"selfhostSidebar"},"self-host/tutorial-extras/manage-docs-versions":{"id":"self-host/tutorial-extras/manage-docs-versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"selfhostSidebar"},"self-host/tutorial-extras/translate-your-site":{"id":"self-host/tutorial-extras/translate-your-site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"selfhostSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/a2bc1463.87a05c5b.js b/assets/js/a2bc1463.87a05c5b.js deleted file mode 100644 index 506f18e81..000000000 --- a/assets/js/a2bc1463.87a05c5b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[2245],{87435:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>g,contentTitle:()=>u,default:()=>b,frontMatter:()=>x,metadata:()=>j,toc:()=>f});var l=a(85893),i=a(11151),t=a(58219),n=(a(62316),a(51039)),r=a.n(n),d=(a(82723),a(9487)),c=a(41429),m=a(5397),o=a(4667),p=a(9472),h=a(85162);const x={id:"contactlist",title:"Get contact list",description:"",sidebar_label:"Get contact list",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1r40YQ/ivqfLqAbMtO7kpFKReOEMIdl1CnFJqYYy2NrYlXu3u7K8fG6L+XWcmx5CS9XikHIYlm5+WZmWdmdwdeLB2kd/BBKy8y72AWQ44us2Q8aQUpQAzaoBX8eZVDClmjKsl5iMEIK0r0aNnNDpQoEVLYDIShgdcrVBADsZ8CRY4WYrD4tSKLOaTeVhiD81vJNo5KIxFiwI2ROkdIF0I6VsgKLAWkO/BbEzS9JbWEmlVFMEoZo3K0VMPNZrOBOn6CIqkkvwfxtUK77WHYx2hBLLQtuxBaiMcIVFXO0fYQjJNOULci8wNiJvWM/TqjlUPHupMk4T/9Froqy9C5RSWjp1ZCHBqJyrO+MEZSFg5GD46Nds8B6PkDZqHnlt14akJadJX0HT1hreCEyWPpvm3fiJlaxw2OQ2mE70oOHTfFeF5sJg+GS/I51P37HDxojOaIbH5RCpL/wX6O+L4VDDNdsqubQqvvhnI2Ph1Pwg+7yCwKj/m5f8nNwWiSTE4H42SQ/Hw7fpee/ZK+fTdMkuQviGFThmxaNubChyw9edn9rkz+A+LUx2rtAsnRC5Kua9CeQF13hKQkKfyyp/kXpngdNM6St8/JfqXWQlIend9cRbe8gH76/6iO1mr7z8XqhvdN+OcVoEap2Y+9VLvyJkmHWWXJb8N67e7V9G7G41+iLzTv5SU2+9gXkMKov6Ud2vV+RVdW8jr23rh0NHJeLEktB8KY4X6HSjF3TOeRMDRaj4HD7GFMuVRNNXpgDtNv6CPy+H/zKuDsSC10MG4rcG1QTWmpQv3WYzi+jW4LchG5cJzrrCpR+dDLaKFtdGQdzYXDPNIq8gWGQ5afDseRM5jRoqXBMLpX92qqS4wqh7wlJamVS+/VILq7XiwoIyGjP3HuyOPszb5yj4+Pzyp2EmwuyRfVPLJo9EF9GYShrF2rp48TiMGjLd31Yop2TRm2XXol1Cgoj1py89QwQZs9the9PzZisknKUDns0PH88uZTdDpMIO6Q419AHn26+nDxeXrBXpleTYvGw2SYsMho50uhOoEu0UcttKhlZq+9u8Og8rujZZTHjR8ZKSjMSkC4a3l+13uNzGIotPMs3u24939YWdcsbu5gZn9OTsxl5xZe4bbzSlgLWXHM8IJ4Rbe93A+qM/6wxLphKuM9w18M+GrGb35vXwgn0WvJNwD6I9WD3CicZxmabjrPll5vc1xe3EIMouKKdud4Fea4/Ydz2R+pbcd3H00DgH8znBcNfuUp/Ijb357Um5NXDZ6ejo02l2JW1/Xf7z6b5g==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},u=void 0,j={id:"API-docs/contactlist",title:"Get contact list",description:"",source:"@site/docs/API-docs/contactlist.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/contactlist",permalink:"/docs/API-docs/contactlist",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"contactlist",title:"Get contact list",description:"",sidebar_label:"Get contact list",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1r40YQ/ivqfLqAbMtO7kpFKReOEMIdl1CnFJqYYy2NrYlXu3u7K8fG6L+XWcmx5CS9XikHIYlm5+WZmWdmdwdeLB2kd/BBKy8y72AWQ44us2Q8aQUpQAzaoBX8eZVDClmjKsl5iMEIK0r0aNnNDpQoEVLYDIShgdcrVBADsZ8CRY4WYrD4tSKLOaTeVhiD81vJNo5KIxFiwI2ROkdIF0I6VsgKLAWkO/BbEzS9JbWEmlVFMEoZo3K0VMPNZrOBOn6CIqkkvwfxtUK77WHYx2hBLLQtuxBaiMcIVFXO0fYQjJNOULci8wNiJvWM/TqjlUPHupMk4T/9Froqy9C5RSWjp1ZCHBqJyrO+MEZSFg5GD46Nds8B6PkDZqHnlt14akJadJX0HT1hreCEyWPpvm3fiJlaxw2OQ2mE70oOHTfFeF5sJg+GS/I51P37HDxojOaIbH5RCpL/wX6O+L4VDDNdsqubQqvvhnI2Ph1Pwg+7yCwKj/m5f8nNwWiSTE4H42SQ/Hw7fpee/ZK+fTdMkuQviGFThmxaNubChyw9edn9rkz+A+LUx2rtAsnRC5Kua9CeQF13hKQkKfyyp/kXpngdNM6St8/JfqXWQlIend9cRbe8gH76/6iO1mr7z8XqhvdN+OcVoEap2Y+9VLvyJkmHWWXJb8N67e7V9G7G41+iLzTv5SU2+9gXkMKov6Ud2vV+RVdW8jr23rh0NHJeLEktB8KY4X6HSjF3TOeRMDRaj4HD7GFMuVRNNXpgDtNv6CPy+H/zKuDsSC10MG4rcG1QTWmpQv3WYzi+jW4LchG5cJzrrCpR+dDLaKFtdGQdzYXDPNIq8gWGQ5afDseRM5jRoqXBMLpX92qqS4wqh7wlJamVS+/VILq7XiwoIyGjP3HuyOPszb5yj4+Pzyp2EmwuyRfVPLJo9EF9GYShrF2rp48TiMGjLd31Yop2TRm2XXol1Cgoj1py89QwQZs9the9PzZisknKUDns0PH88uZTdDpMIO6Q419AHn26+nDxeXrBXpleTYvGw2SYsMho50uhOoEu0UcttKhlZq+9u8Og8rujZZTHjR8ZKSjMSkC4a3l+13uNzGIotPMs3u24939YWdcsbu5gZn9OTsxl5xZe4bbzSlgLWXHM8IJ4Rbe93A+qM/6wxLphKuM9w18M+GrGb35vXwgn0WvJNwD6I9WD3CicZxmabjrPll5vc1xe3EIMouKKdud4Fea4/Ydz2R+pbcd3H00DgH8znBcNfuUp/Ijb357Um5NXDZ6ejo02l2JW1/Xf7z6b5g==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Deletes contact",permalink:"/docs/API-docs/deletecontact"},next:{title:"Create document",permalink:"/docs/API-docs/createdocument"}},g={},f=[{value:"Request",id:"request",level:2}];function y(e){const s={h2:"h2",p:"p",...(0,i.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(s.p,{children:"Get contact list"})}),"\n",(0,l.jsx)(r(),{method:"get",path:"/contactlist"}),"\n",(0,l.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Query Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsxs)("ul",{children:[(0,l.jsx)(c.Z,{className:"paramsItem",param:{name:"limit",in:"query",required:!1,style:"form",explode:!0,schema:{type:"number"},example:10}}),(0,l.jsx)(c.Z,{className:"paramsItem",param:{name:"skip",in:"query",required:!1,style:"form",explode:!0,schema:{type:"number"},example:0}})]})})]}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(c.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(t.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"successful operation"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!0,className:"schemaItem",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details",children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsxs)("span",{className:"openapi-schema__container",children:[(0,l.jsx)("strong",{className:"openapi-schema__property",children:(0,l.jsx)(s.p,{children:"result"})}),(0,l.jsx)("span",{className:"openapi-schema__name",children:(0,l.jsx)(s.p,{children:"contactdetails[]"})})]})}),(0,l.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,l.jsx)("li",{children:(0,l.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,l.jsx)(s.p,{children:"Array ["})})}),(0,l.jsx)(o.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"ph1bhx2jp"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"Email",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"Phone",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"4131231231"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,l.jsx)("li",{children:(0,l.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,l.jsx)(s.p,{children:"]"})})})]})]})})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "result": [\n {\n "objectId": "ph1bhx2jp",\n "Name": "joe bee",\n "Email": "joebee@example.com",\n "Phone": "4131231231",\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n }\n ]\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function b(e={}){const{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(y,{...e})}):y(e)}}}]); \ No newline at end of file diff --git a/assets/js/a2bc1463.96daf7b3.js b/assets/js/a2bc1463.96daf7b3.js new file mode 100644 index 000000000..f73e515db --- /dev/null +++ b/assets/js/a2bc1463.96daf7b3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[2245],{87435:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>v,contentTitle:()=>j,default:()=>b,frontMatter:()=>x,metadata:()=>u,toc:()=>g});var t=s(85893),i=s(11151),l=s(58219),n=(s(62316),s(51039)),r=s.n(n),o=(s(82723),s(9487)),c=s(41429),d=s(5397),m=s(4667),p=s(9472),h=s(85162);const x={id:"contactlist",title:"Get contact list",description:"The Contact List API empowers you to retrieve a list of contacts, providing a comprehensive view of all available contacts in your contactbook.",sidebar_label:"Get contact list",hide_title:!0,hide_table_of_contents:!0,api:"eJzNVm1r40YQ/ivb/XQB2ZaT3JWKUi4cIYQLl3BJKTQxx1oaWxOvdvd2V4qN0X8vs5JsKU56vVKOQkji2Xl55u3xbLkXS8eTe/5BKy9S7/gs4hm41KLxqBVP+F0OrH1lV+g8O7u5ZFAY/QTWsY0umdfMgrcIFTDBJOnoBUtbjxEzVleYoVoywVJdGAs5KIcVsArhiXSFlExUAqWYS9hZMlTk33aCudarMY+4NmAFobvMeMLbRwrLI26EFQV4sJTVlitRAE/4eiQMjrxegeIRR0orB5GB5RG38LVECxlPvC0h4s5vJNk4LIwEHnFYG6kz4MlCSEcKaQ6F4MmW+40Jmt6iWvKaVEUwSgijcrhU4/V6veZ1tIMisUDfgfhagt0MMHQxWhALbYs+hBbicwSqLOZgBwimcS+oW6H5ATHjekZ+ndHKgSPd4zimP8OJcmWagnOLUrJdK3kUGgnKk74wRmIaHiaPjoy2hwD0/BHS0HNLbjw2IS24UvqenrBWUMLooXDftm/ENFrPGxyF0gjfl+w7bvLpPF8fPxoqyadQ9+9z8KiBzQHI/LwQKP+F/RzgfSsYp7ogVze5Vt8N5XR6Mj0OP+QitSA8ZGf+JTd7o+P4+GQ0jUfxz3fTd8npL8nbd+M4jv/kEV8XIZt2GjPhQ5Yevex/Lk32A+LUz9VaAsnAC5Sub9C+8LruCVFJVPClG/MvNOJ10DiN3x4O+6WqhMQssOYdEdBP/92og7Xa/n2x+uF9E/6wAtgoNfw4SLUvb5J0kJYW/SbQa59Xk/sZrX8BPtfEy0to+NjnPOGTIUs7sFVH0aWVRMfeG5dMJs6LJarlSBgz7jhUirmjcZ4Ig5NqyilMB+OWStVUYwBmv/0GPwKt/ze/Cig7VAsdjNsKXBtQt7hUoX7VlB9+OaJj6MJzptOyAOVDL9lCW/bMms2Fg4xpxXwO4ZHkJ+MpcwZSXLRjMGYP6kHd6gJY6YBYUqJaueRBjdj99WKBKQrJ/oC5Qw+zN13lnp6eDip2FGwu0OflnFkweq++DMJQ1r7V7sMRj7gHW7jrxS3YClNou/RKqElQnrTDTVtDA9rwWCd6/9yIhk1iCspBbxzPLm6u2Mk45lFvOP4B5MnV5YfzT7fn5JXGq2nRdByPYxIZ7XwhVC/QBfjutmDtZA7au90v6v/wDGoH3MPaT4wUGFY3FGzbrt394DiaRTzXzpN4u6VR/N3KuiZxcxLQMmboKPb+KFjBpne0VEKWFDMcNK/otrfGXnVGHyySbiCJqFu4FwO+2oA3n9uD5Yi9lnwDYLjhA8iNwlmagumnc8DBAyK7OL/jERclVbRPK6tAK+0/lEv3pDY930M0DQD6TXBeNPiVBusjbH7bqTcvrxrsLtlGm0oxq+v6Ly6lBSM=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},j=void 0,u={id:"API-docs/contactlist",title:"Get contact list",description:"The Contact List API empowers you to retrieve a list of contacts, providing a comprehensive view of all available contacts in your contactbook.",source:"@site/docs/API-docs/contactlist.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/contactlist",permalink:"/docs/API-docs/contactlist",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"contactlist",title:"Get contact list",description:"The Contact List API empowers you to retrieve a list of contacts, providing a comprehensive view of all available contacts in your contactbook.",sidebar_label:"Get contact list",hide_title:!0,hide_table_of_contents:!0,api:"eJzNVm1r40YQ/ivb/XQB2ZaT3JWKUi4cIYQLl3BJKTQxx1oaWxOvdvd2V4qN0X8vs5JsKU56vVKOQkji2Xl55u3xbLkXS8eTe/5BKy9S7/gs4hm41KLxqBVP+F0OrH1lV+g8O7u5ZFAY/QTWsY0umdfMgrcIFTDBJOnoBUtbjxEzVleYoVoywVJdGAs5KIcVsArhiXSFlExUAqWYS9hZMlTk33aCudarMY+4NmAFobvMeMLbRwrLI26EFQV4sJTVlitRAE/4eiQMjrxegeIRR0orB5GB5RG38LVECxlPvC0h4s5vJNk4LIwEHnFYG6kz4MlCSEcKaQ6F4MmW+40Jmt6iWvKaVEUwSgijcrhU4/V6veZ1tIMisUDfgfhagt0MMHQxWhALbYs+hBbicwSqLOZgBwimcS+oW6H5ATHjekZ+ndHKgSPd4zimP8OJcmWagnOLUrJdK3kUGgnKk74wRmIaHiaPjoy2hwD0/BHS0HNLbjw2IS24UvqenrBWUMLooXDftm/ENFrPGxyF0gjfl+w7bvLpPF8fPxoqyadQ9+9z8KiBzQHI/LwQKP+F/RzgfSsYp7ogVze5Vt8N5XR6Mj0OP+QitSA8ZGf+JTd7o+P4+GQ0jUfxz3fTd8npL8nbd+M4jv/kEV8XIZt2GjPhQ5Yevex/Lk32A+LUz9VaAsnAC5Sub9C+8LruCVFJVPClG/MvNOJ10DiN3x4O+6WqhMQssOYdEdBP/92og7Xa/n2x+uF9E/6wAtgoNfw4SLUvb5J0kJYW/SbQa59Xk/sZrX8BPtfEy0to+NjnPOGTIUs7sFVH0aWVRMfeG5dMJs6LJarlSBgz7jhUirmjcZ4Ig5NqyilMB+OWStVUYwBmv/0GPwKt/ze/Cig7VAsdjNsKXBtQt7hUoX7VlB9+OaJj6MJzptOyAOVDL9lCW/bMms2Fg4xpxXwO4ZHkJ+MpcwZSXLRjMGYP6kHd6gJY6YBYUqJaueRBjdj99WKBKQrJ/oC5Qw+zN13lnp6eDip2FGwu0OflnFkweq++DMJQ1r7V7sMRj7gHW7jrxS3YClNou/RKqElQnrTDTVtDA9rwWCd6/9yIhk1iCspBbxzPLm6u2Mk45lFvOP4B5MnV5YfzT7fn5JXGq2nRdByPYxIZ7XwhVC/QBfjutmDtZA7au90v6v/wDGoH3MPaT4wUGFY3FGzbrt394DiaRTzXzpN4u6VR/N3KuiZxcxLQMmboKPb+KFjBpne0VEKWFDMcNK/otrfGXnVGHyySbiCJqFu4FwO+2oA3n9uD5Yi9lnwDYLjhA8iNwlmagumnc8DBAyK7OL/jERclVbRPK6tAK+0/lEv3pDY930M0DQD6TXBeNPiVBusjbH7bqTcvrxrsLtlGm0oxq+v6Ly6lBSM=",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Delete contact",permalink:"/docs/API-docs/deletecontact"},next:{title:"Create document",permalink:"/docs/API-docs/createdocument"}},v={},g=[{value:"Request",id:"request",level:2}];function f(e){const a={h2:"h2",p:"p",...(0,i.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(a.p,{children:"Get contact list"})}),"\n",(0,t.jsx)(r(),{method:"get",path:"/contactlist"}),"\n",(0,t.jsx)(a.p,{children:"The Contact List API empowers you to retrieve a list of contacts, providing a comprehensive view of all available contacts in your contactbook."}),"\n",(0,t.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Query Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsxs)("ul",{children:[(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"limit",in:"query",required:!1,style:"form",explode:!0,schema:{type:"number"},example:10}}),(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"skip",in:"query",required:!1,style:"form",explode:!0,schema:{type:"number"},example:0}})]})})]}),"\n",(0,t.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(a.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(l.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"successful operation"})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!0,className:"schemaItem",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details",children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsxs)("span",{className:"openapi-schema__container",children:[(0,t.jsx)("strong",{className:"openapi-schema__property",children:(0,t.jsx)(a.p,{children:"result"})}),(0,t.jsx)("span",{className:"openapi-schema__name",children:(0,t.jsx)(a.p,{children:"contactdetails[]"})})]})}),(0,t.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,t.jsx)("li",{children:(0,t.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,t.jsx)(a.p,{children:"Array ["})})}),(0,t.jsx)(m.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"ph1bhx2jp"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Email",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joebee@example.com"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"Phone",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"4131231231"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)(m.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,t.jsx)("li",{children:(0,t.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,t.jsx)(a.p,{children:"]"})})})]})]})})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "result": [\n {\n "objectId": "ph1bhx2jp",\n "Name": "joe bee",\n "Email": "joebee@example.com",\n "Phone": "4131231231",\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n }\n ]\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(a.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(m.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(d.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function b(e={}){const{wrapper:a}={...(0,i.a)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}}}]); \ No newline at end of file diff --git a/assets/js/a88a3db3.3e8883fd.js b/assets/js/a88a3db3.3e8883fd.js new file mode 100644 index 000000000..a352f753b --- /dev/null +++ b/assets/js/a88a3db3.3e8883fd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[7894],{79523:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>j,default:()=>v,frontMatter:()=>x,metadata:()=>u,toc:()=>y});var l=s(85893),t=s(11151),i=s(58219),n=(s(62316),s(51039)),d=s.n(n),m=(s(82723),s(9487)),r=s(41429),o=s(5397),p=s(4667),c=s(9472),h=s(85162);const x={id:"delete-template",title:"Delete template by ID",description:"The Delete Template API provides you with the ability to remove a specific template from the templates. If a template is no longer needed",sidebar_label:"Delete template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzNVm1v4zYM/isaP10BJ3baXof507q1uAUr1sOaYcDaoFBsOtZVlnSSnCYI/N8HynbiJtfuBYdhn1rTpMnnIfkwW/B86SC9hxlWRnKPDuYR5OgyK4wXWkEKsxLZFUr0yHovdvlxyozVK5GjYxtds2fhS+ZLZHwhpPAb5jWzWOkVMs6cwUwUImO+jy+sroJ7b3FjNi0Y33sIx5RmUqslWqYQc8whAm3QcqprmkMKeaiqLwoiMNzyCj1awrQFxSuEFNYjbsTI6ydUEIEgTCXyHC1EYPFzLSzmkHpbYwTObyTFOFEZSZ/EtZE6R0gLLh05ZCVWHNIt+I0Jnt4KtYSGXHkISqlM5cRSjdfr9RqaaFdKD+9R5H0phvsSDjmfXjFdvCCI+ZL7QIQjbhfIWvT51wQRQaFtxf0AVjOn7zujlUNHEadJQn8OZqSvsiuKuTrL0LmilnLzDUSQaeVReYrkxkiRhS7GnxyFb48L0otPmHlqqaWee9Emb83U/OPS9/T/sC5PuTM/mTNqS1fSpX876DQ5PRtNklHy7WxykZ5/l76/GCdJ8gdEsK4kxXY9zGnWmgi88HL/3By5hbQvHDtLQ87nyfkbNCrtWaFrlX9F7tBabd/m4Ev5mwECoaRQ+NjPw+N5cv54sQP0/hjQVK24FHnQixkt4H+LZ5jet+mPGyVap1YfXoAd2luQFfpS76UnSI4vIYW439N4O9jxBiJwaFe9INVWkvh4b1wax87zpVDLETdm3CuG5As3znQVcyPi1QRo/RxmtRV+c0fEtNiHkrZngBvxM24g+mvhIyxCFToEd3hvDao7sVSBrdXkSJNmpXAky/Q611ldofKhc6zQlh1EswV3mDOtgojRS7KfjSe7YxBCx+xBPag7XSGrHRa1ZFKoJ5c+qBG7vy0KkQku2e+4cMLj/F3P3PPz8xFjJyHmg/BlvWAWjd67L4Mx0DqM2j2cQAQebeVuizu0K5Fh16VXUsXBOe5GmWdhlLHigrrbmb4/DKLRkiJD5XAwfJcfPt6ws3EC0WA4/kbJ8c30x+tf7q7pqzRebYsm42SckMlo5yuuBom6C747J4sNm14d9ni7383/1dnv5tvj2sdGchH2NPC17RbwfndaIYJ0eGbnEZTaeXLZbmkqf7Oyacj8uUa7gfR+HsGKW8EXtAb3W8iFo//z3bl8laN3v3aX94T9s4v9RUD9Fita4RWXNT1BBE+4Ofjp0MybqF/lf13xa2W06V5qx64a+i3TOlxmGRo/eHek5aRdO8G8ur65nl1D0/wJm2uXSw==",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},j=void 0,u={id:"API-docs/delete-template",title:"Delete template by ID",description:"The Delete Template API provides you with the ability to remove a specific template from the templates. If a template is no longer needed",source:"@site/docs/API-docs/delete-template.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/delete-template",permalink:"/docs/API-docs/delete-template",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"delete-template",title:"Delete template by ID",description:"The Delete Template API provides you with the ability to remove a specific template from the templates. If a template is no longer needed",sidebar_label:"Delete template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzNVm1v4zYM/isaP10BJ3baXof507q1uAUr1sOaYcDaoFBsOtZVlnSSnCYI/N8HynbiJtfuBYdhn1rTpMnnIfkwW/B86SC9hxlWRnKPDuYR5OgyK4wXWkEKsxLZFUr0yHovdvlxyozVK5GjYxtds2fhS+ZLZHwhpPAb5jWzWOkVMs6cwUwUImO+jy+sroJ7b3FjNi0Y33sIx5RmUqslWqYQc8whAm3QcqprmkMKeaiqLwoiMNzyCj1awrQFxSuEFNYjbsTI6ydUEIEgTCXyHC1EYPFzLSzmkHpbYwTObyTFOFEZSZ/EtZE6R0gLLh05ZCVWHNIt+I0Jnt4KtYSGXHkISqlM5cRSjdfr9RqaaFdKD+9R5H0phvsSDjmfXjFdvCCI+ZL7QIQjbhfIWvT51wQRQaFtxf0AVjOn7zujlUNHEadJQn8OZqSvsiuKuTrL0LmilnLzDUSQaeVReYrkxkiRhS7GnxyFb48L0otPmHlqqaWee9Emb83U/OPS9/T/sC5PuTM/mTNqS1fSpX876DQ5PRtNklHy7WxykZ5/l76/GCdJ8gdEsK4kxXY9zGnWmgi88HL/3By5hbQvHDtLQ87nyfkbNCrtWaFrlX9F7tBabd/m4Ev5mwECoaRQ+NjPw+N5cv54sQP0/hjQVK24FHnQixkt4H+LZ5jet+mPGyVap1YfXoAd2luQFfpS76UnSI4vIYW439N4O9jxBiJwaFe9INVWkvh4b1wax87zpVDLETdm3CuG5As3znQVcyPi1QRo/RxmtRV+c0fEtNiHkrZngBvxM24g+mvhIyxCFToEd3hvDao7sVSBrdXkSJNmpXAky/Q611ldofKhc6zQlh1EswV3mDOtgojRS7KfjSe7YxBCx+xBPag7XSGrHRa1ZFKoJ5c+qBG7vy0KkQku2e+4cMLj/F3P3PPz8xFjJyHmg/BlvWAWjd67L4Mx0DqM2j2cQAQebeVuizu0K5Fh16VXUsXBOe5GmWdhlLHigrrbmb4/DKLRkiJD5XAwfJcfPt6ws3EC0WA4/kbJ8c30x+tf7q7pqzRebYsm42SckMlo5yuuBom6C747J4sNm14d9ni7383/1dnv5tvj2sdGchH2NPC17RbwfndaIYJ0eGbnEZTaeXLZbmkqf7Oyacj8uUa7gfR+HsGKW8EXtAb3W8iFo//z3bl8laN3v3aX94T9s4v9RUD9Fita4RWXNT1BBE+4Ofjp0MybqF/lf13xa2W06V5qx64a+i3TOlxmGRo/eHek5aRdO8G8ur65nl1D0/wJm2uXSw==",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Update template by ID",permalink:"/docs/API-docs/update-template"},next:{title:"Get template list",permalink:"/docs/API-docs/gettemplatelist"}},f={},y=[{value:"Request",id:"request",level:2}];function b(e){const a={h2:"h2",p:"p",...(0,t.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(a.p,{children:"Delete template by ID"})}),"\n",(0,l.jsx)(d(),{method:"delete",path:"/template/{template_id}"}),"\n",(0,l.jsx)(a.p,{children:"The Delete Template API provides you with the ability to remove a specific template from the templates. If a template is no longer needed"}),"\n",(0,l.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(r.Z,{className:"paramsItem",param:{name:"template_id",in:"path",description:"ID of the template that needs to be deleted",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string"}}})})})]}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(r.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template deleted successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(p.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Bxh2aspHp3"}}),(0,l.jsx)(p.Z,{collapsible:!1,name:"deletedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "objectId": "Bxh2aspHp3",\n "deletedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(p.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Template not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Template not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(p.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:a}={...(0,t.a)(),...e.components};return a?(0,l.jsx)(a,{...e,children:(0,l.jsx)(b,{...e})}):b(e)}}}]); \ No newline at end of file diff --git a/assets/js/a88a3db3.b6ccaf5d.js b/assets/js/a88a3db3.b6ccaf5d.js deleted file mode 100644 index 31ce73023..000000000 --- a/assets/js/a88a3db3.b6ccaf5d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[7894],{79523:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>u,default:()=>I,frontMatter:()=>x,metadata:()=>j,toc:()=>v});var l=s(85893),t=s(11151),n=s(58219),i=(s(62316),s(51039)),d=s.n(i),r=(s(82723),s(9487)),p=s(41429),m=s(5397),o=s(4667),c=s(9472),h=s(85162);const x={id:"delete-template",title:"Delete template by ID",description:"Delete template by ID",sidebar_label:"Delete template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v4zYM/isaP10BJXbaXof507q1uAUr1sOlw4C1QaHYdKyrLOkkOk0Q+L8P8kviNNfuBYd9SkyT4kM+5CNvgcTSQ3IPd1haJQg9zDkYi06QNHqaQQIZKiTsHYCDFU6USOhC5Ba0KBESWI+ElSMyT6iBg9SQQIEiQwccHH6ppMMMEnIVcvC0USHGy9KqcCSurTIZQpIL5YNDWmApINkCbWzjSU7qJdTBVTRBSYCpvVzq8Xq9XkPNd1Cow/oosx6KFVQAhwx96qQNtUEC0ytmckYFsj6CUSGIacTMMzJsgaytPvuWRXDIjSsFDcqq5+F8b4326EPEaRyHn0O8PQc9KOarNEXv80qpzXfAITWaUFOIFNYqmTYsRp99CN8eAzKLz5hSoNQFzkm2yVtzIP8Y+r79P62LU+HtL/Ys0NJBuqS3g07j07PRJB7F399NLpLzH5L3F+M4jv8EDutShdiOwyzMWs2BJKn9c33k1qQ9cOwsdXA+j8/faKM2xHJT6ewb9g6dM+7tHnwtfz2oQGolNT728/B4Hp8/XuwKen9c0FSvhJIZu/w4ZXdhAf/feobpqU1/TJRsnVp9OCh2aG+LPKzuqiF0v6KLDZteAYcSqTB7gWqEiQpIIOpdo+1ACWrg4NGtetmqnAoSRWR9EkWexFLq5UhYO+51RYmFH6emjISV0WoCYUk9ppWTtJmF9rUdGgrfvk/Cyl9xA/zv5TFULHVumuCuK7cW9UwuddPT1eRIue4K6Zn0zevMpFWJmhp+WW4cexHNFsJjxoxupC68DPaz8YR5i6nMu9EYswf9oGemRFZ5zCvFlNRPPnnQI3Z/m+cylUKxP3DhJeH8Xd+55+fno46dNDEfJBXVgjm0Zu++bIxNW4dRu4cT4EDoSn+bz9CtZIodS6+kihrnqBt4kTYDj6WQgd3O9OPLoDCASqaoPQ5G9PLDxxt2No6BD4bjH0CObqY/X/82uw6nhvFqKZqM43EcTNZ4KoUeJHptog843k0S4Zoiq4Rs9qZBtu1G/X531QGHZHjtzTkUxlNw2W4D/787VdfB/KVCt4Hkfs5hJZwUizBw91vIpA//s9319QLNTk/g3afuJjxh/+4G/WpB/b7osCwroarwBByecPPiKq/nNe+X5j8jfg1Gm+5wS3dowrdF63CZpmhp8O5IW4NK7KTp6vrm+u4a6vovP143rw==",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},u=void 0,j={id:"API-docs/delete-template",title:"Delete template by ID",description:"Delete template by ID",source:"@site/docs/API-docs/delete-template.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/delete-template",permalink:"/docs/API-docs/delete-template",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"delete-template",title:"Delete template by ID",description:"Delete template by ID",sidebar_label:"Delete template by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vm1v4zYM/isaP10BJXbaXof507q1uAUr1sOlw4C1QaHYdKyrLOkkOk0Q+L8P8kviNNfuBYd9SkyT4kM+5CNvgcTSQ3IPd1haJQg9zDkYi06QNHqaQQIZKiTsHYCDFU6USOhC5Ba0KBESWI+ElSMyT6iBg9SQQIEiQwccHH6ppMMMEnIVcvC0USHGy9KqcCSurTIZQpIL5YNDWmApINkCbWzjSU7qJdTBVTRBSYCpvVzq8Xq9XkPNd1Cow/oosx6KFVQAhwx96qQNtUEC0ytmckYFsj6CUSGIacTMMzJsgaytPvuWRXDIjSsFDcqq5+F8b4326EPEaRyHn0O8PQc9KOarNEXv80qpzXfAITWaUFOIFNYqmTYsRp99CN8eAzKLz5hSoNQFzkm2yVtzIP8Y+r79P62LU+HtL/Ys0NJBuqS3g07j07PRJB7F399NLpLzH5L3F+M4jv8EDutShdiOwyzMWs2BJKn9c33k1qQ9cOwsdXA+j8/faKM2xHJT6ewb9g6dM+7tHnwtfz2oQGolNT728/B4Hp8/XuwKen9c0FSvhJIZu/w4ZXdhAf/feobpqU1/TJRsnVp9OCh2aG+LPKzuqiF0v6KLDZteAYcSqTB7gWqEiQpIIOpdo+1ACWrg4NGtetmqnAoSRWR9EkWexFLq5UhYO+51RYmFH6emjISV0WoCYUk9ppWTtJmF9rUdGgrfvk/Cyl9xA/zv5TFULHVumuCuK7cW9UwuddPT1eRIue4K6Zn0zevMpFWJmhp+WW4cexHNFsJjxoxupC68DPaz8YR5i6nMu9EYswf9oGemRFZ5zCvFlNRPPnnQI3Z/m+cylUKxP3DhJeH8Xd+55+fno46dNDEfJBXVgjm0Zu++bIxNW4dRu4cT4EDoSn+bz9CtZIodS6+kihrnqBt4kTYDj6WQgd3O9OPLoDCASqaoPQ5G9PLDxxt2No6BD4bjH0CObqY/X/82uw6nhvFqKZqM43EcTNZ4KoUeJHptog843k0S4Zoiq4Rs9qZBtu1G/X531QGHZHjtzTkUxlNw2W4D/787VdfB/KVCt4Hkfs5hJZwUizBw91vIpA//s9319QLNTk/g3afuJjxh/+4G/WpB/b7osCwroarwBByecPPiKq/nNe+X5j8jfg1Gm+5wS3dowrdF63CZpmhp8O5IW4NK7KTp6vrm+u4a6vovP143rw==",sidebar_class_name:"delete api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Update template by ID",permalink:"/docs/API-docs/update-template"},next:{title:"Get template list",permalink:"/docs/API-docs/gettemplatelist"}},f={},v=[{value:"Request",id:"request",level:2}];function y(e){const a={h2:"h2",p:"p",...(0,t.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(a.p,{children:"Delete template by ID"})}),"\n",(0,l.jsx)(d(),{method:"delete",path:"/template/{template_id}"}),"\n",(0,l.jsx)(a.p,{children:"Delete template by ID"}),"\n",(0,l.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(p.Z,{className:"paramsItem",param:{name:"template_id",in:"path",description:"ID of the template that needs to be deleted",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string"}}})})})]}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(p.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(n.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template deleted successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(o.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Bxh2aspHp3"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"deletedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "objectId": "Bxh2aspHp3",\n "deletedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Template not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Template not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "error": "Template not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(c.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function I(e={}){const{wrapper:a}={...(0,t.a)(),...e.components};return a?(0,l.jsx)(a,{...e,children:(0,l.jsx)(y,{...e})}):y(e)}}}]); \ No newline at end of file diff --git a/assets/js/bbdfc22d.c9a8cf21.js b/assets/js/bbdfc22d.c9a8cf21.js deleted file mode 100644 index 835f38f52..000000000 --- a/assets/js/bbdfc22d.c9a8cf21.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[1531],{60877:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>x,default:()=>v,frontMatter:()=>h,metadata:()=>j,toc:()=>b});var t=a(85893),l=a(11151),i=a(58219),r=(a(62316),a(51039)),n=a.n(r),c=(a(82723),a(9487)),d=a(41429),m=a(5397),p=a(4667),o=a(9472),u=a(85162);const h={id:"createtemplate",title:"Create template",description:"The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique **templateId** that can be used to generate documents based on the specified template.",sidebar_label:"Create template",hide_title:!0,hide_table_of_contents:!0,api:"eJztVktv20YQ/ivbOcUG9XCSXniq6waB0cA2Kgc92IaxJEfixOTueneoRwT992KWlExZcpsCPfYkat7z7cy3uwbWswDpHdxi7SrNGOAhgQJD7skxWQMp3Jaotmp14VGLXJ3fXCpdVXYRVBPQB8VW5aJElTeBbU3fdVah4m3gRC1KyksV0M9R6aCyqkHnyXBQU+vVDA16zWRmqrB5U6MoFsSlch4LnJLBQgX2Tc6NxzBUX501KjR5jiFMm2qXqS2DrEkUlxgL9ciNN0Fp1Rh6blCdnm6tL4vTU8WlZpVrozKUbgpppqsHe9VkWnTWxLjBYU5TEuMu1BASsC42Yc1lASm0gGz1kIDTXtfI6AX0NRhdI6SwHGhHA7ZPaCABEtBL1AV6SMDjc0MeC0jZN5hA4FUlPoFqV0lIXLrKFgjpVFdBDPISaw3pGnjloiV7MjPYiKmOTqmUaQLNzHC5XC5h89DmwcC/2mIlvrk1jIbls24qJqc9j6bW14NCc4x+kMdm3zBnadILCkwYRDslyfi6mgQkmGZIISOj/Urqu4pwHCn8t/5AHtFfWT7uOKGZiWDvdNp7vRKUGetwxGezSYCJI0r7x/eYCTbRYP9QoiA4a0Lb8fvxWH5ebdHedMoo7ya3Wv0ESR9x7VxFeRyj0bfQ9vyjcLdimb6dpWnqDL3A0fjq2FG8zEXJ7EI6GnWSxlfD3NbQB4VMRQYftx0/vh+PHz8KLJsEPo5/Puz80sx1RUVcxFuZ8f+wW/Te+r9vqZ+e2/RS6rKOUHQbSK1Ru4J7zfblbZM1cmllu50NsSLNJaQwOlj2yHTdpkfkd/AG1jMys4F2brhdxUpnQcAeaUej+VlcyoB544lXE4Gj7bjPFb2pdvQ7ylj/I6NIB2SmNjp3XV47NLIpEaP5GRzeABQUhajesmF7Cwhxv/LeZ0lRivzD8GzLmO1RD9W9uTcTW0fGFf6uyDyF9N4M1N31dEo56Ur9iVkgxod3W+QWi8UBYifR5zNx2WTKo7Mv5rMojLD2vXZ/TiABRl+H6+kE/Zzy7RK8kWoUjUfdAOs8DjDWmuR0O9Evr51koCrK0QTsjdz555sv6sNwDElvOH6g5NGXy4tPV5NPElXGqz2is+F4OBaRDGWtTS/RRXsr9waz2KfT3S7+f9X/m6u+Wz3GJY9cpcn0GLblhLvXD4CHBEohjfQO1mtJ8dVXm42Inxv0K0jvHhKYa0+Cp/zbJNu9FRIpKIii2N31bx7kuz+6G+pEvVXpE64OiGKuq0YsYZOsO4OLNubgVmK8WBx7FLw4nec5Ou6ZH3C8sNuOSG+uJ7eQQNa9Per4nIkPhBg3efkUSDabvwBdScEV",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/createtemplate",title:"Create template",description:"The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique **templateId** that can be used to generate documents based on the specified template.",source:"@site/docs/API-docs/createtemplate.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/createtemplate",permalink:"/docs/API-docs/createtemplate",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"createtemplate",title:"Create template",description:"The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique **templateId** that can be used to generate documents based on the specified template.",sidebar_label:"Create template",hide_title:!0,hide_table_of_contents:!0,api:"eJztVktv20YQ/ivbOcUG9XCSXniq6waB0cA2Kgc92IaxJEfixOTueneoRwT992KWlExZcpsCPfYkat7z7cy3uwbWswDpHdxi7SrNGOAhgQJD7skxWQMp3Jaotmp14VGLXJ3fXCpdVXYRVBPQB8VW5aJElTeBbU3fdVah4m3gRC1KyksV0M9R6aCyqkHnyXBQU+vVDA16zWRmqrB5U6MoFsSlch4LnJLBQgX2Tc6NxzBUX501KjR5jiFMm2qXqS2DrEkUlxgL9ciNN0Fp1Rh6blCdnm6tL4vTU8WlZpVrozKUbgpppqsHe9VkWnTWxLjBYU5TEuMu1BASsC42Yc1lASm0gGz1kIDTXtfI6AX0NRhdI6SwHGhHA7ZPaCABEtBL1AV6SMDjc0MeC0jZN5hA4FUlPoFqV0lIXLrKFgjpVFdBDPISaw3pGnjloiV7MjPYiKmOTqmUaQLNzHC5XC5h89DmwcC/2mIlvrk1jIbls24qJqc9j6bW14NCc4x+kMdm3zBnadILCkwYRDslyfi6mgQkmGZIISOj/Urqu4pwHCn8t/5AHtFfWT7uOKGZiWDvdNp7vRKUGetwxGezSYCJI0r7x/eYCTbRYP9QoiA4a0Lb8fvxWH5ebdHedMoo7ya3Wv0ESR9x7VxFeRyj0bfQ9vyjcLdimb6dpWnqDL3A0fjq2FG8zEXJ7EI6GnWSxlfD3NbQB4VMRQYftx0/vh+PHz8KLJsEPo5/Puz80sx1RUVcxFuZ8f+wW/Te+r9vqZ+e2/RS6rKOUHQbSK1Ru4J7zfblbZM1cmllu50NsSLNJaQwOlj2yHTdpkfkd/AG1jMys4F2brhdxUpnQcAeaUej+VlcyoB544lXE4Gj7bjPFb2pdvQ7ylj/I6NIB2SmNjp3XV47NLIpEaP5GRzeABQUhajesmF7Cwhxv/LeZ0lRivzD8GzLmO1RD9W9uTcTW0fGFf6uyDyF9N4M1N31dEo56Ur9iVkgxod3W+QWi8UBYifR5zNx2WTKo7Mv5rMojLD2vXZ/TiABRl+H6+kE/Zzy7RK8kWoUjUfdAOs8DjDWmuR0O9Evr51koCrK0QTsjdz555sv6sNwDElvOH6g5NGXy4tPV5NPElXGqz2is+F4OBaRDGWtTS/RRXsr9waz2KfT3S7+f9X/m6u+Wz3GJY9cpcn0GLblhLvXD4CHBEohjfQO1mtJ8dVXm42Inxv0K0jvHhKYa0+Cp/zbJNu9FRIpKIii2N31bx7kuz+6G+pEvVXpE64OiGKuq0YsYZOsO4OLNubgVmK8WBx7FLw4nec5Ou6ZH3C8sNuOSG+uJ7eQQNa9Per4nIkPhBg3efkUSDabvwBdScEV",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get document list by doctype",permalink:"/docs/API-docs/getdocumentlist"},next:{title:"Get template by ID",permalink:"/docs/API-docs/get-template"}},f={},b=[{value:"Request",id:"request",level:2}];function g(e){const s={h2:"h2",p:"p",strong:"strong",...(0,l.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(s.p,{children:"Create template"})}),"\n",(0,t.jsx)(n(),{method:"post",path:"/createtemplate"}),"\n",(0,t.jsxs)(s.p,{children:["The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique ",(0,t.jsx)(s.strong,{children:"templateId"})," that can be used to generate documents based on the specified template."]}),"\n",(0,t.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(s.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(d.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",children:(0,t.jsx)(u.default,{label:"multipart/form-data",value:"multipart/form-data-schema",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,t.jsxs)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:[(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,t.jsx)(s.p,{children:"Body"})}),(0,t.jsx)("strong",{className:"openapi-schema__required",children:(0,t.jsx)(s.p,{children:"required"})})]}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(p.Z,{collapsible:!1,name:"file",required:!1,schemaName:"binary",qualifierMessage:void 0,schema:{type:"string",format:"binary"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Description",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"Signers",required:!1,schemaName:"string[]",qualifierMessage:void 0,schema:{type:"array",items:{type:"string"}}})]})]})})}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(i.Z,{children:[(0,t.jsxs)(u.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.p,{children:"Template created successfully!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(s.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(p.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"number",qualifierMessage:void 0,schema:{type:"number"}}),(0,t.jsx)(p.Z,{collapsible:!1,name:"url",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"https://exampleurl.com"}})]})]})}),(0,t.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "objectId": 0,\n "url": "https://exampleurl.com"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(u.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(o.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(s.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(p.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:s}={...(0,l.a)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(g,{...e})}):g(e)}}}]); \ No newline at end of file diff --git a/assets/js/bbdfc22d.ec04bb2d.js b/assets/js/bbdfc22d.ec04bb2d.js new file mode 100644 index 000000000..bf94bb4c3 --- /dev/null +++ b/assets/js/bbdfc22d.ec04bb2d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[1531],{60877:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>g,contentTitle:()=>x,default:()=>v,frontMatter:()=>u,metadata:()=>j,toc:()=>b});var t=a(85893),i=a(11151),l=a(58219),r=(a(62316),a(51039)),n=a.n(r),d=(a(82723),a(9487)),c=a(41429),m=a(5397),o=a(4667),p=a(9472),h=a(85162);const u={id:"createtemplate",title:"Create template",description:"The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique **templateId** that can be used to generate documents based on the specified template and **url** to edit template.",sidebar_label:"Create template",hide_title:!0,hide_table_of_contents:!0,api:"eJztVktvGzcQ/ivsnGJh9XCSXvZU1w0Co4FtVA56sA2D2h1pJ+aSNDmrRwT992K4kryy7DaHHHvSat7z8Zsh18B6FiG/hRusvdGMEe4zKDEWgTyTs5DDTYVqp1bnAbXI1dn1hdLGuEVUTcQQFTtViBJV0UR2NX3XE4OKd4EztaioqFTEMEelo5qYBn0gy1FNXVAztBg0k52p0hVNjaJYEFfKByxxShZLFTk0BTcB40B99c6q2BQFxjhtzD5TWwY5mymuMBUakJtgo9KqsfTUoOr1dtYXZa+nuNKsCm3VBKWbUprZ1oOdaiZadM6muNFjQVMS411ibUvV6zXBSEinsCTeKweQgfOpQ2cvSsihRWunhwy8DrpGxiAnsgara4Qcln3tqc/uES1kQHIiFeoSA2QQ8KmhgCXkHBrMIPLKiE+k2hsJiUtvXImQT7WJYlBUWGvI18Arnyw5kJ3BRkx1csqlTBtpZgfL5XIJm/s2D0b+3ZUr8S2cZbQsn3VjmLwOPJy6UPdLzSn6UR43+YYFS5NBUGDCKNopScaX1WQgwTRDDhOyOqykvssExyuF/9Fl6yv6S8evO45pZhPYe50OQa8EZcY6vuKz2WTAxAmlw+N7mAg2yeDwUJIgemdj2/H70Uh+XozYAXWF53tam9UvkHUR194bKhKNht9i2/OPwt2KhX17S9vUEwwCRxPMa0fxzIuK2cd8ONxKmmAGhauhCwpZQxYfdh0/vB+NHj4KLJsMPo5+Pe78ws61oTJN6Y1w/Cd2iyG48O8tddNzm15KXdYJiu0EUmvUjuBBs11522SNXDmZbu9iqkhzBTkMj4Y9rcHtpCfk9/BG1jOys772frAbRaMnUcAeak/D+WkayohFE4hXY4Gj7bi7Kzqs9vQnCq3/c6NIB2SnLjlvu7zyaGVSEkbzUzi+Higqikm9W5XtFSFb/YX34QoVpcg/DE5367Q96oG6s3d27Oq0jmW5G7KPMb+zfXV7NZ1SQdqov3ESifH+3Q65xWJxhNhJ8vlMXDUTFdC7Z/NZEiZYu177PyeQAWOo49V0jGFOxW4I3kg1TMbDLYF1kQiMtSY53a3ot5dOQihDBdqIHcqdfb7+oj4MRpB1yPEDJQ+/XJx/uhx/kqhCr/aITgejwUhEQspa206i8/bK7hCzPFyn+1n8/x3w094B27lkXPLQG022s37bhXH78nVwn0ElGyW/hfVa8n8NZrMR8VODYQX57X0Gcx1IwJZ/m2w31LJhSoqiKPcPgTdP+d1f2+vrRL1V6SOujrbIXJtGLGGTrbcG523M/o3EeLZ47cXw7HRWFOi5Y350Acjq22/Z66vxDWQw2T5M6vTWSa+HFDd7/hRINpt/AGl+1Hs=",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/createtemplate",title:"Create template",description:"The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique **templateId** that can be used to generate documents based on the specified template and **url** to edit template.",source:"@site/docs/API-docs/createtemplate.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/createtemplate",permalink:"/docs/API-docs/createtemplate",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"createtemplate",title:"Create template",description:"The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique **templateId** that can be used to generate documents based on the specified template and **url** to edit template.",sidebar_label:"Create template",hide_title:!0,hide_table_of_contents:!0,api:"eJztVktvGzcQ/ivsnGJh9XCSXvZU1w0Co4FtVA56sA2D2h1pJ+aSNDmrRwT992K4kryy7DaHHHvSat7z8Zsh18B6FiG/hRusvdGMEe4zKDEWgTyTs5DDTYVqp1bnAbXI1dn1hdLGuEVUTcQQFTtViBJV0UR2NX3XE4OKd4EztaioqFTEMEelo5qYBn0gy1FNXVAztBg0k52p0hVNjaJYEFfKByxxShZLFTk0BTcB40B99c6q2BQFxjhtzD5TWwY5mymuMBUakJtgo9KqsfTUoOr1dtYXZa+nuNKsCm3VBKWbUprZ1oOdaiZadM6muNFjQVMS411ibUvV6zXBSEinsCTeKweQgfOpQ2cvSsihRWunhwy8DrpGxiAnsgara4Qcln3tqc/uES1kQHIiFeoSA2QQ8KmhgCXkHBrMIPLKiE+k2hsJiUtvXImQT7WJYlBUWGvI18Arnyw5kJ3BRkx1csqlTBtpZgfL5XIJm/s2D0b+3ZUr8S2cZbQsn3VjmLwOPJy6UPdLzSn6UR43+YYFS5NBUGDCKNopScaX1WQgwTRDDhOyOqykvssExyuF/9Fl6yv6S8evO45pZhPYe50OQa8EZcY6vuKz2WTAxAmlw+N7mAg2yeDwUJIgemdj2/H70Uh+XozYAXWF53tam9UvkHUR194bKhKNht9i2/OPwt2KhX17S9vUEwwCRxPMa0fxzIuK2cd8ONxKmmAGhauhCwpZQxYfdh0/vB+NHj4KLJsMPo5+Pe78ws61oTJN6Y1w/Cd2iyG48O8tddNzm15KXdYJiu0EUmvUjuBBs11522SNXDmZbu9iqkhzBTkMj4Y9rcHtpCfk9/BG1jOys772frAbRaMnUcAeak/D+WkayohFE4hXY4Gj7bi7Kzqs9vQnCq3/c6NIB2SnLjlvu7zyaGVSEkbzUzi+Higqikm9W5XtFSFb/YX34QoVpcg/DE5367Q96oG6s3d27Oq0jmW5G7KPMb+zfXV7NZ1SQdqov3ESifH+3Q65xWJxhNhJ8vlMXDUTFdC7Z/NZEiZYu177PyeQAWOo49V0jGFOxW4I3kg1TMbDLYF1kQiMtSY53a3ot5dOQihDBdqIHcqdfb7+oj4MRpB1yPEDJQ+/XJx/uhx/kqhCr/aITgejwUhEQspa206i8/bK7hCzPFyn+1n8/x3w094B27lkXPLQG022s37bhXH78nVwn0ElGyW/hfVa8n8NZrMR8VODYQX57X0Gcx1IwJZ/m2w31LJhSoqiKPcPgTdP+d1f2+vrRL1V6SOujrbIXJtGLGGTrbcG523M/o3EeLZ47cXw7HRWFOi5Y350Acjq22/Z66vxDWQw2T5M6vTWSa+HFDd7/hRINpt/AGl+1Hs=",sidebar_class_name:"post api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get document list by doctype",permalink:"/docs/API-docs/getdocumentlist"},next:{title:"Get template by ID",permalink:"/docs/API-docs/get-template"}},g={},b=[{value:"Request",id:"request",level:2}];function f(e){const s={h2:"h2",p:"p",strong:"strong",...(0,i.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"openapi__heading",children:(0,t.jsx)(s.p,{children:"Create template"})}),"\n",(0,t.jsx)(n(),{method:"post",path:"/createtemplate"}),"\n",(0,t.jsxs)(s.p,{children:["The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique ",(0,t.jsx)(s.strong,{children:"templateId"})," that can be used to generate documents based on the specified template and ",(0,t.jsx)(s.strong,{children:"url"})," to edit template."]}),"\n",(0,t.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,t.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},children:(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,t.jsx)(s.p,{children:"Header Parameters"})})}),(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:(0,t.jsx)(c.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,t.jsx)(d.Z,{className:"openapi-tabs__mime",children:(0,t.jsx)(h.default,{label:"multipart/form-data",value:"multipart/form-data-schema",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,t.jsxs)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:[(0,t.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,t.jsx)(s.p,{children:"Body"})}),(0,t.jsx)("strong",{className:"openapi-schema__required",children:(0,t.jsx)(s.p,{children:"required"})})]}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(o.Z,{collapsible:!1,name:"file",required:!1,schemaName:"binary",qualifierMessage:void 0,schema:{type:"string",format:"binary"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"Description",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"Signers",required:!1,schemaName:"string[]",qualifierMessage:void 0,schema:{type:"array",items:{type:"string"}}})]})]})})}),"\n",(0,t.jsx)("div",{children:(0,t.jsx)("div",{children:(0,t.jsxs)(l.Z,{children:[(0,t.jsxs)(h.default,{label:"200",value:"200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.p,{children:"Template created successfully!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(s.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,t.jsx)(o.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"number",qualifierMessage:void 0,schema:{type:"number"}}),(0,t.jsx)(o.Z,{collapsible:!1,name:"url",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"https://exampleurl.com"}})]})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "objectId": 0,\n "url": "https://exampleurl.com"\n}',language:"json"})})]})})})})]}),(0,t.jsxs)(h.default,{label:"405",value:"405",children:[(0,t.jsx)("div",{children:(0,t.jsx)(s.p,{children:"Invalid API Token!"})}),(0,t.jsx)("div",{children:(0,t.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,t.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,t.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,t.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,t.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,t.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,t.jsx)("strong",{children:(0,t.jsx)(s.p,{children:"Schema"})})}),(0,t.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,t.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,t.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,t.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,t.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}}}]); \ No newline at end of file diff --git a/assets/js/bfe4b778.900b9b57.js b/assets/js/bfe4b778.900b9b57.js deleted file mode 100644 index b261a5d10..000000000 --- a/assets/js/bfe4b778.900b9b57.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[2087],{67554:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>b,contentTitle:()=>x,default:()=>g,frontMatter:()=>u,metadata:()=>j,toc:()=>y});var l=a(85893),n=a(11151),i=a(58219),t=(a(62316),a(51039)),d=a.n(t),r=(a(82723),a(9487)),m=a(41429),o=a(5397),c=a(4667),p=a(9472),h=a(85162);const u={id:"update-document",title:"Update document by ID",description:"Update document by ID",sidebar_label:"Update document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV21v2zYQ/ivcfUoB2ZadtMX0aWmTtcGKxGgSDFhiGJR0splSJEtSfoGh/z6cZNly7KRNEWz+ZFF3vOe5d63A84mD6A7OdFLkqLyDUQDaoOVeaHWRQgSFSbnHRgACMNzyHD1a0lyB4jlCBIsON6Lj9TdUEIBQEMEUeYoWArD4vRAWU4i8LTAA55eSdJzIjUQIABdG6hQhyrh0JJBMMecQrcAvTSXprVATKEmUV0oRwVROTFR3sVgsoAw2UNI11rFIGyiG+ykEkKJLrDDEDSK4OGM6Y36KrNFgfso9U4ipY16zGFnNPn1NEgFk2ubct2iVo/p+dP6DTpekswvVWD0TKbIYpZ6zTQQIZI2QecyN5B4dO+KeSeTOM62wJdsQeAMBJFp5ima0Am6MFEkV796DI2urfeg6fsCkCr6l7PACHb29rBz+Y4LtsLnqz8blFNNL7V98zZAoIrM4EzhnXKWMcoH5qXA7d5+1/fgyE5usaMeiDOBPLVO0VBwvu+/Dg4v5IJ7qIZRlAF74HTPjVt6OY0qDsiQ5i85o5WqPD8JwPzua4myylbkiSdC5rJBy+dvrhbs+Pkx8S5O7dPDZDU8+G3LWGtKpf15pEA6OO/2wE76/6b+LTn6P3r7rhmH4DwSwyCXpNsXNPULbe9Vz60AoKRSOG6+NB2E4HqxdeXLIe+tMakpsxqVIWSZQpoxsuld0IFqr7S9m+jP4nqNPlBvyJ8+kjtKeZbpQ6f9N9xCi5wmejE82FN/uU7xQtctOhxfshubTf8Fwy6dt3tfmCepuVotaqB6fO2Tb5zXJXXa3dfvf9Kp4yS7OIIAc/VTT/DZFPbT9FCLoNXK9VavblBCAQztrRnphJY1v742Lej3n+USoSYcb021mruSx6yY673EjerM+0ABzmBRW+OU1+a52T3sp2DqJG/EXLiH48epAdCkkX7ez8bxxbDN99gZKM09+bkQ8mhCHm3675++0cYKb6YrbOmJXBtU1maF4z/p7S8cNWReuet3YqnKPZdqyR9os5g5TplW1pdBLOj/u9pkzmIhsnbZddq/u1bXOkRUOs0IyKdQ3F92rDru7yjKRCC7Z3xg74XF01AR2Pp/vBfRNpfNJ+GkRM4tGb8Un1WEV9bbW5oH2Co82d1fZNdqZSHCdRE+Y6lXCvXUx8qQqRsy5oORbH/3xWIlcLkWCymGrfE4/Db+w424IQSt3fwJy78vFx/PL63O6lbK/DlG/G3ZDOjLa+ZyrlqGnqi09uGV4XPiekVxUNV0hW60r8Q5aGRi1N9ZRAFPtPImsVhT/WyvLko6/F2iXEN2NAphxK3hMCXe3glQ4+p9uNs9HaDa9Do6+Njsge9nye5BQU86KannGZUFPEMA3XD7awstRGTQ1/cuIn4JRm9ttIhs09FlQC3ys7+zc0B1bib3uv9U4TRI0/lnZUavRDm9vIIB4vb/n1acAWD6nbwc+hwju4Z7coyuaVX+szlcguZoUfELy9bX0+xeBQbCs",sidebar_class_name:"put api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/update-document",title:"Update document by ID",description:"Update document by ID",source:"@site/docs/API-docs/update-document.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/update-document",permalink:"/docs/API-docs/update-document",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"update-document",title:"Update document by ID",description:"Update document by ID",sidebar_label:"Update document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV21v2zYQ/ivcfUoB2ZadtMX0aWmTtcGKxGgSDFhiGJR0splSJEtSfoGh/z6cZNly7KRNEWz+ZFF3vOe5d63A84mD6A7OdFLkqLyDUQDaoOVeaHWRQgSFSbnHRgACMNzyHD1a0lyB4jlCBIsON6Lj9TdUEIBQEMEUeYoWArD4vRAWU4i8LTAA55eSdJzIjUQIABdG6hQhyrh0JJBMMecQrcAvTSXprVATKEmUV0oRwVROTFR3sVgsoAw2UNI11rFIGyiG+ykEkKJLrDDEDSK4OGM6Y36KrNFgfso9U4ipY16zGFnNPn1NEgFk2ubct2iVo/p+dP6DTpekswvVWD0TKbIYpZ6zTQQIZI2QecyN5B4dO+KeSeTOM62wJdsQeAMBJFp5ima0Am6MFEkV796DI2urfeg6fsCkCr6l7PACHb29rBz+Y4LtsLnqz8blFNNL7V98zZAoIrM4EzhnXKWMcoH5qXA7d5+1/fgyE5usaMeiDOBPLVO0VBwvu+/Dg4v5IJ7qIZRlAF74HTPjVt6OY0qDsiQ5i85o5WqPD8JwPzua4myylbkiSdC5rJBy+dvrhbs+Pkx8S5O7dPDZDU8+G3LWGtKpf15pEA6OO/2wE76/6b+LTn6P3r7rhmH4DwSwyCXpNsXNPULbe9Vz60AoKRSOG6+NB2E4HqxdeXLIe+tMakpsxqVIWSZQpoxsuld0IFqr7S9m+jP4nqNPlBvyJ8+kjtKeZbpQ6f9N9xCi5wmejE82FN/uU7xQtctOhxfshubTf8Fwy6dt3tfmCepuVotaqB6fO2Tb5zXJXXa3dfvf9Kp4yS7OIIAc/VTT/DZFPbT9FCLoNXK9VavblBCAQztrRnphJY1v742Lej3n+USoSYcb021mruSx6yY673EjerM+0ABzmBRW+OU1+a52T3sp2DqJG/EXLiH48epAdCkkX7ez8bxxbDN99gZKM09+bkQ8mhCHm3675++0cYKb6YrbOmJXBtU1maF4z/p7S8cNWReuet3YqnKPZdqyR9os5g5TplW1pdBLOj/u9pkzmIhsnbZddq/u1bXOkRUOs0IyKdQ3F92rDru7yjKRCC7Z3xg74XF01AR2Pp/vBfRNpfNJ+GkRM4tGb8Un1WEV9bbW5oH2Co82d1fZNdqZSHCdRE+Y6lXCvXUx8qQqRsy5oORbH/3xWIlcLkWCymGrfE4/Db+w424IQSt3fwJy78vFx/PL63O6lbK/DlG/G3ZDOjLa+ZyrlqGnqi09uGV4XPiekVxUNV0hW60r8Q5aGRi1N9ZRAFPtPImsVhT/WyvLko6/F2iXEN2NAphxK3hMCXe3glQ4+p9uNs9HaDa9Do6+Njsge9nye5BQU86KannGZUFPEMA3XD7awstRGTQ1/cuIn4JRm9ttIhs09FlQC3ys7+zc0B1bib3uv9U4TRI0/lnZUavRDm9vIIB4vb/n1acAWD6nbwc+hwju4Z7coyuaVX+szlcguZoUfELy9bX0+xeBQbCs",sidebar_class_name:"put api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get document by ID",permalink:"/docs/API-docs/getdocument"},next:{title:"Delete document by ID",permalink:"/docs/API-docs/deletedocument"}},b={},y=[{value:"Request",id:"request",level:2}];function f(e){const s={h2:"h2",p:"p",...(0,n.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(s.p,{children:"Update document by ID"})}),"\n",(0,l.jsx)(d(),{method:"put",path:"/document/{document_id}"}),"\n",(0,l.jsx)(s.p,{children:"Update document by ID"}),"\n",(0,l.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(m.Z,{className:"paramsItem",param:{name:"document_id",in:"path",description:"ID of the document that needs to be updated",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string"}}})})})]}),"\n",(0,l.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(s.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(m.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json-schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,l.jsx)(s.p,{children:"Body"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"},children:(0,l.jsx)("div",{style:{marginTop:"1rem",marginBottom:"1rem"},children:(0,l.jsx)(s.p,{children:"provide below parameter to update templates (at least one parameter required)"})})}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(c.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"sample document"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Please review and sign this document"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"Description",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"document description"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"FolderId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Bjsba2bhoP"}})]})]})})}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Document updated successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(c.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"asd2HsP4Hp"}}),(0,l.jsx)(c.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "objectId": "asd2HsP4Hp",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"400",value:"400",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Please provide valid field names!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Please provide valid field names!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Please provide valid field names!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Document not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Document not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Document not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(s.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(o.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function g(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(f,{...e})}):f(e)}}}]); \ No newline at end of file diff --git a/assets/js/bfe4b778.edb497d1.js b/assets/js/bfe4b778.edb497d1.js new file mode 100644 index 000000000..b36307882 --- /dev/null +++ b/assets/js/bfe4b778.edb497d1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[2087],{67554:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>x,default:()=>b,frontMatter:()=>u,metadata:()=>j,toc:()=>g});var l=s(85893),n=s(11151),i=s(58219),t=(s(62316),s(51039)),d=s.n(t),r=(s(82723),s(9487)),m=s(41429),c=s(5397),o=s(4667),p=s(9472),h=s(85162);const u={id:"update-document",title:"Update document by ID",description:"The Update Document API allows users to modify and update the details of a specific document.",sidebar_label:"Update document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV21v2zYQ/ivcfWoB2VbctMP0aWnTtcGK1GhSDFhiGJR0stlSJEtSfoGh/z4cJdlynKZN0W3+ZFH39jx3vDttwfO5g+QGznVWlai8g2kEObrMCuOFVpDA9QLZR5Nzj6yTYmeTC8al1CvHKofWMa9ZqXNRbBhXOasacb9AlqPnQjqmC8aZM5iJQmQsbw0NIQJt0HLydZFDAo1q5wgiMNzyEj1ainMLipcICawH3IiB159RQQSC4lwgz9FCBBa/VMJiDom3FUbg/EaSjhOlkQgR4NpInSMkBZeOBLIFlhySLfiNCZLeCjWHmkR5UEooTOXEXA3X6/Ua6mgXSodlJvIuFMP9Au7yeHFOJAROOhr9gnumEPNAYIotcfnPBBFBoW3JfQ9WPW3so/Mvdb4hncNQJ1YvRY4sRalXbJcBCrJLLZZGco+OPeGeSeTOM62wJ9sBeAoRZFp5ymayBW6MFFnI9+iTI2/b49B1+gmzkHxL1eEFOnp7GQj/NsB+2lz4s6Occnqp/aPNTAgiMotLgatQ41QLzC+EO7B93ufxcS52VdHPRR3BH1rmaOlyPM7ey08u5eN0oSdQ1xF44Q/czHp1O0upDOqa5Cw6o5VrGB/H8XF17LpAW63MVVmGzhWVlJtffl66m+P7ge9hcpeP37rJ6VtDZLUhnfmHlcbx+NngJB7Ev16fvEhOf0uevxjGcfw3RLAuJel2l5t7hD574bl3IJQUCmcda7NxHM/GLZWn97HXVpJpr9iSS5GzQqDMGfl0P5FAtFbbH6z0B+J7CD5B7sCfPlA6SntW6Erl/zfc+yJ6GODp7HQH8fkxxAvVUEYj8prm03+BcI+n79437inUw6oWjVAzPg/A9s8bkCX6habJbKpmHPsFJDDqusdo2+sjNUTg0C67YV1ZSYPZe+OS0ch5PhdqPuDGDLtpKnnqhpkuR9yI0fIEaDQ5zCor/OaKWGmA98f9Hj434k/cQPTtpYCAENkf9lPvdUdZN1eORkU3Kb6v+d/p/fe38343P2jQFG6hA7Y2F+8NqityQ5lcnhytE9fkXbjwuvMVqooV2rI72izlDnOmVdg/6CWdPxue7FayoDpkt+pWXekSaa0rKsmkUJ9dcqsG7OZ9UYhMcMn+wtQJj9MnXWJXq9VRQp8GnTfCL6qUWTR6Lz4PhyHrfa3dA20MHm3p3hdXaJciw7aIvuJqFIRH7TXjWbhmWHJBxdce/X5XiSiXIkPlsHcxzt5M3rFnwxiiXu1+R8ijdxevXl9evSarVP1Nik6G8TCmI6OdL7nqOWoX6l2RpBt2cX43x9t93/jXt/D2Snlc+5GRXIS+EDjYtnf+Bnq1nvS33mkEC+08iWy3VGkfraxrOv5Sod1AcjONYMmt4CmV9s0WcuHof77bXr+K+8mHbo9kj1ug7wXUNQ5FXWPJZUVPEMFn3NzZ5OtpHXXd44cj/loYjbvDdrWLhj4tGoFXjc3BNdnYSxxNkL3GWZah8Q/KTnstffLxGiJI22+AMnxOgOUr+v7gK0jgFm4hfKKRgdCJw/kWJFfzis9JvjFLv38Ac7TwDw==",sidebar_class_name:"put api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/update-document",title:"Update document by ID",description:"The Update Document API allows users to modify and update the details of a specific document.",source:"@site/docs/API-docs/update-document.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/update-document",permalink:"/docs/API-docs/update-document",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"update-document",title:"Update document by ID",description:"The Update Document API allows users to modify and update the details of a specific document.",sidebar_label:"Update document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV21v2zYQ/ivcfWoB2VbctMP0aWnTtcGK1GhSDFhiGJR0stlSJEtSfoGh/z4cJdlynKZN0W3+ZFH39jx3vDttwfO5g+QGznVWlai8g2kEObrMCuOFVpDA9QLZR5Nzj6yTYmeTC8al1CvHKofWMa9ZqXNRbBhXOasacb9AlqPnQjqmC8aZM5iJQmQsbw0NIQJt0HLydZFDAo1q5wgiMNzyEj1ainMLipcICawH3IiB159RQQSC4lwgz9FCBBa/VMJiDom3FUbg/EaSjhOlkQgR4NpInSMkBZeOBLIFlhySLfiNCZLeCjWHmkR5UEooTOXEXA3X6/Ua6mgXSodlJvIuFMP9Au7yeHFOJAROOhr9gnumEPNAYIotcfnPBBFBoW3JfQ9WPW3so/Mvdb4hncNQJ1YvRY4sRalXbJcBCrJLLZZGco+OPeGeSeTOM62wJ9sBeAoRZFp5ymayBW6MFFnI9+iTI2/b49B1+gmzkHxL1eEFOnp7GQj/NsB+2lz4s6Occnqp/aPNTAgiMotLgatQ41QLzC+EO7B93ufxcS52VdHPRR3BH1rmaOlyPM7ey08u5eN0oSdQ1xF44Q/czHp1O0upDOqa5Cw6o5VrGB/H8XF17LpAW63MVVmGzhWVlJtffl66m+P7ge9hcpeP37rJ6VtDZLUhnfmHlcbx+NngJB7Ev16fvEhOf0uevxjGcfw3RLAuJel2l5t7hD574bl3IJQUCmcda7NxHM/GLZWn97HXVpJpr9iSS5GzQqDMGfl0P5FAtFbbH6z0B+J7CD5B7sCfPlA6SntW6Erl/zfc+yJ6GODp7HQH8fkxxAvVUEYj8prm03+BcI+n79437inUw6oWjVAzPg/A9s8bkCX6habJbKpmHPsFJDDqusdo2+sjNUTg0C67YV1ZSYPZe+OS0ch5PhdqPuDGDLtpKnnqhpkuR9yI0fIEaDQ5zCor/OaKWGmA98f9Hj434k/cQPTtpYCAENkf9lPvdUdZN1eORkU3Kb6v+d/p/fe38343P2jQFG6hA7Y2F+8NqityQ5lcnhytE9fkXbjwuvMVqooV2rI72izlDnOmVdg/6CWdPxue7FayoDpkt+pWXekSaa0rKsmkUJ9dcqsG7OZ9UYhMcMn+wtQJj9MnXWJXq9VRQp8GnTfCL6qUWTR6Lz4PhyHrfa3dA20MHm3p3hdXaJciw7aIvuJqFIRH7TXjWbhmWHJBxdce/X5XiSiXIkPlsHcxzt5M3rFnwxiiXu1+R8ijdxevXl9evSarVP1Nik6G8TCmI6OdL7nqOWoX6l2RpBt2cX43x9t93/jXt/D2Snlc+5GRXIS+EDjYtnf+Bnq1nvS33mkEC+08iWy3VGkfraxrOv5Sod1AcjONYMmt4CmV9s0WcuHof77bXr+K+8mHbo9kj1ug7wXUNQ5FXWPJZUVPEMFn3NzZ5OtpHXXd44cj/loYjbvDdrWLhj4tGoFXjc3BNdnYSxxNkL3GWZah8Q/KTnstffLxGiJI22+AMnxOgOUr+v7gK0jgFm4hfKKRgdCJw/kWJFfzis9JvjFLv38Ac7TwDw==",sidebar_class_name:"put api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Get document by ID",permalink:"/docs/API-docs/getdocument"},next:{title:"Delete document by ID",permalink:"/docs/API-docs/deletedocument"}},f={},g=[{value:"Request",id:"request",level:2}];function v(e){const a={h2:"h2",p:"p",...(0,n.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"openapi__heading",children:(0,l.jsx)(a.p,{children:"Update document by ID"})}),"\n",(0,l.jsx)(d(),{method:"put",path:"/document/{document_id}"}),"\n",(0,l.jsx)(a.p,{children:"The Update Document API allows users to modify and update the details of a specific document."}),"\n",(0,l.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Path Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(m.Z,{className:"paramsItem",param:{name:"document_id",in:"path",description:"ID of the document that needs to be updated",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string"}}})})})]}),"\n",(0,l.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,l.jsx)(a.p,{children:"Header Parameters"})})}),(0,l.jsx)("div",{children:(0,l.jsx)("ul",{children:(0,l.jsx)(m.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json-schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details mime","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-mime",children:(0,l.jsx)("h3",{className:"openapi-markdown__details-summary-header-body",children:(0,l.jsx)(a.p,{children:"Body"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"},children:(0,l.jsx)("div",{style:{marginTop:"1rem",marginBottom:"1rem"},children:(0,l.jsx)(a.p,{children:"Provide below parameter to update templates (at least one parameter required)"})})}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(o.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"sample document"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Please review and sign this document"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"Description",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"document description"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"FolderId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Bjsba2bhoP"}})]})]})})}),"\n",(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)(i.Z,{children:[(0,l.jsxs)(h.default,{label:"200",value:"200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Document updated successfully!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,l.jsx)(o.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"asd2HsP4Hp"}}),(0,l.jsx)(o.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "objectId": "asd2HsP4Hp",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"400",value:"400",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Please provide valid field names!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Please provide valid field names!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "error": "Please provide valid field names!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"404",value:"404",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Document not found!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"Document not found!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "error": "Document not found!"\n}',language:"json"})})]})})})})]}),(0,l.jsxs)(h.default,{label:"405",value:"405",children:[(0,l.jsx)("div",{children:(0,l.jsx)(a.p,{children:"Invalid API Token!"})}),(0,l.jsx)("div",{children:(0,l.jsx)(r.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,l.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,l.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,l.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,l.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,l.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,l.jsx)("strong",{children:(0,l.jsx)(a.p,{children:"Schema"})})}),(0,l.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,l.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,l.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,l.jsx)(c.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function b(e={}){const{wrapper:a}={...(0,n.a)(),...e.components};return a?(0,l.jsx)(a,{...e,children:(0,l.jsx)(v,{...e})}):v(e)}}}]); \ No newline at end of file diff --git a/assets/js/f0ff4a36.37f7ec3b.js b/assets/js/f0ff4a36.37f7ec3b.js deleted file mode 100644 index c749c00e0..000000000 --- a/assets/js/f0ff4a36.37f7ec3b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[1332],{94348:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>g,contentTitle:()=>x,default:()=>v,frontMatter:()=>u,metadata:()=>j,toc:()=>y});var n=a(85893),i=a(11151),l=a(58219),t=(a(62316),a(51039)),r=a.n(t),d=(a(82723),a(9487)),m=a(41429),c=a(5397),o=a(4667),p=a(9472),h=a(85162);const u={id:"getdocument",title:"Get document by ID",description:"Get a document",sidebar_label:"Get document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vttu20YQ/ZXtPMUAJVG2k6BEUdSoHVdNYAe1gwK1BWNFjsS1yd3N7lKWQPCtX9JP65cUsyQl6uKmKoK82OLsXM7cpwTHZxaiOzhXcZGjdBbGASRoYyO0E0pCBJfoGGdJwwABKI2G0+MogQhm6Dpvmhueo0NDWkuQPEeIYNHjWvScekIJAQjSmiJP0EAABj8XwmACkTMFBmDdMiMZK3KdIQSAC52pBCGa8swSQ5xiziEqwS2153RGyBlUxMq9UEQYpRUz2V8sFguoghWUFuuDSFoomrsUtr1Wk0eM3ShhaspiJR2P3dcEG8BUmZy7LmWNXv8ynKTxcaonUFVjMmu1khYtKToOQ/q3CdcWcYzWTouMrdIDARBySkxUAtc6E7F/GDxaEip30dVeUx4NqXGiNtkG41A/3l2Kp+OTSfrpV8rOrXBEPUyF9T+o/EjFlXIHa9AZcouMqmFdxVUA71RGFXigtmuN8kbM5N9//sXOjZijVyUOdyx1TttoMGgohcn6scpJ2/WzPBzXo0I2QY+G4PkGXGngxvAllbvD3H453Ve+VXbtb1iDqgrA1Sldd1Vrmx5jg9xhcub+XddxeHzSG4a98O3t8E10+n30+k0/DMM/IIBFnpFs27rcef9WRpvvQiffwE61w9appe04QFWRwGl4utuq7ahlUjk2VYVMvvt6nYrGqL21s47DPvvdXAqZCYkP7cx5OA1PH05WDr3edWgk5zwTCTv7OGK3NOO/rT9d8642v5ssUTPVK2jD2S69dtJiXBjhln6DdVdXdDemaZyjS1Wz+vzKcylEMGhzPyg7O6YC0mfm7UIsTNbpfev4TMhZj2vdbzdWxieWJsGAazGYD4EstohuKGp1YDZwrRtdi/dInf7FxUuOCjlVXrgJRjvbfCjnw52deJsKy4T1z62PPq1sqgzbkmYTbjFhSjKXon8k+kl/yKzGWEybiuize3kvb1SOrLBI+ysT8slG97LH7q6nUxELnrHfcWKFw/GrNnLPz887ETvyMpfCpcWEGdRqzT7zRB/WrtTq4wgCcGhyez29QTMXcTuhXzA18MyDps7pNqBazbmg7Dakn7aFqO4yEaO02KnMs8uPH9hJP4SgUxz/AfLgw+jni6ubC9JK5VWnaNgP+yGRtLIu57JjiO64NmtssmSj8+0El+uu3b36mgpzuHADnXHh28gjLpsWuIMOe9Q9tMYBpMo6YilLqotPJqsqIn8u0FCjjQOYcyP4hArxroREWPqdrA6pF4G++q25yY7Y/pttL/C2XyQ1y5xnBX1BAE+43DoSq3EVtE3zv5G9BKM2t9mlKzR0tdYMZ3GM2nXedkbqxly6vLiFAHhBSemOhic/Gpof5MveKGyiqQHQX4KzV+AHauz3uPxxxV6/vCiwuv1rbgrFuKqqfwBRxEEA",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/getdocument",title:"Get document by ID",description:"Get a document",source:"@site/docs/API-docs/getdocument.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/getdocument",permalink:"/docs/API-docs/getdocument",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"getdocument",title:"Get document by ID",description:"Get a document",sidebar_label:"Get document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9Vttu20YQ/ZXtPMUAJVG2k6BEUdSoHVdNYAe1gwK1BWNFjsS1yd3N7lKWQPCtX9JP65cUsyQl6uKmKoK82OLsXM7cpwTHZxaiOzhXcZGjdBbGASRoYyO0E0pCBJfoGGdJwwABKI2G0+MogQhm6Dpvmhueo0NDWkuQPEeIYNHjWvScekIJAQjSmiJP0EAABj8XwmACkTMFBmDdMiMZK3KdIQSAC52pBCGa8swSQ5xiziEqwS2153RGyBlUxMq9UEQYpRUz2V8sFguoghWUFuuDSFoomrsUtr1Wk0eM3ShhaspiJR2P3dcEG8BUmZy7LmWNXv8ynKTxcaonUFVjMmu1khYtKToOQ/q3CdcWcYzWTouMrdIDARBySkxUAtc6E7F/GDxaEip30dVeUx4NqXGiNtkG41A/3l2Kp+OTSfrpV8rOrXBEPUyF9T+o/EjFlXIHa9AZcouMqmFdxVUA71RGFXigtmuN8kbM5N9//sXOjZijVyUOdyx1TttoMGgohcn6scpJ2/WzPBzXo0I2QY+G4PkGXGngxvAllbvD3H453Ve+VXbtb1iDqgrA1Sldd1Vrmx5jg9xhcub+XddxeHzSG4a98O3t8E10+n30+k0/DMM/IIBFnpFs27rcef9WRpvvQiffwE61w9appe04QFWRwGl4utuq7ahlUjk2VYVMvvt6nYrGqL21s47DPvvdXAqZCYkP7cx5OA1PH05WDr3edWgk5zwTCTv7OGK3NOO/rT9d8642v5ssUTPVK2jD2S69dtJiXBjhln6DdVdXdDemaZyjS1Wz+vzKcylEMGhzPyg7O6YC0mfm7UIsTNbpfev4TMhZj2vdbzdWxieWJsGAazGYD4EstohuKGp1YDZwrRtdi/dInf7FxUuOCjlVXrgJRjvbfCjnw52deJsKy4T1z62PPq1sqgzbkmYTbjFhSjKXon8k+kl/yKzGWEybiuize3kvb1SOrLBI+ysT8slG97LH7q6nUxELnrHfcWKFw/GrNnLPz887ETvyMpfCpcWEGdRqzT7zRB/WrtTq4wgCcGhyez29QTMXcTuhXzA18MyDps7pNqBazbmg7Dakn7aFqO4yEaO02KnMs8uPH9hJP4SgUxz/AfLgw+jni6ubC9JK5VWnaNgP+yGRtLIu57JjiO64NmtssmSj8+0El+uu3b36mgpzuHADnXHh28gjLpsWuIMOe9Q9tMYBpMo6YilLqotPJqsqIn8u0FCjjQOYcyP4hArxroREWPqdrA6pF4G++q25yY7Y/pttL/C2XyQ1y5xnBX1BAE+43DoSq3EVtE3zv5G9BKM2t9mlKzR0tdYMZ3GM2nXedkbqxly6vLiFAHhBSemOhic/Gpof5MveKGyiqQHQX4KzV+AHauz3uPxxxV6/vCiwuv1rbgrFuKqqfwBRxEEA",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Create document",permalink:"/docs/API-docs/createdocument"},next:{title:"Update document by ID",permalink:"/docs/API-docs/update-document"}},g={},y=[{value:"Request",id:"request",level:2}];function f(e){const s={h2:"h2",p:"p",...(0,i.a)(),...e.components},{Details:a}=s;return a||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h1",{className:"openapi__heading",children:(0,n.jsx)(s.p,{children:"Get document by ID"})}),"\n",(0,n.jsx)(r(),{method:"get",path:"/document/{document_id}"}),"\n",(0,n.jsx)(s.p,{children:"Get a document"}),"\n",(0,n.jsx)(s.h2,{id:"request",children:"Request"}),"\n",(0,n.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,n.jsx)("summary",{style:{},children:(0,n.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,n.jsx)(s.p,{children:"Path Parameters"})})}),(0,n.jsx)("div",{children:(0,n.jsx)("ul",{children:(0,n.jsx)(m.Z,{className:"paramsItem",param:{name:"document_id",in:"path",description:"objectId of contact",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string",example:"pH1bhc2hpb"}}})})})]}),"\n",(0,n.jsxs)(a,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,n.jsx)("summary",{style:{},children:(0,n.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,n.jsx)(s.p,{children:"Header Parameters"})})}),(0,n.jsx)("div",{children:(0,n.jsx)("ul",{children:(0,n.jsx)(m.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,n.jsx)("div",{children:(0,n.jsx)("div",{children:(0,n.jsxs)(l.Z,{children:[(0,n.jsxs)(h.default,{label:"200",value:"200",children:[(0,n.jsx)("div",{children:(0,n.jsx)(s.p,{children:"successful operation"})}),(0,n.jsx)("div",{children:(0,n.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,n.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,n.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,n.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,n.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,n.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,n.jsx)("strong",{children:(0,n.jsx)(s.p,{children:"Schema"})})}),(0,n.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,n.jsx)(o.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"FGik23bhUJ"}}),(0,n.jsx)(o.Z,{collapsible:!1,name:"Title",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"sample doc"}}),(0,n.jsx)(o.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"please sign document"}}),(0,n.jsx)(o.Z,{collapsible:!1,name:"Folder",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"OpenSign\u2122 Drive"}}),(0,n.jsx)(o.Z,{collapsible:!1,name:"File",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"https://exampleurl.com"}}),(0,n.jsx)(o.Z,{collapsible:!1,name:"Owner",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,n.jsx)(o.Z,{collapsible:!0,className:"schemaItem",children:(0,n.jsxs)(a,{style:{},className:"openapi-markdown__details",children:[(0,n.jsx)("summary",{style:{},children:(0,n.jsxs)("span",{className:"openapi-schema__container",children:[(0,n.jsx)("strong",{className:"openapi-schema__property",children:(0,n.jsx)(s.p,{children:"Signers"})}),(0,n.jsx)("span",{className:"openapi-schema__name",children:(0,n.jsx)(s.p,{children:"object[]"})})]})}),(0,n.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,n.jsx)("li",{children:(0,n.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,n.jsx)(s.p,{children:"Array ["})})}),(0,n.jsx)(o.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"joe"}}),(0,n.jsx)("li",{children:(0,n.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,n.jsx)(s.p,{children:"]"})})})]})]})}),(0,n.jsx)(o.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,n.jsx)(o.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,n.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,n.jsx)(c.Z,{responseExample:'{\n "objectId": "FGik23bhUJ",\n "Title": "sample doc",\n "Note": "please sign document",\n "Folder": "OpenSign\u2122 Drive",\n "File": "https://exampleurl.com",\n "Owner": "joe bee",\n "Signers": [\n {\n "Name": "joe"\n }\n ],\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,n.jsxs)(h.default,{label:"404",value:"404",children:[(0,n.jsx)("div",{children:(0,n.jsx)(s.p,{children:"Document not found!"})}),(0,n.jsx)("div",{children:(0,n.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,n.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,n.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,n.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,n.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,n.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,n.jsx)("strong",{children:(0,n.jsx)(s.p,{children:"Schema"})})}),(0,n.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,n.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Document not found!"}})})]})}),(0,n.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,n.jsx)(c.Z,{responseExample:'{\n "error": "Document not found!"\n}',language:"json"})})]})})})})]}),(0,n.jsxs)(h.default,{label:"405",value:"405",children:[(0,n.jsx)("div",{children:(0,n.jsx)(s.p,{children:"Invalid API Token!"})}),(0,n.jsx)("div",{children:(0,n.jsx)(d.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,n.jsx)(h.default,{label:"application/json",value:"application/json",children:(0,n.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,n.jsx)(h.default,{label:"Schema",value:"Schema",children:(0,n.jsxs)(a,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,n.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,n.jsx)("strong",{children:(0,n.jsx)(s.p,{children:"Schema"})})}),(0,n.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,n.jsx)(o.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,n.jsx)(h.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,n.jsx)(c.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function v(e={}){const{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(f,{...e})}):f(e)}}}]); \ No newline at end of file diff --git a/assets/js/f0ff4a36.d8bbcdae.js b/assets/js/f0ff4a36.d8bbcdae.js new file mode 100644 index 000000000..2bab23c73 --- /dev/null +++ b/assets/js/f0ff4a36.d8bbcdae.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[1332],{94348:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>x,default:()=>b,frontMatter:()=>h,metadata:()=>j,toc:()=>g});var i=s(85893),l=s(11151),n=s(58219),t=(s(62316),s(51039)),r=s.n(t),o=(s(82723),s(9487)),d=s(41429),m=s(5397),c=s(4667),p=s(9472),u=s(85162);const h={id:"getdocument",title:"Get document by ID",description:"The Get Document API enables you to retrieve details about a specific document.",sidebar_label:"Get document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9V+tu2zYUfhXu/GoAxZaTtMOEYViwpJnXIikWFwOWGAElHVtMJJIlKceGoX97kj3anmQ4lCXLl6zz0PWPLZHn8p370RIcn1qI7uBCJWWB0lkYB5CiTYzQTigJEYwyZFfoWEPCzj8MGUoe52jZQpXMKWbQGYEzZCk6LnLLeKxKxzizGhMxEQlLV9w9CEBpNJykD1OIYIquuYQANDe8QIeGYC1B8gIhgvkx1+LYqSeUEIAgWBnyFA0EYPBTKQymEDlTYgDWLXLisaLQOUIAONe5ShGiCc8tESQZFhyiJbiF9pTOCDmFiki5Z4oIo7RiKnvz+XwOVdBCabA+iLSBornLYNttKn7ExA1TpiYsUdLxxH1JsAFMlCm4656s0eufB3GWnGQ6hqoak1qrlbRoSdBJGNLfJlxbJglaOylz1oYHAiDkFJhoCVzrXCT+ov9oiWm5i662muJoSIwTtcrGGYfa8fZKPJ2cxtnHXyg6I+Ho9DAR1j9Q/pGIa+UOlqBz5BYZZUObxiTrrcopAw+UdqNR3oqp/OuPP9mFETP0osThhmXOaRv1+6uT0uS9RBUk7eZZHo7rUSGL0aMheL4AWwncGL6gdHdY2M+H+9qXyq7+DW1QVQG4OqTrqmp002VikDtMz90/yzoJT06PB+Fx+O1o8CY6+y56/aYXhuHvEMC8yIm3KV3uvH2t0tV7qdOvoKfaIevk0rYfoKqI4Sw82y3VthFL5dhElTL95stVKhqj9ubO2g/79HdjKWQuJD40PefhLDx7OG0Ner1r0FDOeC5SP1hG1OO/rj1d9a5WvxssURPVI2jD2O55baTFpDTCLfwE646u6G5M3bhAl6nV6PMjz2UQQb+JfX/ZmTEVkDwzawZiafJO7VvHp0JOj7nWvWZi5Ty21An6XIv+bACksUF0S16rHbOBa13oWrxDqvTPDl4yVMiJ8swrZzS9zbtyNtiZiaNMWCasv25s9GFlE2XYFjeLucWUKclchv6Szk97g3ap8Kw9di/v5a0qkJUWaX7lQj7Z6F4es7ubyUQkgufsN4ytcDh+1Xju+fl5x2NHnudKuKyMmUGt1uRTf+jd2uVqX44gAIemsDeTWzQzkTQd+gVVfU/cX+U57QaUqwUXFN3V0Y/bTJR3uUhQWuxk5vnVh/fstBdC0EmOfwG5/3740+X17SVJpfSqQzTohb2QjrSyruCyo4iWwCZqLF6w4cV2gJfrqv0f1sZVijqcu77OufB16E1ermroDjqbZNTd1MYBZMo6IlkuKbE+mryq6PhTiYYqdRzAjBtB+HyhpcLSc9puYi9a+urX1VJ3xPYvfXuBNwUnqdpmPC/pDQJ4wsXWllmNq6Cpuv+M7CUYtbrNMm/R0NpbE5wnCWrXudvpyRuN7epyBAHwkoLS7S1PvresHsiWvV7YRFMDoF+Cs5fhe8qtd7j4oSWvb15kaD8eampyxbiqqr8BSkpv3g==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},x=void 0,j={id:"API-docs/getdocument",title:"Get document by ID",description:"The Get Document API enables you to retrieve details about a specific document.",source:"@site/docs/API-docs/getdocument.api.mdx",sourceDirName:"API-docs",slug:"/API-docs/getdocument",permalink:"/docs/API-docs/getdocument",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"getdocument",title:"Get document by ID",description:"The Get Document API enables you to retrieve details about a specific document.",sidebar_label:"Get document by ID",hide_title:!0,hide_table_of_contents:!0,api:"eJy9V+tu2zYUfhXu/GoAxZaTtMOEYViwpJnXIikWFwOWGAElHVtMJJIlKceGoX97kj3anmQ4lCXLl6zz0PWPLZHn8p370RIcn1qI7uBCJWWB0lkYB5CiTYzQTigJEYwyZFfoWEPCzj8MGUoe52jZQpXMKWbQGYEzZCk6LnLLeKxKxzizGhMxEQlLV9w9CEBpNJykD1OIYIquuYQANDe8QIeGYC1B8gIhgvkx1+LYqSeUEIAgWBnyFA0EYPBTKQymEDlTYgDWLXLisaLQOUIAONe5ShGiCc8tESQZFhyiJbiF9pTOCDmFiki5Z4oIo7RiKnvz+XwOVdBCabA+iLSBornLYNttKn7ExA1TpiYsUdLxxH1JsAFMlCm4656s0eufB3GWnGQ6hqoak1qrlbRoSdBJGNLfJlxbJglaOylz1oYHAiDkFJhoCVzrXCT+ov9oiWm5i662muJoSIwTtcrGGYfa8fZKPJ2cxtnHXyg6I+Ho9DAR1j9Q/pGIa+UOlqBz5BYZZUObxiTrrcopAw+UdqNR3oqp/OuPP9mFETP0osThhmXOaRv1+6uT0uS9RBUk7eZZHo7rUSGL0aMheL4AWwncGL6gdHdY2M+H+9qXyq7+DW1QVQG4OqTrqmp002VikDtMz90/yzoJT06PB+Fx+O1o8CY6+y56/aYXhuHvEMC8yIm3KV3uvH2t0tV7qdOvoKfaIevk0rYfoKqI4Sw82y3VthFL5dhElTL95stVKhqj9ubO2g/79HdjKWQuJD40PefhLDx7OG0Ner1r0FDOeC5SP1hG1OO/rj1d9a5WvxssURPVI2jD2O55baTFpDTCLfwE646u6G5M3bhAl6nV6PMjz2UQQb+JfX/ZmTEVkDwzawZiafJO7VvHp0JOj7nWvWZi5Ty21An6XIv+bACksUF0S16rHbOBa13oWrxDqvTPDl4yVMiJ8swrZzS9zbtyNtiZiaNMWCasv25s9GFlE2XYFjeLucWUKclchv6Szk97g3ap8Kw9di/v5a0qkJUWaX7lQj7Z6F4es7ubyUQkgufsN4ytcDh+1Xju+fl5x2NHnudKuKyMmUGt1uRTf+jd2uVqX44gAIemsDeTWzQzkTQd+gVVfU/cX+U57QaUqwUXFN3V0Y/bTJR3uUhQWuxk5vnVh/fstBdC0EmOfwG5/3740+X17SVJpfSqQzTohb2QjrSyruCyo4iWwCZqLF6w4cV2gJfrqv0f1sZVijqcu77OufB16E1ermroDjqbZNTd1MYBZMo6IlkuKbE+mryq6PhTiYYqdRzAjBtB+HyhpcLSc9puYi9a+urX1VJ3xPYvfXuBNwUnqdpmPC/pDQJ4wsXWllmNq6Cpuv+M7CUYtbrNMm/R0NpbE5wnCWrXudvpyRuN7epyBAHwkoLS7S1PvresHsiWvV7YRFMDoF+Cs5fhe8qtd7j4oSWvb15kaD8eampyxbiqqr8BSkpv3g==",sidebar_class_name:"get api-method",info_path:"docs/API-docs/opensign-api-v-1",custom_edit_url:null},sidebar:"apiSidebar",previous:{title:"Create document",permalink:"/docs/API-docs/createdocument"},next:{title:"Update document by ID",permalink:"/docs/API-docs/update-document"}},f={},g=[{value:"Request",id:"request",level:2}];function y(e){const a={h2:"h2",p:"p",...(0,l.a)(),...e.components},{Details:s}=a;return s||function(e,a){throw new Error("Expected "+(a?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h1",{className:"openapi__heading",children:(0,i.jsx)(a.p,{children:"Get document by ID"})}),"\n",(0,i.jsx)(r(),{method:"get",path:"/document/{document_id}"}),"\n",(0,i.jsx)(a.p,{children:"The Get Document API enables you to retrieve details about a specific document."}),"\n",(0,i.jsx)(a.h2,{id:"request",children:"Request"}),"\n",(0,i.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,i.jsx)("summary",{style:{},children:(0,i.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,i.jsx)(a.p,{children:"Path Parameters"})})}),(0,i.jsx)("div",{children:(0,i.jsx)("ul",{children:(0,i.jsx)(d.Z,{className:"paramsItem",param:{name:"document_id",in:"path",description:"objectId of contact",required:!0,style:"simple",explode:!1,schema:{type:"string",format:"string",example:"pH1bhc2hpb"}}})})})]}),"\n",(0,i.jsxs)(s,{style:{marginBottom:"1rem"},className:"openapi-markdown__details","data-collapsed":!1,open:!0,children:[(0,i.jsx)("summary",{style:{},children:(0,i.jsx)("h3",{className:"openapi-markdown__details-summary-header-params",children:(0,i.jsx)(a.p,{children:"Header Parameters"})})}),(0,i.jsx)("div",{children:(0,i.jsx)("ul",{children:(0,i.jsx)(d.Z,{className:"paramsItem",param:{name:"x-api-token",in:"header",required:!0,style:"simple",explode:!1,schema:{type:"string"},example:"opensign.xxxx"}})})})]}),"\n",(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:(0,i.jsxs)(n.Z,{children:[(0,i.jsxs)(u.default,{label:"200",value:"200",children:[(0,i.jsx)("div",{children:(0,i.jsx)(a.p,{children:"successful operation"})}),(0,i.jsx)("div",{children:(0,i.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,i.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,i.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,i.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,i.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,i.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,i.jsx)("strong",{children:(0,i.jsx)(a.p,{children:"Schema"})})}),(0,i.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.jsxs)("ul",{style:{marginLeft:"1rem"},children:[(0,i.jsx)(c.Z,{collapsible:!1,name:"objectId",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"FGik23bhUJ"}}),(0,i.jsx)(c.Z,{collapsible:!1,name:"Title",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"sample doc"}}),(0,i.jsx)(c.Z,{collapsible:!1,name:"Note",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"please sign document"}}),(0,i.jsx)(c.Z,{collapsible:!1,name:"Folder",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"OpenSign\u2122 Drive"}}),(0,i.jsx)(c.Z,{collapsible:!1,name:"File",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"https://exampleurl.com"}}),(0,i.jsx)(c.Z,{collapsible:!1,name:"Owner",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",format:"string",example:"joe bee"}}),(0,i.jsx)(c.Z,{collapsible:!0,className:"schemaItem",children:(0,i.jsxs)(s,{style:{},className:"openapi-markdown__details",children:[(0,i.jsx)("summary",{style:{},children:(0,i.jsxs)("span",{className:"openapi-schema__container",children:[(0,i.jsx)("strong",{className:"openapi-schema__property",children:(0,i.jsx)(a.p,{children:"Signers"})}),(0,i.jsx)("span",{className:"openapi-schema__name",children:(0,i.jsx)(a.p,{children:"object[]"})})]})}),(0,i.jsxs)("div",{style:{marginLeft:"1rem"},children:[(0,i.jsx)("li",{children:(0,i.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:(0,i.jsx)(a.p,{children:"Array ["})})}),(0,i.jsx)(c.Z,{collapsible:!1,name:"Name",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"joe"}}),(0,i.jsx)("li",{children:(0,i.jsx)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:(0,i.jsx)(a.p,{children:"]"})})})]})]})}),(0,i.jsx)(c.Z,{collapsible:!1,name:"createdAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}}),(0,i.jsx)(c.Z,{collapsible:!1,name:"updatedAt",required:!1,schemaName:"date",qualifierMessage:void 0,schema:{type:"string",example:"2023-10-07T16:49:56.000Z",xml:{name:"date"},title:"date"}})]})]})}),(0,i.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,i.jsx)(m.Z,{responseExample:'{\n "objectId": "FGik23bhUJ",\n "Title": "sample doc",\n "Note": "please sign document",\n "Folder": "OpenSign\u2122 Drive",\n "File": "https://exampleurl.com",\n "Owner": "joe bee",\n "Signers": [\n {\n "Name": "joe"\n }\n ],\n "createdAt": "2023-10-07T16:49:56.000Z",\n "updatedAt": "2023-10-07T16:49:56.000Z"\n}',language:"json"})})]})})})})]}),(0,i.jsxs)(u.default,{label:"404",value:"404",children:[(0,i.jsx)("div",{children:(0,i.jsx)(a.p,{children:"Document not found!"})}),(0,i.jsx)("div",{children:(0,i.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,i.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,i.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,i.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,i.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,i.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,i.jsx)("strong",{children:(0,i.jsx)(a.p,{children:"Schema"})})}),(0,i.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,i.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Document not found!"}})})]})}),(0,i.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,i.jsx)(m.Z,{responseExample:'{\n "error": "Document not found!"\n}',language:"json"})})]})})})})]}),(0,i.jsxs)(u.default,{label:"405",value:"405",children:[(0,i.jsx)("div",{children:(0,i.jsx)(a.p,{children:"Invalid API Token!"})}),(0,i.jsx)("div",{children:(0,i.jsx)(o.Z,{className:"openapi-tabs__mime",schemaType:"response",children:(0,i.jsx)(u.default,{label:"application/json",value:"application/json",children:(0,i.jsxs)(p.default,{className:"openapi-tabs__schema",children:[(0,i.jsx)(u.default,{label:"Schema",value:"Schema",children:(0,i.jsxs)(s,{style:{},className:"openapi-markdown__details response","data-collapsed":!1,open:!0,children:[(0,i.jsx)("summary",{style:{},className:"openapi-markdown__details-summary-response",children:(0,i.jsx)("strong",{children:(0,i.jsx)(a.p,{children:"Schema"})})}),(0,i.jsx)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.jsx)("ul",{style:{marginLeft:"1rem"},children:(0,i.jsx)(c.Z,{collapsible:!1,name:"error",required:!1,schemaName:"string",qualifierMessage:void 0,schema:{type:"string",example:"Invalid API token!"}})})]})}),(0,i.jsx)(u.default,{label:"Example (from schema)",value:"Example (from schema)",children:(0,i.jsx)(m.Z,{responseExample:'{\n "error": "Invalid API token!"\n}',language:"json"})})]})})})})]})]})})})]})}function b(e={}){const{wrapper:a}={...(0,l.a)(),...e.components};return a?(0,i.jsx)(a,{...e,children:(0,i.jsx)(y,{...e})}):y(e)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.a2522a07.js b/assets/js/runtime~main.29615506.js similarity index 62% rename from assets/js/runtime~main.a2522a07.js rename to assets/js/runtime~main.29615506.js index 88a6e2120..4eb3531e5 100644 --- a/assets/js/runtime~main.a2522a07.js +++ b/assets/js/runtime~main.29615506.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,d,c,b,f={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return f[e].call(d.exports,d,d.exports,r),d.loaded=!0,d.exports}r.m=f,r.c=t,e=[],r.O=(a,d,c,b)=>{if(!d){var f=1/0;for(i=0;i=b)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,b0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[d,c,b]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var b=Object.create(null);r.r(b);var f={};a=a||[null,d({}),d([]),d(d)];for(var t=2&c&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>f[a]=()=>e[a]));return f.default=()=>e,r.d(b,f),b},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",110:"66406991",119:"ac608ad7",230:"d91ad230",273:"fa40969b",292:"1d835c2e",453:"30a24c52",533:"b2b675dd",841:"c5e4dae0",853:"277a78f5",948:"8717b14a",1332:"f0ff4a36",1359:"f0349969",1477:"b2f554cd",1520:"770b40a9",1531:"bbdfc22d",1633:"031793e1",1713:"a7023ddc",1773:"ef5d5d5d",1893:"4c5e977b",1914:"d9f32620",2087:"bfe4b778",2245:"a2bc1463",2267:"59362658",2362:"e273c56f",2535:"814f3328",2832:"1f73ca32",3085:"1f391b9e",3089:"a6aa9e1f",3101:"64ee8796",3205:"a80da1cf",3514:"73664a40",3608:"9e4087bc",4013:"01a85c17",4195:"c4f5d8e4",4258:"b5b81866",4368:"a94703ab",4478:"d1393a72",4651:"05632a52",4955:"e226bb09",5507:"8320e026",5900:"38e3d9c8",6103:"ccc49370",6177:"611db08b",6261:"3dbb8da8",6543:"17e5210b",6586:"976116a8",6759:"c9fa5aa5",6938:"608ae6a4",7100:"2c416566",7178:"096bfee4",7336:"d6096017",7414:"393be207",7429:"debc6b9f",7608:"ca7b15b9",7729:"3532e686",7894:"a88a3db3",7971:"8a725248",8106:"377084eb",8163:"5a2de241",8468:"52d5c0f9",8489:"7b076186",8518:"a7bd4aaa",8610:"6875c492",8636:"f4f34a3a",8892:"38ec836e",9003:"925b3f96",9035:"4c9e35b1",9642:"7661071f",9661:"5e95c892",9671:"0e384e19",9697:"2c586be5",9700:"e16015ca",9817:"14eb3368"}[e]||e)+"."+{53:"73e99a0e",110:"ab20026d",119:"da728717",230:"f1caf6f2",273:"d78cd316",292:"f4c59cb7",453:"61f3e45f",533:"2d5f5b1d",841:"b9d70538",853:"3d363c27",948:"b2da1fd1",1332:"37f7ec3b",1359:"49fdcec2",1477:"b31b2642",1520:"5dce35a3",1531:"c9a8cf21",1633:"d8366831",1713:"fefd4794",1772:"c222a62c",1773:"d5cdc9ed",1893:"59606182",1914:"eb382def",2087:"900b9b57",2245:"87a05c5b",2267:"a4846e2b",2362:"ebdb1814",2529:"2079a565",2535:"f3b6b0ab",2832:"6dd96ce6",3085:"e5c5d651",3089:"84b5c675",3101:"47959e32",3205:"af75d475",3514:"b2437ac4",3608:"0e768bf1",4013:"e5e25f55",4195:"1659087e",4258:"2f2f6e9d",4311:"86f3bfc6",4368:"7d12b1da",4478:"cf430417",4651:"ff3f50af",4682:"18721add",4955:"d23a608f",5507:"36c41078",5900:"a995c609",6103:"ebc8482f",6177:"b0d3e9d2",6261:"7cefc749",6543:"951fd832",6586:"838adce6",6759:"c81d0e01",6938:"d44251bf",7100:"c3706b41",7178:"9a58922d",7336:"a736ced8",7414:"8d31e6a7",7429:"7a5a40a6",7608:"18f42e4e",7729:"2130c9d6",7894:"b6ccaf5d",7971:"ace1ce06",8106:"96f0357e",8140:"901b2f91",8163:"652d37f8",8468:"296814e0",8475:"d27b3009",8489:"e9e2536a",8518:"aaa08e5a",8531:"1f1a82a7",8610:"d85035d6",8636:"c590d949",8892:"8d297d45",9003:"1e8e0783",9035:"37598b09",9642:"223fec4f",9661:"33228fcd",9671:"8f2ee486",9697:"d853e169",9700:"ad032cc8",9817:"424c677a"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},b="OpenSign-Docs:",r.l=(e,a,d,f)=>{if(c[e])c[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var b=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),b&&b.forEach((e=>e(d))),a)return a(d)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",r.gca=function(e){return e={59362658:"2267",66406991:"110","935f2afb":"53",ac608ad7:"119",d91ad230:"230",fa40969b:"273","1d835c2e":"292","30a24c52":"453",b2b675dd:"533",c5e4dae0:"841","277a78f5":"853","8717b14a":"948",f0ff4a36:"1332",f0349969:"1359",b2f554cd:"1477","770b40a9":"1520",bbdfc22d:"1531","031793e1":"1633",a7023ddc:"1713",ef5d5d5d:"1773","4c5e977b":"1893",d9f32620:"1914",bfe4b778:"2087",a2bc1463:"2245",e273c56f:"2362","814f3328":"2535","1f73ca32":"2832","1f391b9e":"3085",a6aa9e1f:"3089","64ee8796":"3101",a80da1cf:"3205","73664a40":"3514","9e4087bc":"3608","01a85c17":"4013",c4f5d8e4:"4195",b5b81866:"4258",a94703ab:"4368",d1393a72:"4478","05632a52":"4651",e226bb09:"4955","8320e026":"5507","38e3d9c8":"5900",ccc49370:"6103","611db08b":"6177","3dbb8da8":"6261","17e5210b":"6543","976116a8":"6586",c9fa5aa5:"6759","608ae6a4":"6938","2c416566":"7100","096bfee4":"7178",d6096017:"7336","393be207":"7414",debc6b9f:"7429",ca7b15b9:"7608","3532e686":"7729",a88a3db3:"7894","8a725248":"7971","377084eb":"8106","5a2de241":"8163","52d5c0f9":"8468","7b076186":"8489",a7bd4aaa:"8518","6875c492":"8610",f4f34a3a:"8636","38ec836e":"8892","925b3f96":"9003","4c9e35b1":"9035","7661071f":"9642","5e95c892":"9661","0e384e19":"9671","2c586be5":"9697",e16015ca:"9700","14eb3368":"9817"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var c=r.o(e,a)?e[a]:void 0;if(0!==c)if(c)d.push(c[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var b=new Promise(((d,b)=>c=e[a]=[d,b]));d.push(c[2]=b);var f=r.p+r.u(a),t=new Error;r.l(f,(d=>{if(r.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var b=d&&("load"===d.type?"missing":d.type),f=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+b+": "+f+")",t.name="ChunkLoadError",t.type=b,t.request=f,c[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var c,b,f=d[0],t=d[1],o=d[2],n=0;if(f.some((a=>0!==e[a]))){for(c in t)r.o(t,c)&&(r.m[c]=t[c]);if(o)var i=o(r)}for(a&&a(d);n{"use strict";var e,a,d,b,c,f={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return f[e].call(d.exports,d,d.exports,r),d.loaded=!0,d.exports}r.m=f,r.c=t,e=[],r.O=(a,d,b,c)=>{if(!d){var f=1/0;for(i=0;i=c)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[d,b,c]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var f={};a=a||[null,d({}),d([]),d(d)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>f[a]=()=>e[a]));return f.default=()=>e,r.d(c,f),c},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",110:"66406991",119:"ac608ad7",230:"d91ad230",273:"fa40969b",292:"1d835c2e",453:"30a24c52",533:"b2b675dd",841:"c5e4dae0",853:"277a78f5",948:"8717b14a",1332:"f0ff4a36",1359:"f0349969",1477:"b2f554cd",1520:"770b40a9",1531:"bbdfc22d",1633:"031793e1",1713:"a7023ddc",1773:"ef5d5d5d",1893:"4c5e977b",1914:"d9f32620",2087:"bfe4b778",2245:"a2bc1463",2267:"59362658",2362:"e273c56f",2535:"814f3328",2832:"1f73ca32",3085:"1f391b9e",3089:"a6aa9e1f",3101:"64ee8796",3205:"a80da1cf",3514:"73664a40",3608:"9e4087bc",4013:"01a85c17",4195:"c4f5d8e4",4258:"b5b81866",4368:"a94703ab",4478:"d1393a72",4651:"05632a52",4955:"e226bb09",5507:"8320e026",5900:"38e3d9c8",6103:"ccc49370",6177:"611db08b",6261:"3dbb8da8",6543:"17e5210b",6586:"976116a8",6759:"c9fa5aa5",6938:"608ae6a4",7100:"2c416566",7178:"096bfee4",7336:"d6096017",7414:"393be207",7429:"debc6b9f",7608:"ca7b15b9",7729:"3532e686",7894:"a88a3db3",7971:"8a725248",8106:"377084eb",8163:"5a2de241",8468:"52d5c0f9",8489:"7b076186",8518:"a7bd4aaa",8610:"6875c492",8636:"f4f34a3a",8892:"38ec836e",9003:"925b3f96",9035:"4c9e35b1",9642:"7661071f",9661:"5e95c892",9671:"0e384e19",9697:"2c586be5",9700:"e16015ca",9817:"14eb3368"}[e]||e)+"."+{53:"b2bc89d2",110:"ab20026d",119:"da728717",230:"f1caf6f2",273:"d78cd316",292:"f4c59cb7",453:"61f3e45f",533:"2d5f5b1d",841:"b9d70538",853:"3d363c27",948:"b2da1fd1",1332:"d8bbcdae",1359:"49fdcec2",1477:"b31b2642",1520:"795c8a7a",1531:"ec04bb2d",1633:"d8366831",1713:"fefd4794",1772:"c222a62c",1773:"d5cdc9ed",1893:"59606182",1914:"eb382def",2087:"edb497d1",2245:"96daf7b3",2267:"a4846e2b",2362:"ebdb1814",2529:"2079a565",2535:"f3b6b0ab",2832:"6b4bf0ac",3085:"e5c5d651",3089:"84b5c675",3101:"47959e32",3205:"af75d475",3514:"b2437ac4",3608:"0e768bf1",4013:"e5e25f55",4195:"1659087e",4258:"2f2f6e9d",4311:"86f3bfc6",4368:"7d12b1da",4478:"cf430417",4651:"72ce6921",4682:"18721add",4955:"d23a608f",5507:"36c41078",5900:"a995c609",6103:"ebc8482f",6177:"b0d3e9d2",6261:"7cefc749",6543:"951fd832",6586:"838adce6",6759:"c81d0e01",6938:"d44251bf",7100:"c3706b41",7178:"9a58922d",7336:"a736ced8",7414:"8d31e6a7",7429:"7a5a40a6",7608:"18f42e4e",7729:"2130c9d6",7894:"3e8883fd",7971:"7a441f87",8106:"9a14b681",8140:"901b2f91",8163:"5942955c",8468:"2021ef58",8475:"d27b3009",8489:"36b0ee4c",8518:"aaa08e5a",8531:"1f1a82a7",8610:"d85035d6",8636:"c590d949",8892:"8d297d45",9003:"1e8e0783",9035:"37598b09",9642:"223fec4f",9661:"33228fcd",9671:"8f2ee486",9697:"1277174c",9700:"ad032cc8",9817:"424c677a"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},c="OpenSign-Docs:",r.l=(e,a,d,f)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var c=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),c&&c.forEach((e=>e(d))),a)return a(d)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",r.gca=function(e){return e={59362658:"2267",66406991:"110","935f2afb":"53",ac608ad7:"119",d91ad230:"230",fa40969b:"273","1d835c2e":"292","30a24c52":"453",b2b675dd:"533",c5e4dae0:"841","277a78f5":"853","8717b14a":"948",f0ff4a36:"1332",f0349969:"1359",b2f554cd:"1477","770b40a9":"1520",bbdfc22d:"1531","031793e1":"1633",a7023ddc:"1713",ef5d5d5d:"1773","4c5e977b":"1893",d9f32620:"1914",bfe4b778:"2087",a2bc1463:"2245",e273c56f:"2362","814f3328":"2535","1f73ca32":"2832","1f391b9e":"3085",a6aa9e1f:"3089","64ee8796":"3101",a80da1cf:"3205","73664a40":"3514","9e4087bc":"3608","01a85c17":"4013",c4f5d8e4:"4195",b5b81866:"4258",a94703ab:"4368",d1393a72:"4478","05632a52":"4651",e226bb09:"4955","8320e026":"5507","38e3d9c8":"5900",ccc49370:"6103","611db08b":"6177","3dbb8da8":"6261","17e5210b":"6543","976116a8":"6586",c9fa5aa5:"6759","608ae6a4":"6938","2c416566":"7100","096bfee4":"7178",d6096017:"7336","393be207":"7414",debc6b9f:"7429",ca7b15b9:"7608","3532e686":"7729",a88a3db3:"7894","8a725248":"7971","377084eb":"8106","5a2de241":"8163","52d5c0f9":"8468","7b076186":"8489",a7bd4aaa:"8518","6875c492":"8610",f4f34a3a:"8636","38ec836e":"8892","925b3f96":"9003","4c9e35b1":"9035","7661071f":"9642","5e95c892":"9661","0e384e19":"9671","2c586be5":"9697",e16015ca:"9700","14eb3368":"9817"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)d.push(b[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var c=new Promise(((d,c)=>b=e[a]=[d,c]));d.push(b[2]=c);var f=r.p+r.u(a),t=new Error;r.l(f,(d=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var c=d&&("load"===d.type?"missing":d.type),f=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+c+": "+f+")",t.name="ChunkLoadError",t.type=c,t.request=f,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var b,c,f=d[0],t=d[1],o=d[2],n=0;if(f.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(d);n Archive | OpenSign™ - + diff --git a/blog/first-blog-post/index.html b/blog/first-blog-post/index.html index 0bf70f7dd..0d688256e 100644 --- a/blog/first-blog-post/index.html +++ b/blog/first-blog-post/index.html @@ -5,7 +5,7 @@ First Blog Post | OpenSign™ - + diff --git a/blog/index.html b/blog/index.html index 2686f0191..3481727ea 100644 --- a/blog/index.html +++ b/blog/index.html @@ -5,7 +5,7 @@ Blog | OpenSign™ - + diff --git a/blog/long-blog-post/index.html b/blog/long-blog-post/index.html index 136a1e96c..2f2186db3 100644 --- a/blog/long-blog-post/index.html +++ b/blog/long-blog-post/index.html @@ -5,7 +5,7 @@ Long Blog Post | OpenSign™ - + diff --git a/blog/mdx-blog-post/index.html b/blog/mdx-blog-post/index.html index ea292ab47..becad2a06 100644 --- a/blog/mdx-blog-post/index.html +++ b/blog/mdx-blog-post/index.html @@ -5,7 +5,7 @@ MDX Blog Post | OpenSign™ - + diff --git a/blog/tags/docusaurus/index.html b/blog/tags/docusaurus/index.html index 01e79bab3..1a8649792 100644 --- a/blog/tags/docusaurus/index.html +++ b/blog/tags/docusaurus/index.html @@ -5,7 +5,7 @@ 4 posts tagged with "docusaurus" | OpenSign™ - + diff --git a/blog/tags/facebook/index.html b/blog/tags/facebook/index.html index 129055c19..7cc9f7635 100644 --- a/blog/tags/facebook/index.html +++ b/blog/tags/facebook/index.html @@ -5,7 +5,7 @@ One post tagged with "facebook" | OpenSign™ - + diff --git a/blog/tags/hello/index.html b/blog/tags/hello/index.html index e1a21ed14..aeceb3f7b 100644 --- a/blog/tags/hello/index.html +++ b/blog/tags/hello/index.html @@ -5,7 +5,7 @@ 2 posts tagged with "hello" | OpenSign™ - + diff --git a/blog/tags/hola/index.html b/blog/tags/hola/index.html index 543f2020e..56ffa7cde 100644 --- a/blog/tags/hola/index.html +++ b/blog/tags/hola/index.html @@ -5,7 +5,7 @@ One post tagged with "hola" | OpenSign™ - + diff --git a/blog/tags/index.html b/blog/tags/index.html index 1cf87a81b..3c866ebce 100644 --- a/blog/tags/index.html +++ b/blog/tags/index.html @@ -5,7 +5,7 @@ Tags | OpenSign™ - + diff --git a/blog/welcome/index.html b/blog/welcome/index.html index 252a55b69..cc489f84c 100644 --- a/blog/welcome/index.html +++ b/blog/welcome/index.html @@ -5,7 +5,7 @@ Welcome | OpenSign™ - + diff --git a/docs/API-docs/contactlist/index.html b/docs/API-docs/contactlist/index.html index b54e8334d..bababc8f6 100644 --- a/docs/API-docs/contactlist/index.html +++ b/docs/API-docs/contactlist/index.html @@ -3,17 +3,18 @@ -Get contact list | OpenSign™ +Get contact list | OpenSign™ - + -

Get contact list

+

Get contact list

GET 

/contactlist

+

The Contact List API empowers you to retrieve a list of contacts, providing a comprehensive view of all available contacts in your contactbook.

Request

Query Parameters

    limit number
    Example: 10
    skip number
    Example: 0

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
-

Responses

successful operation

Schema

    result

    contactdetails[]

  • Array [

  • objectId string
    Name string
    Email string
    Phone string
    createdAt date
    updatedAt date
  • ]

Loading...
+

Responses

successful operation

Schema

    result

    contactdetails[]

  • Array [

  • objectId string
    Name string
    Email string
    Phone string
    createdAt date
    updatedAt date
  • ]

Loading...
\ No newline at end of file diff --git a/docs/API-docs/createcontact/index.html b/docs/API-docs/createcontact/index.html index 23b9499c7..cffbbedc7 100644 --- a/docs/API-docs/createcontact/index.html +++ b/docs/API-docs/createcontact/index.html @@ -3,18 +3,18 @@ -Create contact | OpenSign™ +Create contact | OpenSign™ - + -

Create contact

+

Create contact

POST 

/createcontact

-

Create contact

+

The Create contact API allows you to effortlessly create new contacts that can act as signers for your important documents.

Request

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
-

Body

required

provide below parameter to create contact

    Name stringrequired
    Email stringrequired
    Phone stringrequired
+

Body

required

Provide below parameter to create contact

    Name stringrequired
    Email stringrequired
    Phone stringrequired

Responses

Contact created successfully!

Schema

    objectId string
    Name string
    Email string
    Phone string
    createdAt date
    updatedAt date
Loading...
\ No newline at end of file diff --git a/docs/API-docs/createdocument/index.html b/docs/API-docs/createdocument/index.html index 9cbcd09ae..b860256d1 100644 --- a/docs/API-docs/createdocument/index.html +++ b/docs/API-docs/createdocument/index.html @@ -3,15 +3,15 @@ -Create document | OpenSign™ +Create document | OpenSign™ - +

Create document

POST 

/createdocument

-

Create document

+

The Create Document API allows users to generate new documents by providing data through multipart/form-data. This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios.

Request

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx

Body

required

    file binary
    Name string
    Description string
    Note string
    Signers string[]
diff --git a/docs/API-docs/createtemplate/index.html b/docs/API-docs/createtemplate/index.html index c5c892b59..3e2c8a166 100644 --- a/docs/API-docs/createtemplate/index.html +++ b/docs/API-docs/createtemplate/index.html @@ -3,15 +3,15 @@ -Create template | OpenSign™ +Create template | OpenSign™ - +

Create template

POST 

/createtemplate

-

The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique templateId that can be used to generate documents based on the specified template.

+

The Template Creation API allows users to create customizable templates, which serve as blueprints for generating documents with predefined structures. Upon successful template creation, the API returns a unique templateId that can be used to generate documents based on the specified template and url to edit template.

Request

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx

Body

required

    file binary
    Name string
    Description string
    Note string
    Signers string[]
diff --git a/docs/API-docs/delete-template/index.html b/docs/API-docs/delete-template/index.html index 16ec95890..b4175c639 100644 --- a/docs/API-docs/delete-template/index.html +++ b/docs/API-docs/delete-template/index.html @@ -3,15 +3,15 @@ -Delete template by ID | OpenSign™ +Delete template by ID | OpenSign™ - +

Delete template by ID

DELETE 

/template/:template_id

-

Delete template by ID

+

The Delete Template API provides you with the ability to remove a specific template from the templates. If a template is no longer needed

Request

Path Parameters

    template_id stringrequired

    ID of the template that needs to be deleted

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
diff --git a/docs/API-docs/deletecontact/index.html b/docs/API-docs/deletecontact/index.html index 2de22e72f..39abf7440 100644 --- a/docs/API-docs/deletecontact/index.html +++ b/docs/API-docs/deletecontact/index.html @@ -3,15 +3,15 @@ -Deletes contact | OpenSign™ +Delete contact | OpenSign™ - + -

Deletes contact

+

Delete contact

DELETE 

/contact/:contact_id

-

delete a contact

+

The Delete Contact API allows you to remove a contact from your contactbook. If you no longer need a particular contact's information, this API makes it easy to delete their record.

Request

Path Parameters

    contact_id stringrequired

    Provide objectId of contact to delete

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
diff --git a/docs/API-docs/deletedocument/index.html b/docs/API-docs/deletedocument/index.html index 0b72b1ec0..5200c3cc2 100644 --- a/docs/API-docs/deletedocument/index.html +++ b/docs/API-docs/deletedocument/index.html @@ -3,15 +3,15 @@ -Delete document by ID | OpenSign™ +Delete document by ID | OpenSign™ - +

Delete document by ID

DELETE 

/document/:document_id

-

delete a document

+

The Delete document API allows you to remove specific document from your documents.

Request

Path Parameters

    document_id stringrequired

    Provide objectId of document to delete

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
diff --git a/docs/API-docs/get-template/index.html b/docs/API-docs/get-template/index.html index 4dcf67c24..203e892f2 100644 --- a/docs/API-docs/get-template/index.html +++ b/docs/API-docs/get-template/index.html @@ -3,14 +3,15 @@ -Get template by ID | OpenSign™ +Get template by ID | OpenSign™ - +

Get template by ID

GET 

/template/:template_id

+

The Get Template API allows you to retrieve details about a specific template. Templates serve as blueprints for creating documents with predefined structures.

Request

Path Parameters

    template_id strngrequired

    ID of template that needs to be fetched

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
diff --git a/docs/API-docs/get-user/index.html b/docs/API-docs/get-user/index.html index 2a5044201..3d81f565a 100644 --- a/docs/API-docs/get-user/index.html +++ b/docs/API-docs/get-user/index.html @@ -3,15 +3,15 @@ -Get your details | OpenSign™ +Get your details | OpenSign™ - +

Get your details

GET 

/getuser

-

Get your details

+

The Get User API enables you to get your own details.

Request

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx

Responses

Successful operation

Schema

    objectId string
    Name string
    Email string
    Phone string
    JobTitle string
    Company string
    createdAt date
    updatedAt date
Loading...
diff --git a/docs/API-docs/getcontact/index.html b/docs/API-docs/getcontact/index.html index 5511e0dc1..7aa443215 100644 --- a/docs/API-docs/getcontact/index.html +++ b/docs/API-docs/getcontact/index.html @@ -3,18 +3,18 @@ -Get contact | OpenSign™ +Get contact | OpenSign™ - + -

Get contact

+

Get contact

GET 

/contact/:contact_id

-

get a contact

+

The Get Contact API allows you to retrieve details about a specific contact.

Request

Path Parameters

    contact_id stringrequired

    objectId of contact

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
-

Responses

successful operation

Schema

    objectId string
    Name string
    Email string
    Phone string
    createdAt date
    updatedAt date
Loading...
+

Responses

successful operation

Schema

    objectId string
    Name string
    Email string
    Phone string
    createdAt date
    updatedAt date
Loading...
\ No newline at end of file diff --git a/docs/API-docs/getdocument/index.html b/docs/API-docs/getdocument/index.html index 83cc1e0d1..1090cca03 100644 --- a/docs/API-docs/getdocument/index.html +++ b/docs/API-docs/getdocument/index.html @@ -3,15 +3,15 @@ -Get document by ID | OpenSign™ +Get document by ID | OpenSign™ - +

Get document by ID

GET 

/document/:document_id

-

Get a document

+

The Get Document API enables you to retrieve details about a specific document.

Request

Path Parameters

    document_id stringrequired

    objectId of contact

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
diff --git a/docs/API-docs/getdocumentlist/index.html b/docs/API-docs/getdocumentlist/index.html index 2c6f9ad95..1e95f90c5 100644 --- a/docs/API-docs/getdocumentlist/index.html +++ b/docs/API-docs/getdocumentlist/index.html @@ -5,7 +5,7 @@ Get document list by doctype | OpenSign™ - + diff --git a/docs/API-docs/gettemplatelist/index.html b/docs/API-docs/gettemplatelist/index.html index ef05e3fd7..fbec2952e 100644 --- a/docs/API-docs/gettemplatelist/index.html +++ b/docs/API-docs/gettemplatelist/index.html @@ -3,15 +3,15 @@ -Get template list | OpenSign™ +Get template list | OpenSign™ - +

Get template list

GET 

/templatelist

-

Get template list

+

The Get Template List API allows you to retrieve a list of available templates. This functionality provides an overview of all templates, enabling users to choose from existing templates when creating documents.

Request

Query Parameters

    limit number
    Example: 10
    skip number
    Example: 0

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
diff --git a/docs/API-docs/intro/index.html b/docs/API-docs/intro/index.html index 571f4857b..83208fe2f 100644 --- a/docs/API-docs/intro/index.html +++ b/docs/API-docs/intro/index.html @@ -5,7 +5,7 @@ Overview | OpenSign™ - + diff --git a/docs/API-docs/opensign-api-v-1/index.html b/docs/API-docs/opensign-api-v-1/index.html index 2ed9b9928..56332f4da 100644 --- a/docs/API-docs/opensign-api-v-1/index.html +++ b/docs/API-docs/opensign-api-v-1/index.html @@ -5,7 +5,7 @@ OpenSign API v1 | OpenSign™ - + diff --git a/docs/API-docs/update-document/index.html b/docs/API-docs/update-document/index.html index 5e02a11b6..6c512f4bc 100644 --- a/docs/API-docs/update-document/index.html +++ b/docs/API-docs/update-document/index.html @@ -3,19 +3,19 @@ -Update document by ID | OpenSign™ +Update document by ID | OpenSign™ - +

Update document by ID

PUT 

/document/:document_id

-

Update document by ID

+

The Update Document API allows users to modify and update the details of a specific document.

Request

Path Parameters

    document_id stringrequired

    ID of the document that needs to be updated

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
-

Body

provide below parameter to update templates (at least one parameter required)

    Name string
    Note string
    Description string
    FolderId string
+

Body

Provide below parameter to update templates (at least one parameter required)

    Name string
    Note string
    Description string
    FolderId string

Responses

Document updated successfully!

Schema

    objectId string
    updatedAt date
Loading...
\ No newline at end of file diff --git a/docs/API-docs/update-template/index.html b/docs/API-docs/update-template/index.html index 4d5570878..d42a7a10f 100644 --- a/docs/API-docs/update-template/index.html +++ b/docs/API-docs/update-template/index.html @@ -3,19 +3,19 @@ -Update template by ID | OpenSign™ +Update template by ID | OpenSign™ - +

Update template by ID

PUT 

/template/:template_id

-

Update template by ID

+

The Update Template API enables you to modify and update the details of a specific template.

Request

Path Parameters

    template_id stringrequired

    ID of the template that needs to be updated

Header Parameters

    x-api-token stringrequired
    Example: opensign.xxxx
-

Body

provide below parameter to update templates (at least one parameter required)

    Name string
    Note string
    Description string
    FolderId string
+

Body

Provide below parameter to update templates (at least one parameter required)

    Name string
    Note string
    Description string
    FolderId string

Responses

Template updated successfully!

Schema

    objectId string
    updatedAt date
Loading...
\ No newline at end of file diff --git a/docs/category/tutorial---basics/index.html b/docs/category/tutorial---basics/index.html index 7c488d44d..2daee2bb8 100644 --- a/docs/category/tutorial---basics/index.html +++ b/docs/category/tutorial---basics/index.html @@ -5,7 +5,7 @@ Tutorial - Basics | OpenSign™ - + diff --git a/docs/category/tutorial---extras/index.html b/docs/category/tutorial---extras/index.html index aedcb200b..608896c1c 100644 --- a/docs/category/tutorial---extras/index.html +++ b/docs/category/tutorial---extras/index.html @@ -5,7 +5,7 @@ Tutorial - Extras | OpenSign™ - + diff --git a/docs/contribute/CODE_OF_CONDUCT/index.html b/docs/contribute/CODE_OF_CONDUCT/index.html index c3ff10827..1de2d173a 100644 --- a/docs/contribute/CODE_OF_CONDUCT/index.html +++ b/docs/contribute/CODE_OF_CONDUCT/index.html @@ -5,7 +5,7 @@ Code of conduct | OpenSign™ - + diff --git a/docs/contribute/COMMUNITY/index.html b/docs/contribute/COMMUNITY/index.html index 52ffa32ba..0b5e33824 100644 --- a/docs/contribute/COMMUNITY/index.html +++ b/docs/contribute/COMMUNITY/index.html @@ -5,7 +5,7 @@ COMMUNITY | OpenSign™ - + diff --git a/docs/contribute/INSTALLATION/index.html b/docs/contribute/INSTALLATION/index.html index e6874b299..833236b31 100644 --- a/docs/contribute/INSTALLATION/index.html +++ b/docs/contribute/INSTALLATION/index.html @@ -5,7 +5,7 @@ INSTALLATION | OpenSign™ - + diff --git a/docs/contribute/REPORTING_GUIDELINES/index.html b/docs/contribute/REPORTING_GUIDELINES/index.html index 05de98c4a..455b1d4da 100644 --- a/docs/contribute/REPORTING_GUIDELINES/index.html +++ b/docs/contribute/REPORTING_GUIDELINES/index.html @@ -5,7 +5,7 @@ REPORTING_GUIDELINES | OpenSign™ - + diff --git a/docs/contribute/intro/index.html b/docs/contribute/intro/index.html index 9825ab71b..e05238907 100644 --- a/docs/contribute/intro/index.html +++ b/docs/contribute/intro/index.html @@ -5,7 +5,7 @@ Contributing to OpenSign | OpenSign™ - + diff --git a/docs/help/New-Document/request-signatures/index.html b/docs/help/New-Document/request-signatures/index.html index 210be53cf..dc61dca33 100644 --- a/docs/help/New-Document/request-signatures/index.html +++ b/docs/help/New-Document/request-signatures/index.html @@ -5,7 +5,7 @@ Request signatures | OpenSign™ - + diff --git a/docs/help/New-Document/sign-yourself/index.html b/docs/help/New-Document/sign-yourself/index.html index 27545ab53..061ffe91b 100644 --- a/docs/help/New-Document/sign-yourself/index.html +++ b/docs/help/New-Document/sign-yourself/index.html @@ -5,7 +5,7 @@ Sign yourself | OpenSign™ - + diff --git a/docs/help/intro/index.html b/docs/help/intro/index.html index 92039a86c..95cc2deff 100644 --- a/docs/help/intro/index.html +++ b/docs/help/intro/index.html @@ -5,7 +5,7 @@ Intro | OpenSign™ - + diff --git a/docs/intro/index.html b/docs/intro/index.html index 567dac19d..3b4fef7bb 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -5,7 +5,7 @@ Tutorial Intro | OpenSign™ - + diff --git a/docs/self-host/intro/index.html b/docs/self-host/intro/index.html index f3bd2bbde..be6365d5f 100644 --- a/docs/self-host/intro/index.html +++ b/docs/self-host/intro/index.html @@ -5,7 +5,7 @@ Tutorial Intro | OpenSign™ - + diff --git a/docs/self-host/tutorial-basics/congratulations/index.html b/docs/self-host/tutorial-basics/congratulations/index.html index 0b7081c9a..bd7c050aa 100644 --- a/docs/self-host/tutorial-basics/congratulations/index.html +++ b/docs/self-host/tutorial-basics/congratulations/index.html @@ -5,7 +5,7 @@ Congratulations! | OpenSign™ - + diff --git a/docs/self-host/tutorial-basics/create-a-blog-post/index.html b/docs/self-host/tutorial-basics/create-a-blog-post/index.html index 8d05b58c1..bfb59e0ff 100644 --- a/docs/self-host/tutorial-basics/create-a-blog-post/index.html +++ b/docs/self-host/tutorial-basics/create-a-blog-post/index.html @@ -5,7 +5,7 @@ Create a Blog Post | OpenSign™ - + diff --git a/docs/self-host/tutorial-basics/create-a-document/index.html b/docs/self-host/tutorial-basics/create-a-document/index.html index 5a0fd31e7..ae50eca32 100644 --- a/docs/self-host/tutorial-basics/create-a-document/index.html +++ b/docs/self-host/tutorial-basics/create-a-document/index.html @@ -5,7 +5,7 @@ Create a Document | OpenSign™ - + diff --git a/docs/self-host/tutorial-basics/create-a-page/index.html b/docs/self-host/tutorial-basics/create-a-page/index.html index d64a908c3..1d397b68c 100644 --- a/docs/self-host/tutorial-basics/create-a-page/index.html +++ b/docs/self-host/tutorial-basics/create-a-page/index.html @@ -5,7 +5,7 @@ Create a Page | OpenSign™ - + diff --git a/docs/self-host/tutorial-basics/deploy-your-site/index.html b/docs/self-host/tutorial-basics/deploy-your-site/index.html index 783e6a4d0..50d248737 100644 --- a/docs/self-host/tutorial-basics/deploy-your-site/index.html +++ b/docs/self-host/tutorial-basics/deploy-your-site/index.html @@ -5,7 +5,7 @@ Deploy your site | OpenSign™ - + diff --git a/docs/self-host/tutorial-basics/markdown-features/index.html b/docs/self-host/tutorial-basics/markdown-features/index.html index 883dff296..3a8e14dce 100644 --- a/docs/self-host/tutorial-basics/markdown-features/index.html +++ b/docs/self-host/tutorial-basics/markdown-features/index.html @@ -5,7 +5,7 @@ Markdown Features | OpenSign™ - + diff --git a/docs/self-host/tutorial-extras/manage-docs-versions/index.html b/docs/self-host/tutorial-extras/manage-docs-versions/index.html index dbaa7fbb6..0515f5d9c 100644 --- a/docs/self-host/tutorial-extras/manage-docs-versions/index.html +++ b/docs/self-host/tutorial-extras/manage-docs-versions/index.html @@ -5,7 +5,7 @@ Manage Docs Versions | OpenSign™ - + diff --git a/docs/self-host/tutorial-extras/translate-your-site/index.html b/docs/self-host/tutorial-extras/translate-your-site/index.html index 6af950774..fea16f11f 100644 --- a/docs/self-host/tutorial-extras/translate-your-site/index.html +++ b/docs/self-host/tutorial-extras/translate-your-site/index.html @@ -5,7 +5,7 @@ Translate your site | OpenSign™ - + diff --git a/index.html b/index.html index b295aefb8..f29126336 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Hello from OpenSign™ | OpenSign™ - + diff --git a/markdown-page/index.html b/markdown-page/index.html index 6af1b0579..e87bf842e 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,7 +5,7 @@ Markdown page example | OpenSign™ - +