Ignore:
Timestamp:
01/23/11 22:00:09 (13 years ago)
Author:
vronk
Message:

updated docs, added new docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/docs/MDService2.wadl.html

    r885 r1085  
    9898               <li><a href="#http://cmdi.clarin.eu/mdservice#workspaceprofilesave">http://cmdi.clarin.eu/mdservice/workspaceprofilesave</a></li>
    9999            </ul>
     100            <ul>
     101               <li><a href="#http://cmdi.clarin.eu/mdservice/admin#cache">http://cmdi.clarin.eu/mdservice/admin/cache/{format}</a><ul>
     102                     <li><a href="#http://cmdi.clarin.eu/mdservice/admin#cache-del">http://cmdi.clarin.eu/mdservice/admin/cache/{format}/del</a></li>
     103                  </ul>
     104               </li>
     105            </ul>
    100106         </li>
    101107         <li><a href="#representations">Representations</a><ul>
     
    108114               <li><a href="#d2e287">application/json (<abbr title="{http://cmdi.clarin.eu/mdservice/} WorkspaceProfile">mds:WorkspaceProfile</abbr>)</a></li>
    109115               <li><a href="#d2e308">application/json (<abbr title="{http://cmdi.clarin.eu/mdservice/} WorkspaceProfile">mds:WorkspaceProfile</abbr>)</a></li>
     116               <li><a href="#d2e335">text/html<abbr title="{http://research.sun.com/wadl/2006/10} "></abbr></a></li>
     117               <li><a href="#d2e358">text/html<abbr title="{http://research.sun.com/wadl/2006/10} "></abbr></a></li>
    110118            </ul>
    111119         </li>
     
    145153            <td>
    146154               <p>allows to dynamically select one of the available repositories for the queries.<br xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cat="http://www.isocat.org/" xmlns:dcif="http://www.isocat.org/ns/dcif" xmlns:mds="http://cmdi.clarin.eu/mdservice/" xmlns:sru="http://www.loc.gov/standards/sru/specs/" xmlns="http://research.sun.com/wadl/2006/10" xmlns:ns="urn:namespace"></br>
    147                                                                                 Probably this should be rather a semantic identifier
     155                                                                                Probably this should be rather a semantic identifier (a string-key instead of int)
    148156                                                                       
    149157               </p>
     
    663671         </div>
    664672      </div>
     673      <div class="resource">
     674         <h4 id="http://cmdi.clarin.eu/mdservice/admin#cache">Cache</h4>
     675         <h3>/cache/{format}</h3>
     676         <p>
     677                                                        Allows to view the cache-index
     678                                               
     679         </p>
     680         <h6>Methods</h6>
     681         <div class="methods">
     682            <div class="method">
     683               <h4 id="d2e321">GET</h4>
     684               <h6>request template,query parameters</h6>
     685               <table>
     686                  <tr>
     687                     <th>parameter</th>
     688                     <th>value</th>
     689                     <th>description</th>
     690                  </tr>
     691                  <tr>
     692                     <td>
     693                        <p><strong>format</strong></p>
     694                     </td>
     695                     <td>
     696                        <p><em><a href="http://www.w3.org/TR/xmlschema-2/#string">string</a></em></p>
     697                        <p><em>One of:</em></p>
     698                        <ul>
     699                           <li><tt>xml</tt></li>
     700                           <li><tt>htmlpage</tt></li>
     701                        </ul>
     702                     </td>
     703                     <td></td>
     704                  </tr>
     705               </table>
     706               <p><em>available response representations:</em></p>
     707               <ul>
     708                  <li><a href="#d2e335">text/html<abbr title="{http://research.sun.com/wadl/2006/10} "></abbr></a></li>
     709               </ul>
     710            </div>
     711         </div>
     712      </div>
     713      <div class="resource">
     714         <h4 id="http://cmdi.clarin.eu/mdservice/admin#cache-del">Cache</h4>
     715         <h3>/cache/{format}/del?actionkey&amp;repository&amp;date</h3>
     716         <p>
     717                                                                Allows to delete/flush (parts of) cache; parameters constraint the part of cache to be deleted;
     718                                                                no param means: delete everything
     719                                                       
     720         </p>
     721         <h6>Methods</h6>
     722         <div class="methods">
     723            <div class="method">
     724               <h4 id="d2e345">GET</h4>
     725               <h6>request template,query parameters</h6>
     726               <table>
     727                  <tr>
     728                     <th>parameter</th>
     729                     <th>value</th>
     730                     <th>description</th>
     731                  </tr>
     732                  <tr>
     733                     <td>
     734                        <p><strong>actionkey</strong></p>
     735                     </td>
     736                     <td>
     737                        <p><em><a href="http://www.w3.org/TR/xmlschema-2/#string">string</a></em></p>
     738                        <p>Default: <tt>public</tt></p>
     739                     </td>
     740                     <td></td>
     741                  </tr>
     742                  <tr>
     743                     <td>
     744                        <p><strong>repository</strong></p>
     745                     </td>
     746                     <td>
     747                        <p><em><a href="http://www.w3.org/TR/xmlschema-2/#int">int</a></em></p>
     748                        <p>Default: <tt>public</tt></p>
     749                     </td>
     750                     <td></td>
     751                  </tr>
     752                  <tr>
     753                     <td>
     754                        <p><strong>date</strong></p>
     755                     </td>
     756                     <td>
     757                        <p><em><a href="http://www.w3.org/TR/xmlschema-2/#date">date</a></em></p>
     758                        <p>Default: <tt>public</tt></p>
     759                     </td>
     760                     <td></td>
     761                  </tr>
     762               </table>
     763               <p><em>available response representations:</em></p>
     764               <ul>
     765                  <li><a href="#d2e358">text/html<abbr title="{http://research.sun.com/wadl/2006/10} "></abbr></a></li>
     766               </ul>
     767            </div>
     768         </div>
     769      </div>
    665770      <h2 id="representations">Representations</h2>
    666771      <h3 id="d2e62">text/html<abbr title="{http://research.sun.com/wadl/2006/10} "></abbr></h3>
     
    807912         <h6>XML Schema</h6>
    808913         <p><em>Source: <a href=""></a></em></p><pre></pre></div>
     914      <h3 id="d2e335">text/html<abbr title="{http://research.sun.com/wadl/2006/10} "></abbr></h3>
     915      <h3 id="d2e358">text/html<abbr title="{http://research.sun.com/wadl/2006/10} "></abbr></h3>
    809916   </body>
    810917</html>
Note: See TracChangeset for help on using the changeset viewer.