open511 / Open511API

Code for open511.org
http://open511.org/
13 stars 1 forks source link

Possible modifiers for timestamps used as input parameters #44

Closed mcolynuck closed 11 years ago

mcolynuck commented 11 years ago

The documentation for events mentions that for the 'created' and 'updated' input parameters that the greater-than or less-than symbols would mainly be used. What I couldn't find was if it was allowed to provide greater-than-and-equal or less-than-and-equal modifiers here?

For example: created=>=2013-06-01T13:04Z created=<=2013-06-01T13:04Z

I recall seeing such options available elsewhere in the docs for other parameters (I think...).

michaelmulley commented 11 years ago

Yeah, that wasn't explicit. I can't think of any reason not to allow those operators for created/updated, so I've clarified the docs. Thanks!