rest: added simple event rest api