Class AnalyticsChartRest

java.lang.Object
io.meeds.analytics.rest.AnalyticsChartRest

@RestController @RequestMapping("chart") public class AnalyticsChartRest extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<io.meeds.analytics.model.chart.ChartAggregationResult>
    getChart(List<String> operations, String fieldName, List<String> fieldValues, String xAggregationField, io.meeds.analytics.model.filter.aggregation.AnalyticsAggregationType xAggregationType, String xAggregationSortDirection, String yAggregationField, io.meeds.analytics.model.filter.aggregation.AnalyticsAggregationType yAggregationType, String yAggregationSortDirection, int limit, boolean collaborativeOnly, boolean requireAllShards)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AnalyticsChartRest

      public AnalyticsChartRest()
  • Method Details

    • getChart

      @GetMapping @Secured("analytics") public List<io.meeds.analytics.model.chart.ChartAggregationResult> getChart(@RequestParam(name="operation",required=false) List<String> operations, @RequestParam(name="fieldName",required=false) String fieldName, @RequestParam(name="fieldValue",required=false) List<String> fieldValues, @RequestParam("xAggregationField") String xAggregationField, @RequestParam("xAggregationType") io.meeds.analytics.model.filter.aggregation.AnalyticsAggregationType xAggregationType, @RequestParam(name="xAggregationSortDirection",required=false) String xAggregationSortDirection, @RequestParam("yAggregationField") String yAggregationField, @RequestParam("yAggregationType") io.meeds.analytics.model.filter.aggregation.AnalyticsAggregationType yAggregationType, @RequestParam(name="yAggregationSortDirection",required=false) String yAggregationSortDirection, @RequestParam("limit") int limit, @RequestParam(name="collaborativeOnly",required=false,defaultValue="false") boolean collaborativeOnly, @RequestParam(name="requireAllShards",required=false,defaultValue="false") boolean requireAllShards)