Class CollectionsResource
java.lang.Object
io.goobi.viewer.api.rest.v2.collections.CollectionsResource
- Author:
- florian
-
Constructor Summary
ConstructorDescriptionCollectionsResource
(String solrField, javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionde.intranda.api.iiif.presentation.v3.Collection3
de.intranda.api.iiif.presentation.v3.Collection3
getCollection
(String collectionName)
-
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.v3.Collection3 getAllCollections() throws IndexUnreachableException- Throws:
IndexUnreachableException
-
getCollection
@GET @Path("/{collection}") @Produces("application/json") public de.intranda.api.iiif.presentation.v3.Collection3 getCollection(@PathParam("collection") String collectionName) throws PresentationException, IndexUnreachableException
-