Filtering API results

So I think in the controller a actions you can access both body params and query params using the conn value.
Take a look at some of the answers here