add queryset filter on gateway rest api