Class RecordResource

java.lang.Object
io.goobi.viewer.api.rest.v2.records.RecordResource

@Path("/records/{pi}") public class RecordResource extends Object
Author:
florian
  • Constructor Details

    • RecordResource

      public RecordResource(@Context javax.servlet.http.HttpServletRequest request, @PathParam("pi") String pi)
  • Method Details

    • getManifest

      @GET @Path("/manifest") @Produces("application/json") public de.intranda.api.iiif.presentation.IPresentationModelElement getManifest() throws PresentationException, IndexUnreachableException, URISyntaxException, ViewerConfigurationException, DAOException, de.unigoettingen.sub.commons.util.datasource.media.PageSource.IllegalPathSyntaxException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
      Throws:
      PresentationException
      IndexUnreachableException
      URISyntaxException
      ViewerConfigurationException
      DAOException
      de.unigoettingen.sub.commons.util.datasource.media.PageSource.IllegalPathSyntaxException
      de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
    • getAnnotationsForRecord

      @GET @Path("/annotations") @Produces("application/json") public de.intranda.api.annotation.IAnnotationCollection getAnnotationsForRecord() throws DAOException, de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException
      Throws:
      DAOException
      de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException
    • getCommentsForRecord

      @GET @Path("/comments") @Produces("application/json") public de.intranda.api.annotation.IAnnotationCollection getCommentsForRecord() throws DAOException
      Throws:
      DAOException
    • getAnnotationsPageForRecord

      @GET @Path("/annotations/1") @Produces("application/json") public de.intranda.api.annotation.wa.collection.AnnotationPage getAnnotationsPageForRecord() throws DAOException, de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException
      Throws:
      DAOException
      de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException
    • getCommentsForRecordPage

      @GET @Path("/comments/1") @Produces("application/json") public de.intranda.api.annotation.IAnnotationCollection getCommentsForRecordPage() throws DAOException
      Throws:
      DAOException