Add a endpoint for fetching the entries of a stream.