onFact legacy API

Please visit the new api documentation.