skeleton for event rest api