use exposed events property in the HTTP api as well