Class RSSResource
java.lang.Object
io.goobi.viewer.api.rest.v1.records.RSSResource
- Author:
- florian
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRssFeed
(String subtheme, String language, Integer maxHits, String query, String facets, String sortField, Boolean sortDescending) getRssJsonFeed
(String subtheme, String language, Integer maxHits, String query, String facets, String sortField, Boolean sortDescending)
-
Constructor Details
-
RSSResource
public RSSResource()
-
-
Method Details
-
getRssFeed
@GET @Produces("text/xml") public String getRssFeed(@QueryParam("subtheme") String subtheme, @QueryParam("lang") String language, @QueryParam("max") Integer maxHits, @QueryParam("query") String query, @QueryParam("facets") String facets, @QueryParam("sortField") String sortField, @QueryParam("sortDescending") Boolean sortDescending) throws de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException - Throws:
de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
-
getRssJsonFeed
@GET @Path("/channel.json") @Produces("application/json") public Channel getRssJsonFeed(@QueryParam("subtheme") String subtheme, @QueryParam("lang") String language, @QueryParam("max") Integer maxHits, @QueryParam("query") String query, @QueryParam("facets") String facets, @QueryParam("sortField") String sortField, @QueryParam("sortDescending") Boolean sortDescending) throws de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException - Throws:
de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
-