source: DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/webapp/index.jsp @ 5014

Last change on this file since 5014 was 5014, checked in by olhsha@mpi.nl, 10 years ago

creating user records via froms, shibb and non-shibb

File size: 4.3 KB
Line 
1<%--
2
3    Copyright (C) 2013 DASISH
4
5    This program is free software; you can redistribute it and/or
6    modify it under the terms of the GNU General Public License
7    as published by the Free Software Foundation; either version 2
8    of the License, or (at your option) any later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19--%>
20<html>
21    <body>
22        <h2>DASISH REST API</h2>
23        <p><a href="api/myresource">Jersey resource</a>
24        <p><a href="https://trac.clarin.eu/wiki/DASISH/SpecificationDocument#RESTAPI">https://trac.clarin.eu/wiki/DASISH/SpecificationDocument#RESTAPI</a></p>
25     
26        <br> 
27        <a href="registerNonShibbolethPrincipal.html"> Register a non-shibboleth user</a> <br> 
28        <br> 
29        <a href="registerShibbolethPrincipal.html"> Register a shibboleth user</a> <br> 
30        <br>
31        <a href="registerShibbolethAlsoAsNonShibboleth.html"> Register an existing  shibboleth user as a non-shibboleth as well.</a> <br> 
32        <br>
33        <br>
34        <a href="api/authentication/login"> login  </a> <br> 
35         <br> 
36        <a href="api/authentication/logout"> logout</a> <br> 
37        <br> 
38       
39        <b>Test URI-s</b><br>
40        <br> 
41        <b>All output xml-s are valid w.r.t. the schema</b><br>
42        GET <a href="api/authentication/principal">api/authentication/principal</a> <br> 
43        GET <a href="api/principals/admin">api/principals/admin</a><br> 
44        GET <a href="api/principals/00000000-0000-0000-0000-0000000000112">api/principals/00000000-0000-0000-0000-0000000000112</a> <br> 
45        GET <a href="api/principals/00000000-0000-0000-0000-0000000000112/current">api/principals/00000000-0000-0000-0000-0000000000112/current</a>  !Problem: how to ask the servlet if the given user is logged in, may be by some other running somewhere client<br> 
46        GET <a href="api/principals/info?email=Twan.Goosen@mpi.nl">api/principals/info?email=Twan.Goosen@mpi.nl</a>  <br>
47        GET <a href="api/annotations?link=Sagrada">api/annotations?link=Sagrada</a>  <br>
48        GET <a href="api/annotations?link=Gaud">api/annotations?link=Gaud</a>  <br>
49        GET <a href="api/annotations?after=2014-02-04 15:57:58.046908&before=2014-04-06 10:08:16.213186">api/annotations?after=2014-02-04 15:57:58.046908&before=2014-04-06 10:08:16.213186</a> 
50        !Comment: What is "namespace" query parameter? Must be implemented and tested <br>
51        GET <a href="api/annotations/00000000-0000-0000-0000-000000000022">api/annotations/00000000-0000-0000-0000-000000000022</a>  </br>
52        GET <a href="api/annotations/00000000-0000-0000-0000-000000000022/targets">api/annotations/00000000-0000-0000-0000-000000000022/targets</a>  </br>
53        GET <a href="api/annotations/00000000-0000-0000-0000-000000000022/permissions">api/annotations/00000000-0000-0000-0000-000000000022/permissions</a><br>
54        GET <a href="api/targets/00000000-0000-0000-0000-000000000032">api/targets/00000000-0000-0000-0000-000000000032</a>  <br>
55        GET <a href="api/targets/00000000-0000-0000-0000-000000000032/versions">api/targets/00000000-0000-0000-0000-000000000032/versions</a>   <br>
56        GET <a href="api/cached/00000000-0000-0000-0000-000000000051/metadata">api/cached/00000000-0000-0000-0000-000000000051/metadata</a><br>
57        GET <a href="api/cached/00000000-0000-0000-0000-000000000051/content">api/cached/00000000-0000-0000-0000-000000000051/content</a><br> 
58        GET <a href="api/cached/00000000-0000-0000-0000-000000000511/stream">api/cached/00000000-0000-0000-0000-000000000511/stream</a> 
59       
60        <br> 
61        <br>
62        <b>Debugging URI's (only for developers)</b><br>
63        GET <a href="api/debug/remoteID">api/debug/remoteID</a> <br>
64        GET <a href="api/debug/annotations">api/debug/annotations</a> <br>
65        updated: GET <a href="api/debug/logDatabase/32">api/debug/logDatabase/32</a> <br>
66        updated: GET <a href="api/debug/logServer/32">api/debug/logServer/32</a> <br>
67    </body>
68</html>
Note: See TracBrowser for help on using the repository browser.