Changeset 44:5e9d90461929 in AnnotationManagerN4J


Ignore:
Timestamp:
Sep 26, 2012, 3:01:59 PM (12 years ago)
Author:
dwinter
Branch:
default
Children:
45:707902d468f6, 46:c6cab006f799
Message:

rest interface for resources

Location:
src/main
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorRestlet.java

    r28 r44  
    4444        router.attach("/tags", AnnotatorTags.class);
    4545        router.attach("/tags/{id}", AnnotatorTags.class);
    46         router.attach("/tags/{id}", AnnotatorTags.class);
    4746        router.attach("/tags/{id}/annotations", AnnotatorAnnotationsByTags.class);
     47        router.attach("/resources", AnnotatorResources.class);
     48        router.attach("/resources/{id}", AnnotatorResources.class);
     49        router.attach("/resources/{id}/annotations", AnnotatorAnnotationsByResources.class);
    4850        router.attach("/", AnnotatorInfo.class);
    4951        // authenticator.setNext(router);
Note: See TracChangeset for help on using the changeset viewer.