[opencms-dev] Add REST API to OpenCMS
Antoine Pineau
a.pineau at eurelis.com
Tue Feb 25 14:52:31 CET 2020
Hello Giovanni,
You can easily do it by creating some JSPs in your OpenCms module that
implement your interface contracts.
Using org.json library, you are able to retrieve input parameters, perform
the required actions and return a well-formed JSON document in output.
[image: image.png]
Kind regards
On Tue, Feb 25, 2020 at 2:21 PM <giovanni.daquino at intellisync.it> wrote:
> Hello everyone,
>
>
>
> 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?
>
>
>
> Thank you,
>
>
>
>
>
> Giovanni Andrea D’Aquino
>
> *Software Engineer*
>
>
>
> [image: Descrizione: picturemessage_2w1anxdt.xg3 (1)]
>
>
>
> INTELLISYNC Srl
> Via Sclafani, 40/B
>
> Free Mind Foundry Innovation Hub
> 95024 Acireale (CT) Italy
>
> Tel/Fax: (+39) 3475744346
>
>
>
>
>
> Join our communities and get updated
>
>
>
> [image: linkedin_email] <https://www.linkedin.com/company/intellisync>
>
>
>
> 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.
> 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.
> If you have received this email in error please notify the sender
> immediately, and delete this email from your system
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
--
Antoine Pineau
CTO
Eurelis
+33(0)1 4997 2022 <+33149972022>
a.pineau at eurelis.com
https://www.eurelis.com
24 rue Kervégan, 44000 Nantes
<https://www.google.com/maps/place/24+Rue+Kerv%C3%A9gan,+44000+Nantes/@47.2127119,-1.5584183,17z/data=!3m1!4b1!4m5!3m4!1s0x4805eea897ad3fbb:0xadb32e71e983a75c!8m2!3d47.2127083!4d-1.5562296>
14 rue du Sergent Bobillot, 92400 Courbevoie
<https://www.google.com/maps/place/Eurelis/@48.8954005,2.2435295,17z/data=!3m1!4b1!4m5!3m4!1s0x47e665063aed13ff:0xe8f9697a486f03c7!8m2!3d48.895397!4d2.2457182>
[image: facebook] <https://www.facebook.com/Agence.Eurelis>
[image: twitter] <https://twitter.com/Agence_Eurelis>
[image: linkedin] <https://www.linkedin.com/company/eurelis>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200225/8ec4eff2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3571 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200225/8ec4eff2/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 975 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200225/8ec4eff2/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 135539 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200225/8ec4eff2/attachment-0002.png>
More information about the opencms-dev
mailing list