Add event endpoints

Signed-off-by: David Celis <me@davidcel.is>