Difference between revisions of "Datonis:Edge Gateway Http Listener Adapter"
From Datonis
(Created page with "== HttpListener Protocol Connection == {| class="wikitable" |url_path |String |This is the relative path of the Gateway server where data requests can be posted e.g. /samplePa...") (Tag: Visual edit) |
m (Tag: Visual edit) |
||
Line 1: | Line 1: | ||
+ | [[Datonis:Edge Gateway|Edge Gateway Home]] > '''Http Listener Adapter''' | ||
+ | |||
== HttpListener Protocol Connection == | == HttpListener Protocol Connection == | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 17: | Line 19: | ||
|} | |} | ||
− | + | == Json data format that is posted to server == | |
{ | { | ||
"objects": [ | "objects": [ |
Latest revision as of 04:42, 2 July 2017
Edge Gateway Home > Http Listener Adapter
HttpListener Protocol Connection
url_path | String | This is the relative path of the Gateway server where data requests can be posted e.g. /samplePath. The full path to post data will be like https://127.0.0.1:8443/samplePath |
HttpListener Protocol Tag
tag_id | String | Unique tag id defined in the context of the current thing_config. This is used further in metric_mappings or derived_tags or monitor_tag_ids to refer to this tag value. |
field | String | This is field or property within the json data that is posted to the server. |
Json data format that is posted to server
{ "objects": [ { "field":"tag_temp", "val":35.0, "time":1493898765000 }, { "field":"tag_humidity", "val":12.0, "time":1493898765000 } ] }