How do I integrate a custom filter inside a view
I found a solution for above. I can add a field in the filter criteria selecting the URI. And expose that filter to the user with a grouped filter. In the grouped filter I can define my own keys and parameters with an operator. That worked pretty well.