Added api for recent events.