Class JsonLdDefinitionsResource

java.lang.Object
io.goobi.viewer.api.rest.v1.services.JsonLdDefinitionsResource

@Path("/context") public class JsonLdDefinitionsResource extends Object
Provides a context for the extent service used in the viewer IIIF Presentation collection responses.
Author:
Florian Alpers
  • Constructor Details

    • JsonLdDefinitionsResource

      public JsonLdDefinitionsResource()
  • Method Details

    • getCollectionExtentContext

      @GET @Path("collection/extent/context.json") @Produces("application/json") public de.intranda.api.services.CollectionExtentDefinition getCollectionExtentContext()
      Returns a service context for the size information service for viewer collections: Number of direct child-collections and of total contained works.
      Returns:
      a CollectionExtentDefinition object.
    • getTagListContext

      @GET @Path("taglists/context.json") @Produces("application/json") public de.intranda.api.services.TagListDefinition getTagListContext()