ezeio2:apiref:syslog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
ezeio2:apiref:syslog [2019-06-16 22:53] andrehezeio2:apiref:syslog [2019-10-28 20:20] andreh
Line 1: Line 1:
-===== API reference ====== 
- 
 ==== syslog ==== ==== syslog ====
  
Line 27: Line 25:
 If range >= 7 days, interval will be 1 hour.\\ If range >= 7 days, interval will be 1 hour.\\
 For smaller ranges than 7 days, the interval will be 10 minutes. For smaller ranges than 7 days, the interval will be 10 minutes.
 +
 +Under no circumstances will the call return more than 5000 rows of data.
  
 Aggregation modes:  Aggregation modes: 
Line 55: Line 55:
  
 <code javascript> <code javascript>
 +
 +Example query:
 +https://api.eze.io/v1/syslog/baa157/from=2019-02-01/to=2019-03-01/fields=1,2
 +
 { {
   "reqtime":"2019-06-16T22:51:49Z",   "reqtime":"2019-06-16T22:51:49Z",
 +  "fieldmeta":[
 +    {
 +      "no":"1",
 +      "name":"Uptime",
 +      "tag":"",
 +      "decimals":"0",
 +      "unit":"s"
 +    },
 +    {
 +      "no":"2",
 +      "name":"Temperature",
 +      "tag":"temp",
 +      "decimals":"1",
 +      "unit":"°C"
 +    }
 +  ]
   "data":[   "data":[
     {     {
  • ezeio2/apiref/syslog.txt
  • Last modified: 2021-09-24 23:04
  • by andreh