adding filters to GET requests in api