foglamp / FogLAMP

An open source platform for the Internet of Things, it acts as an edge gateway between sensor devices and cloud storage systems
http://foglamp.readthedocs.io/
Apache License 2.0
70 stars 42 forks source link

FOGL-3519: decrease default start by the user provided length #1791

Closed pintomax closed 4 years ago

pintomax commented 4 years ago

FOGL-3519: decrease default start by the user provided length

curl -s 'http://127.0.0.1:8081/foglamp/asset/sinusoid/bucket/1?length=600'

now returns more than 60 results.

If the change is OK we could add a similar fix to another API call:

curl -sX GET 'http://localhost:8081/foglamp/asset/{asset_code}/{reading}/bucket/{bucket_size}?start=&length='

pintomax commented 4 years ago

Branch needs approval