diff src/de/mpiwg/itgroup/annotationManager/restlet/RestServer.java @ 15:6c7c4140630d

on the way to updating annotations.
author casties
date Wed, 21 Mar 2012 18:12:45 +0100
parents 9393c9c9b916
children 0cd1e7608d25
line wrap: on
line diff
--- a/src/de/mpiwg/itgroup/annotationManager/restlet/RestServer.java	Wed Mar 21 16:38:50 2012 +0100
+++ b/src/de/mpiwg/itgroup/annotationManager/restlet/RestServer.java	Wed Mar 21 18:12:45 2012 +0100
@@ -187,12 +187,9 @@
         Router router = new Router(getContext());
 
         router.attach("/annotator/annotations", AnnotatorAnnotations.class);
-        router.attach("/annotator/search", AnnotatorSearch.class); // annotator api askes
-                                                         // for different uris
-                                                         // for search and
-                                                         // adding
-        // router.attach("/search",SearchAnnotations.class); // annotator api
-        // askes for different uris for search and adding
+        router.attach("/annotator/annotations/{id}", AnnotatorAnnotations.class);
+        router.attach("/annotator/search", AnnotatorSearch.class);
+        
         router.attach("/dummy", Dummy.class);
 
         // router.attach("",redirector);