API. Filter relations

Hello,
check your rights on userOnline, and otherwise you can use qs library to help you write the syntax easily in js