API. Filter relations

And no, your qs lib suggestion did not generate for me a working syntax