event rest api added