[WIP]Implement streaming endpoint