Skip to content

Date filters

Filters by comparing a field to a range of date values.

Property Type Description
operator RangeOperators The operator to apply to the filter value
value range object The value to use for the filter operation
Property Type Description
min isoDate or utcDateTime The minimum date value for this range
max isoDate or utcDateTime The maximum date value for this range

A JSON example of this model.

{
"operator": "between",
"value": {
"min": "2021-01-01",
"max": "2021-01-02"
}
}
VersionChangesSchema
0.1.0
  • Added DateRangeFilter model
DateRangeFilter.yaml

Filters by comparing a field to a date value.

Property Type Description
operator ComparisonOperators The operator to apply to the filter value
value isoDate or utcDateTime The value to use for the filter operation

A JSON example of this model.

{
"operator": "gt",
"value": "2021-01-01"
}
VersionChangesSchema
0.1.0
  • Added DateComparisonFilter model
DateComparisonFilter.yaml