On Thu, 2016-10-06 at 10:59 -0400, Jay Pipes wrote:
> > Currently, we propose:
> >
> > ?finished_at=<ISOdate_a>/<ISOdate_b>&finished_at=<ISOdate_c>/<ISOdate_d>&...
> 
> The issue I have with the is that it uses a / character to delimit the a 
> and b dates.
> 
> In keeping with the style of the API-WG filter operators, I would 
> propose something like this:
> 
> ?finished_at=between:ISO_DATE_A:ISO_DATE_B&finished_at=between:ISO_DATE_C:ISO_DATE_D

Problem with that is that ':' is a valid character within an ISO date,
though I do like the 'between' prefix.  Now, '/' can be used if it's URL
encoded, but I agree that that is non-ideal.  How about a syntax
something like:

        
?finished_at=between:ISO_DATE_A@ISO_DATE_B&finished_at=between:ISO_DATE_C@ISO_DATE_D
-- 
Kevin L. Mitchell <[email protected]>

Attachment: signature.asc
Description: This is a digitally signed message part

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to