Make /api/event/list work.