Class CollectionsResource
java.lang.Object
io.goobi.viewer.api.rest.v1.collections.CollectionsResource
REST resource for browsing collection hierarchies and retrieving collection metadata.
- Author:
- Florian Alpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentAssist(String input) de.intranda.api.iiif.presentation.v2.Collection2getAllCollections(String grouping, String ignoreString) de.intranda.api.iiif.presentation.v2.Collection2getCollection(String inCollectionName, String grouping, String ignoreString)
-
Constructor Details
-
CollectionsResource
public CollectionsResource(@PathParam("field") String solrField, @Context HttpServletRequest request)
-
-
Method Details
-
getAllCollections
@GET @Produces("application/json") public de.intranda.api.iiif.presentation.v2.Collection2 getAllCollections(@QueryParam("grouping") String grouping, @QueryParam("ignore") String ignoreString) throws PresentationException, IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException, URISyntaxException, ViewerConfigurationException - Throws:
PresentationExceptionIndexUnreachableExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentLibExceptionURISyntaxExceptionViewerConfigurationException
-
getCollection
@GET @Path("/{collection}") @Produces("application/json") public de.intranda.api.iiif.presentation.v2.Collection2 getCollection(@PathParam("collection") String inCollectionName, @QueryParam("grouping") String grouping, @QueryParam("ignore") String ignoreString) throws PresentationException, IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException, URISyntaxException, ViewerConfigurationException - Throws:
PresentationExceptionIndexUnreachableExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentLibExceptionURISyntaxExceptionViewerConfigurationException
-
contentAssist
@GET @Path("/contentassist") @Produces("application/json") public List<String> contentAssist(@QueryParam("query") String input) throws IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException - Throws:
IndexUnreachableExceptionde.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException
-