12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <!--
- This file is part of centurio.work/wiz.
- centurio.work/wiz is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the Free
- Software Foundation, either version 3 of the License, or (at your option) any
- later version.
- centurio.work/wiz is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- more details.
- You should have received a copy of the GNU General Public License along with
- centurio.work/wiz (file LICENSE in the main directory). If not, see
- <http://www.gnu.org/licenses/>.
- -->
- <description xmlns="http://riddl.org/ns/description/1.0" xmlns:ann="http://riddl.org/ns/annotation/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
- <message name="input">
- <parameter name="style_url" type="string"/>
- <parameter name="document_url" type="string"/>
- <parameter name="x_amount" type="string"/>
- <parameter name="y_amount" type="string"/>
- <parameter name="lang" type="string"/>
- </message>
- <message name="frame">
- <parameter name="lx" type="string"/>
- <parameter name="ly" type="string"/>
- <parameter name="rx" type="string"/>
- <parameter name="ry" type="string"/>
- <parameter name="url" type="string"/>
- </message>
- <message name="ui">
- <parameter name="ui" mimetype="text/html"/>
- </message>
- <message name="callback">
- <header name="CPEE-CALLBACK" type="boolean"/>
- </message>
- <message name="url">
- <parameter name="url" mimetype="text/plain"/>
- </message>
- <message name="langs">
- <parameter name="langs" mimetype="*/xml">
- <xi:include href="rngs/langs.rng"/>
- </parameter>
- </message>
- <message name="lang">
- <parameter name="lang" type="string"/>
- </message>
- <message name="opa">
- <parameter name="op" fixed="error"/>
- <parameter name="reason" type="string"/>
- </message>
- <message name="opb">
- <parameter name="op" fixed="result"/>
- <parameter name="value" mimetype="application/json"/>
- </message>
- <message name="json">
- <parameter name="value" mimetype="application/json"/>
- </message>
- <resource>
- <resource>
- <get out="ui"/>
- <put in='input' out="callback"/>
- <post in='frame'/>
- <delete in='opa'/>
- <delete in='opb'/>
- <resource relative='sse'>
- <sse/>
- </resource>
- <resource relative="languages">
- <get out="langs"/>
- <post in='lang'/>
- </resource>
- <resource relative="style.url">
- <get out="url"/>
- </resource>
- <resource relative="documents">
- <resource relative="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*">
- <get out="url"/>
- </resource>
- </resource>
- <resource relative="info.json">
- <get out="json"/>
- </resource>
- <resource relative="frames.json">
- <get out="json"/>
- </resource>
- </resource>
- </resource>
- </description>
|