extended api specification with event streaming