Class RecordSectionsResource
java.lang.Object
io.goobi.viewer.api.rest.v2.records.RecordSectionsResource
- Author:
- Florian Alpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.intranda.api.iiif.presentation.v3.Range3getRange()Returns the IIIF 3.0 range for a single structural section (logical division) of the record.
-
Constructor Details
-
RecordSectionsResource
public RecordSectionsResource(@Context HttpServletRequest request, @PathParam("pi") String pi, @PathParam("divId") String divId)
-
-
Method Details
-
getRange
@GET @Path("/range") @Produces("application/json") public de.intranda.api.iiif.presentation.v3.Range3 getRange() throws IndexUnreachableException, URISyntaxException, ViewerConfigurationException, DAOException, de.unigoettingen.sub.commons.util.datasource.media.PageSource.IllegalPathSyntaxException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibExceptionReturns the IIIF 3.0 range for a single structural section (logical division) of the record.The range is built from the same structure tree used for the record's manifest and represents the requested section; if the section itself has pages, it starts with a canvas for the section's first page. Access requires the section's basic list permission.
- Returns:
- the
Range3for the requested section - Throws:
de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException- if no section exists for the given div IDIndexUnreachableExceptionURISyntaxExceptionViewerConfigurationExceptionDAOExceptionde.unigoettingen.sub.commons.util.datasource.media.PageSource.IllegalPathSyntaxExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
-