dashboard.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <!--
  2. This file is part of centurio.work/wiz.
  3. centurio.work/wiz is free software: you can redistribute it and/or modify it
  4. under the terms of the GNU General Public License as published by the Free
  5. Software Foundation, either version 3 of the License, or (at your option) any
  6. later version.
  7. centurio.work/wiz is distributed in the hope that it will be useful, but
  8. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. centurio.work/wiz (file LICENSE in the main directory). If not, see
  13. <http://www.gnu.org/licenses/>.
  14. -->
  15. <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">
  16. <message name="input">
  17. <parameter name="alldata" type="string"/>
  18. <optional>
  19. <parameter name="primarykey" type="string"/>
  20. <optional>
  21. <parameter name="primarykeyConstraint" type="string"/>
  22. </optional>
  23. </optional>
  24. </message>
  25. <message name="addColumn">
  26. <parameter name="colname" type="string"/>
  27. <parameter name="colvalue" type="string"/>
  28. </message>
  29. <message name="removeColumn">
  30. <parameter name="colname" type="string"/>
  31. </message>
  32. <message name="inputprio">
  33. <parameter name="inputprio" type="string"/>
  34. <optional>
  35. <parameter name="primarykey" type="string"/>
  36. </optional>
  37. </message>
  38. <message name="inputNprio">
  39. <parameter name="inputprio" type="string"/>
  40. <parameter name="anzahl" type="integer"/>
  41. <optional>
  42. <parameter name="primarykey" type="string"/>
  43. </optional>
  44. </message>
  45. <message name="deletePK">
  46. <parameter name="deletePK" type="string"/>
  47. </message>
  48. <message name="deleteMsg">
  49. <parameter name="value" mimetype="application/json"/>
  50. <optional>
  51. <parameter name="primarykey" type="string"/>
  52. </optional>
  53. </message>
  54. <message name="deleteAll">
  55. <parameter name="deleteAll" type="string"/>
  56. </message>
  57. <message name="storesortedtable">
  58. <parameter name="storesortedtable" mimetype="application/json"/>
  59. </message>
  60. <message name="ui">
  61. <parameter name="ui" mimetype="text/html"/>
  62. </message>
  63. <message name="url">
  64. <parameter name="url" mimetype="text/html"/>
  65. </message>
  66. <message name="htmlform">
  67. <parameter name="htmlform" mimetype="text/plain"/>
  68. </message>
  69. <message name="callback">
  70. <header name="CPEE-CALLBACK" type="boolean"/>
  71. </message>
  72. <message name="text">
  73. <parameter name="text" mimetype="text/plain"/>
  74. </message>
  75. <message name="lang">
  76. <parameter name="lang" type="string"/>
  77. </message>
  78. <message name="opa">
  79. <parameter name="op" fixed="error"/>
  80. <parameter name="reason" type="string"/>
  81. </message>
  82. <message name="opb">
  83. <parameter name="op" fixed="result"/>
  84. <parameter name="value" mimetype="application/json"/>
  85. </message>
  86. <message name="json">
  87. <parameter name="value" mimetype="application/json"/>
  88. </message>
  89. <message name="form">
  90. <parameter name="form" mimetype="application/json"/>
  91. </message>
  92. <message name="move">
  93. <parameter name="move" mimetype="application/json"/>
  94. </message>
  95. <message name="update">
  96. <parameter name="update" mimetype="application/json"/>
  97. </message>
  98. <message name="directADD">
  99. <parameter name="directADD" mimetype="application/json"/>
  100. </message>
  101. <message name="deleteByID">
  102. <parameter name="deleteByID" mimetype="application/json"/>
  103. </message>
  104. <resource>
  105. <get out="ui"/>
  106. <resource relative='getconfigs'>
  107. <get out="json"/>
  108. </resource>
  109. <resource>
  110. <get out="ui"/>
  111. <put in='input' />
  112. <put in='inputprio' />
  113. <put in='inputNprio' />
  114. <put in='move' />
  115. <put in='update' />
  116. <put in='storesortedtable' />
  117. <post in='directADD' />
  118. <delete in='deleteMsg' />
  119. <delete in='deleteByID' />
  120. <delete in='deletePK' />
  121. <delete in='deleteAll' />
  122. <delete />
  123. <resource relative="\d+">
  124. <get out="json"/>
  125. <delete />
  126. </resource>
  127. <resource relative='sse'>
  128. <sse/>
  129. </resource>
  130. <resource relative='data.db'>
  131. <get out="json"/>
  132. </resource>
  133. <resource relative='Column'>
  134. <post in="addColumn" out="json"/>
  135. <post in="removeColumn" out="json"/>
  136. </resource>
  137. <resource relative='htmlform'>
  138. <post out="ui"/>
  139. </resource>
  140. <resource relative='search'>
  141. <resource relative='PK'>
  142. <resource relative=".*">
  143. <get out="json"/>
  144. </resource>
  145. </resource>
  146. </resource>
  147. <resource relative='visus'>
  148. <get out="ui"/>
  149. </resource>
  150. <resource relative='next'>
  151. <get out="json"/>
  152. <delete out="json"/>
  153. </resource>
  154. </resource>
  155. </resource>
  156. </description>