123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <!--
- This file is part of centurio.work/ing/commands.
- centurio.work/ing/commands 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/ing/commands 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/ing/commands (file COPYING 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="stations"><!--{{{-->
- <parameter name="stations" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
- <xi:include href="rngs/stations.rng"/>
- </parameter>
- </message> <!--}}}-->
- <message name="num"> <!--{{{-->
- <parameter name="num" type="nonNegativeInteger"/>
- </message> <!--}}}-->
- <message name="station"> <!--{{{-->
- <parameter name="station" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
- <xi:include href="rngs/t_station.rng"/>
- </parameter>
- </message> <!--}}}-->
- <message name="pattern"> <!--{{{-->
- <parameter name="pattern" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
- <xi:include href="rngs/t_pattern.rng"/>
- </parameter>
- </message> <!--}}}-->
- <message name="images"> <!--{{{-->
- <parameter name="images" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
- <xi:include href="rngs/t_images.rng"/>
- </parameter>
- </message> <!--}}}-->
- <message name="image"> <!--{{{-->
- <parameter name="image" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
- <xi:include href="rngs/t_image.rng"/>
- </parameter>
- </message> <!--}}}-->
- <message name="error"> <!--{{{-->
- <parameter name="error" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
- <xi:include href="rngs/t_error.rng"/>
- </parameter>
- </message> <!--}}}-->
- <message name="imageUpload"> <!--{{{-->
- <parameter name="imageUpload" mimetype="image/svg+xml"/>
- </message> <!--}}}-->
- <message name="amount"> <!--{{{-->
- <parameter name="amount" type="nonNegativeInteger"/>
- </message> <!--}}}-->
- <message name="theRealImage"> <!--}}}-->
- <parameter name="theRealImage" mimetype="image/svg+xml"/>
- </message><!--}}}-->
- <message name="imageid"> <!--{{{-->
- <parameter name="imageid" type="nonNegativeInteger"/>
- </message> <!--}}}-->
- <message name="orderlist"> <!--{{{-->
- <parameter name="orderlist" mimetype="application/json"/>
- </message> <!--}}}-->
- <message name="label"><!--}}}-->
- <parameter name="label" type="string"/>
- </message><!--}}}-->
- <message name="list"><!--}}}-->
- <parameter name="list" mimetype="application/json"/>
- </message><!--}}}-->
-
-
- <resource>
- <resource relative="folders">
- <get out="list"/>
- <post />
- <delete/>
- <resource relative=".*">
- <get out="list"/>
- <post />
- <delete/>
- </resource>
- </resource>
-
- <resource relative="allfolders">
- <get out="list"/>
- <resource relative=".*">
- <get out="list"/>
- </resource>
- </resource>
-
-
- <resource relative="images">
- <get out="list"/>
- <resource relative=".*">
- <get out="list"/>
- </resource>
- </resource>
-
- <resource relative="data">
- <post />
- <post in="imageUpload"/>
- <delete/>
- <resource relative=".*">
- <post />
- <post in="imageUpload"/>
- <delete/>
- </resource>
- </resource>
-
- <resource relative="externalFolder">
- <post />
- <get out="list"/>
- </resource>
-
- </resource>
- </description>
|