mjml.rest.xml 1.22 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a 
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warranty.

You should have received a copy of the CC0 Public Domain Dedication
along with this software (see the LICENSE.md file). If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
-->

<!-- General Guideline Verbs: GET=find, POST=create, PUT=store (create or update), PATCH=update, DELETE=delete  -->

<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/rest-api-3.xsd"
        name="moqui-mjml" displayName="Mjml REST API" version="0.0.0">

    <resource name="mjml">
        <method type="get"><service name="mjml.MjmlServices.load#GrapeJs"/></method>
        <method type="post"><service name="mjml.MjmlServices.store#GrapeJs"/></method>
        <resource name="afterMjmlStore">
            <method type="get"><service name="mjml.MjmlServices.get#AfterMjmlStore"/></method>
        </resource>
    </resource>

</resource>