[grunt] add ws API into the sample environment config