You are going in the proper direction so far. Keep your URL route params to refer to resources and just use query params to filter results. You can follow the guidelines outputted here:
vinaysahni.com/best-practices-for-a-pragmatic-res…
Comment by Marco Romero on "Structuring API backend for mobile app (Ionic)" | Hashnode