Class GlossaryResource

java.lang.Object
io.goobi.viewer.api.rest.v1.localization.GlossaryResource

@Path("/localization") public class GlossaryResource extends Object

GlossaryResource class.

Author:
Florian Alpers
  • Constructor Details

    • GlossaryResource

      public GlossaryResource()
  • Method Details

    • listVocabularies

      @GET @Path("/vocabularies") @Produces("application/json") public List<Glossary> listVocabularies() throws IOException

      listVocabularies.

      Returns:
      a List object.
      Throws:
      IOException - if any.
    • getVocabulary

      @GET @Path("/vocabularies/{filename}") @Produces("application/json") public String getVocabulary(@PathParam("filename") String filename) throws IOException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException

      getVocabulary.

      Parameters:
      filename - a String object.
      Returns:
      a String object.
      Throws:
      IOException - if any.
      de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException - if any.