[MODIFY] add restriction for use streaming api