Adding support for filters to API?

Hello there.

For me, the ability to configure filters on projects through the API would be very useful. Would a pull request for such a feature be accepted? Any pointers on how to implement it?

Thanks