乐鑫云 触发器功能 URL能否带参数

binary
Posts: 13
Joined: Tue Jun 14, 2016 2:58 pm

乐鑫云 触发器功能 URL能否带参数

Postby binary » Fri Jun 24, 2016 2:53 pm

你好,乐鑫
请问乐鑫云 触发器功能 URL能否带参数,例如设备id和数据模型之类。
api文档并无此说明,望告知或提供相关文档!

谢谢!急!!! :x

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

【Feedback】乐鑫云 触发器功能 URL能否带参数

Postby ESP_Rubin » Thu Jun 30, 2016 11:48 am

正在做,预计下周完成

binary
Posts: 13
Joined: Tue Jun 14, 2016 2:58 pm

Re: 乐鑫云 触发器功能 URL能否带参数

Postby binary » Fri Nov 11, 2016 11:34 am

Hi,Rubin
你们功能更新了?没看到说明文档的?
望告知!

wuyunzhou
Posts: 12
Joined: Fri Apr 10, 2015 3:46 pm

Re: 乐鑫云 触发器功能 URL能否带参数

Postby wuyunzhou » Fri Feb 17, 2017 6:19 pm

trigger url like this:

{
"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
}

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest