Class UsageStatisticsResource
java.lang.Object
io.goobi.viewer.api.rest.v1.statistics.usage.UsageStatisticsResource
Class for retrieving usage statistics for a day or a range of days.
- Author:
- florian
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DATE_FORMAT
- See Also:
-
-
Constructor Details
-
UsageStatisticsResource
public UsageStatisticsResource()
-
-
Method Details
-
getStatisticsForDay
@GET @Path("/{date}") @Produces({"application/json","text/plain","text/csv"}) public javax.ws.rs.core.Response getStatisticsForDay(@PathParam("date") String date, @QueryParam("recordFilterQuery") String recordFilterQuery, @QueryParam("format") String inFormat) throws DAOException, IndexUnreachableException, PresentationException -
getStatisticsListForDates
@GET @Path("/{startDate}/{endDate}") @Produces({"application/json","text/plain","text/csv"}) public javax.ws.rs.core.Response getStatisticsListForDates(@PathParam("startDate") String start, @PathParam("endDate") String end, @QueryParam("recordFilterQuery") String recordFilterQuery, @QueryParam("format") String inFormat, @QueryParam("step") Integer step, @QueryParam("stepUnit") String stepUnit) throws DAOException, IndexUnreachableException, PresentationException
-