get all events first api