finished events rest api