the trigger will post as fellow:
{
"device": {
"id": 770197835,
"created": "2016-12-19T23:42:42+08:00",
"updated": "2017-02-17T00:30:19+08:00",
"visibly": true,
"ptype": 45772,
"product_id": 1580185304,
"productbatch_id": 0,
"name": "548c6",
"description": "f117e",
"serial": "2e5ff350",
"bssid": "b083feb39ad5",
"is_private": true,
"is_frozen": false,
"status": "developing",
"metadata": "a85dd",
"key_id": 1870208457,
"location": "",
"last_push": "0001-01-01T08:00:00+08:00",
"last_pull": "0001-01-01T08:00:00+08:00",
"last_active": "2017-02-16T16:30:19+08:00",
"last_activated_at": "2016-12-22T13:44:08+08:00",
"activate_status": "activated",
"activated_at": "1970-01-01T08:00:00+08:00",
"rom_version": "",
"latest_rom_version": ""
},
"trigger": {
"id": 639454757,
"created": "2017-02-18T01:31:53+08:00",
"updated": "2017-02-18T01:36:14+08:00",
"visibly": true,
"name": "ffff",
"trigger_type": "deviceDatastream",
"product_id": 0,
"device_id": 770197835,
"datastream_tmpl_id": 1184225554,
"dimension_index": "x",
"interval": 0,
"interval_func": "max",
"compare_type": "gt",
"threshold_value": 1,
"notified_at": "0001-01-01T08:00:00+08:00",
"message_user": "none",
"url": "http://cloudzhou.org:10001/trigger/webhook1",
"notify_id": 0,
"activate_status": true,
"interval_ts": "0001-01-01T08:00:00+08:00",
"interval_value": 0,
"interval_cnt": 0
},
"value": 2
}Statistics: Posted by wuyunzhou — Fri Feb 17, 2017 6:20 pm
]]>