Class CollectionsResource
java.lang.Object
io.goobi.viewer.api.rest.v1.collections.CollectionsResource
- Author:
- florian
-
Constructor Summary
ConstructorDescriptionCollectionsResource
(String solrField, javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptioncontentAssist
(String input) de.intranda.api.iiif.presentation.v2.Collection2
getAllCollections
(String grouping, String ignoreString) de.intranda.api.iiif.presentation.v2.Collection2
getCollection
(String inCollectionName, String grouping, String ignoreString)
-
Constructor Details
-
CollectionsResource
public CollectionsResource(@PathParam("field") String solrField, @Context javax.servlet.http.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:
PresentationException
IndexUnreachableException
de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
URISyntaxException
ViewerConfigurationException
-
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:
PresentationException
IndexUnreachableException
de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
URISyntaxException
ViewerConfigurationException
-
contentAssist
@GET @Path("/contentassist") @Produces("application/json") public List<String> contentAssist(@QueryParam("query") String input) throws IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException - Throws:
IndexUnreachableException
de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException
-