Dear API WG,
We've got ourselves into a bike shedding situation[1] w/r the WG filtering
suggestion[2]. What we find difficult is to express the ISO8601 time
intervals[3][4] in accordance to the filtering suggestion. We'd like to
have support for specifying multiple time intervals a node introspection
can belong to as a filter criterion.
Currently, we propose:
?finished_at=<ISOdate_a>/<ISOdate_b>&finished_at=<ISOdate_c>/<ISOdate_d>&...
denoting following Python condition:
(ISOdate_a <= finished_at < ISOdate_b) or (ISOdate_c <= finished_at <
ISOdate_d) or...
How does one best express this query in accordance to the WG filtering
suggestion?
Thanks,
milan
[1]
https://review.openstack.org/#/c/375045/7/specs/list-introspection-statuses.rst
[2]
https://github.com/openstack/api-wg/blob/master/guidelines/pagination_filter_sort.rst#filtering
[3] https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
[4] http://www.ukoln.ac.uk/metadata/dcmi/date-dccd-odrf
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev