expose favorites toggling and filtering in the API