<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hello,</div><div><br></div><div>you can add your own REST handler class in opencms-system.xml config file.</div><div><br></div><div>Check Solr handler, it's a simillar issue:</div><div><a href="https://documentation.opencms.org/opencms-documentation/more-opencms-features/solr-search-integration/solr-handler/index.html">https://documentation.opencms.org/opencms-documentation/more-opencms-features/solr-search-integration/solr-handler/index.html</a></div><div><br>S pozdravem / Kind regards<br><br>Filip Kratochvil<br>Web & Portal Consultant<br><br>IBA CZ, s.r.o.<br>Office: Radlická 751/113e, 158 00 Praha, CZ<br></div><br><br><font color="#990099"><a href="mailto:-----opencms-dev-bounces@opencms.org" target="_blank">-----opencms-dev-bounces@opencms.org</a> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: <<a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a>><br>From: <giovanni.daquino@intellisync.it><br>Sent by: <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a><br>Date: 02/25/2020 02:21PM<br>Subject: [opencms-dev] Add REST API to OpenCMS<br><br><!--Notes ACF <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf8">--><!--[if !mso]><style></style><![endif]--><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal">Hello everyone, <p></p></p><p class="MsoNormal"><p> </p></p><p class="MsoNormal">I am wondering if anybody has successfully implemented a REST or really any kind of APIs in OpenCMS. I would like to extend OpenCMS to use it headlessly. I think you should add one or more modules and have the module expose some endpoints. Is this correct?<p></p></p><p class="MsoNormal"><p> </p></p><p class="MsoNormal">Thank you,<p></p></p><p class="MsoNormal"><p> </p></p><p class="MsoNormal"><p> </p></p><p class="MsoNormal"><font color="#00a099">Giovanni Andrea D’Aquino<p></p></font></p><p class="MsoNormal"><b><span lang="EN-GB" style="font-size: 10pt;"><font color="#00a099">Software Engineer<p></p></font></span></b></p><p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:IT"><p> </p></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:black;mso-fareast-language:IT"><img width="150" height="43" id="Immagine_x0020_1" src="cid:image001.png@01D5EBE6.7D747FD0" alt="Descrizione: picturemessage_2w1anxdt.xg3 (1)" ></span><span style="mso-fareast-language:IT"><p></p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:13.5pt;font-family:Roboto;mso-fareast-language:IT"><p> </p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 13.5pt;"><font color="#00a099">INTELLISYNC Srl<br></font></span><span lang="EN-GB" style="font-size: 10pt;"><font color="#00a099">Via Sclafani, 40/B</font></span><span lang="EN-GB" style="font-size: 10pt;"><font color="#00a099"><p></p></font></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size: 10pt;"><font color="#00a099">Free Mind Foundry Innovation Hub<br>95024 Acireale (CT) Italy<p></p></font></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size: 10pt;"><font color="#00a099">Tel/Fax: (+39) 3475744346<p></p></font></span></p><p class="MsoNormal"><font color="#00a099"><p> </p></font></p><p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:IT"><p> </p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 10pt;"><font color="#00a099">Join our communities and get updated<p></p></font></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 10pt;"><font color="#00a099"><p> </p></font></span></p><p class="MsoNormal"><a href="https://www.linkedin.com/company/intellisync"><span style="font-size:10.0pt;color:blue;mso-fareast-language:IT;text-decoration:none"><img border="0" width="23" height="23" id="Picture_x0020_2" src="cid:image002.png@01D5EBE6.7D747FD0" alt="linkedin_email" ></span></a><span lang="EN-US" style="mso-fareast-language:IT"><p></p></span></p><p class="MsoNormal"><font color="#194274"><p> </p></font></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 8pt;"><font color="#00a099">This email and any files transmitted with it are confidential and may be privileged and are intended solely for the use of the individual or entity to whom they are addressed. <br>If you are not an addressee, any unauthorized direct or indirect dissemination, distribution, publication or copying of this message and any attachments is strictly prohibited. <br>If you have received this email in error please notify the sender immediately, and delete this email from your system</font></span><font color="#00a099"><p></p></font></p><p class="MsoNormal"><p> </p></p></div> <div><font face="Courier New,Courier,monospace" size="2">_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br><br><br><br></font></div></giovanni.daquino@intellisync.it></div></div><div><br><hr>Disclaimer:<br><br>The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it.<br>It may contain confidential or legally privileged information.<br>If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful.<br>If you have received this communication in error, please notify us immediately by forwarding this email to ict@ibacz.eu and then delete it from your system.<br>IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.<br> </div></font>