Added /api/events