I am writing a REST api using ruby ββon rails. I use json api as a guide for the standards used in creating api.
I am trying to find a better way to use filtering in GET requests. The json api recommendations for filtering include only what exactly matches. eg.
GET /comments?filter[post]=1
How can I filter more than non-equal, for example, contains, etc.?
I have searched a lot for Google results, but there seems to be no standard for the best way to filter. There are several suggestions, like this one .
I am looking for a solid specification or standard that I can refer specifically to filtering for my api, since the json api specification is very limited when it comes to filtering.
source
share