Class StatsWebService
java.lang.Object
ubic.gemma.rest.StatsWebService
Public statistics endpoints used by the Gemma home page and similar landing widgets.
The snapshot is precomputed daily by
ubic.gemma.core.analysis.report.HomeStatsRefresher so individual requests do
not pay the aggregation cost.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
StatsWebService
public StatsWebService()
-
-
Method Details
-
getHomeStats
@GET @Path("/home") @Produces("application/json") public ResponseDataObject<HomeStats> getHomeStats() -
refreshHomeStats
@POST @Path("/home/refresh") @PreAuthorize("hasAuthority('GROUP_ADMIN')") @Produces("application/json") public ResponseDataObject<HomeStats> refreshHomeStats()
-