The Open API specification for Synapse is now available for download!

Download Open API Spec

AggregationRange

org.sagebionetworks.repo.model.search.dsl.AggregationRange

A single bucket range for a range or date_range aggregation. At least one of from / to is required; the bucket covers [from, to).

Field Type Description
from OBJECT Optional. Inclusive lower bound. A number, or a date / date-math string on a date_range.
to OBJECT Optional. Exclusive upper bound. A number, or a date / date-math string on a date_range.
key STRING Optional. Caller-chosen label for this bucket in the result.