end point to get event details