5f38bfe0 by acetousk

Create api

1 parent 57039d4b
...@@ -16,6 +16,11 @@ along with this software (see the LICENSE.md file). If not, see ...@@ -16,6 +16,11 @@ along with this software (see the LICENSE.md file). If not, see
16 <!-- General Guideline Verbs: GET=find, POST=create, PUT=store (create or update), PATCH=update, DELETE=delete --> 16 <!-- General Guideline Verbs: GET=find, POST=create, PUT=store (create or update), PATCH=update, DELETE=delete -->
17 17
18 <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/rest-api-3.xsd" 18 <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/rest-api-3.xsd"
19 name="moqui-mjml" displayName="Mjml REST API" version="2.0.0"> 19 name="moqui-mjml" displayName="Mjml REST API" version="0.0.0">
20
21 <resource name="mjml">
22 <method type="get"><service name="moqui.mjml.MjmlServices.get#GrapeJs"/></method>
23 <method type="post"><service name="moqui.mjml.MjmlServices.store#GrapeJs"/></method>
24 </resource>
20 25
21 </resource> 26 </resource>
......