apigovau / national-api-design-standards

Australian National API Design Standards
35 stars 15 forks source link

Filtering format #25

Open John-Bosch opened 4 years ago

John-Bosch commented 4 years ago

Consider using a symbol format more like, or consistent, with OData by using terms such as eq, le, lt, ge, gt, etc. for complex filtering.

By doing so the escape requiring '>' and '<' can be avoided, as can the query parameter key/value separating '='. This would make general parsing of the query string considerably easier and, if consistent with OData, would bring in to play the plethora of existing filter string parsing libraries.

TimGoodwill commented 4 years ago

PR #53