What is Mozilla sending to Ardino?

Hi,
I want to know what order Mozilla is sending to Arduino!!!
I want to control a on/off switch on Esp8266 , how can i send on/off commands to Esp8266 look like Mozilla?

Hope this tutorial would help:

The API spec lives here: https://iot.mozilla.org/wot/