Any of those would be ok, and they all make sense conceptually.
Unfortunately, there isn’t yet a standard way to do this, but we’d love to have one eventually.
@dgeb@tkellen@steveklabnik Would you be up for creating a separate repo under the json-api organization where community members who are interested in trying to standardize ?filter (which is a lot of work but seems like a worthwhile project), could discuss and try to put together draft proposals?
@mudassir0909@ethanresnick can you share more information about selected solution? Maybe some article or examples for requests/respones ?
Thx in advance
Just want to +1 this. I feel having proper filtering is crucial for data exploration and-- eventually-- aggregations seems pretty crucial rather than having to do them out of spec.
Why is that exactly? There are 2 different elaborated strategies to be acceptably used on a RESTful API, and you don’t need to give up statelessness, cacheability, separation of concerns, and coherent uniform interface among other useful benefits.