@QueryParam("to") String to,
@QueryParam("days") String days) {
Owner o = findOwner(ownerKey);
if (o == null) {
throw new NotFoundException(i18n.tr(
"owner with key: {0} was not found.", ownerKey));
}
return statisticCurator.getStatisticsByOwner(o, qType, reference, "",
ResourceDateParser.getFromDate(from, to, days),