'Return a list of resource filters.'

@wsgi.Controller.api_version(FILTER_API_VERSION)
def index(self, req):

    resource = req.params.get('resource', None)
    filters = common.get_enabled_resource_filters(resource=resource)
    return filter_views.ViewBuilder.list(filters)
