Class OpenSearchResource

java.lang.Object
io.goobi.viewer.api.rest.v1.search.OpenSearchResource

@Path("/opensearch") public class OpenSearchResource extends Object

Endpoint for opensearch (https://opensearchfoundation.org/) within the viewer instance. The url is referenced in the header of the template.html in the viewer-theme. This resource returns the xml-document in /resources/opensearch/opensearch.xml

  • Constructor Details

    • OpenSearchResource

      public OpenSearchResource()
  • Method Details

    • getXml

      @GET @Produces("text/xml") public String getXml()

      getXml.

      Returns:
      a String object.