This commit is contained in:
newtbot
2024-01-10 03:30:53 +08:00
parent ce2b776920
commit aa79f2873f
6 changed files with 526 additions and 74 deletions

6
api.MD
View File

@ -152,7 +152,9 @@ Hour = 1 or wtv
//strong optional chaining
curl 'http://localhost/api/v0/sensor-data/data?year=2023&month=1&week=1&day=1&sensorid=1&locationid=1'
http://localhost/api/v0/sensor-data/data?startdate=2023-01-01T00:00:00.000&enddate=2023-01-03T&sensorid=1&locationid=1
//get specific data
//get specific data
http://localhost/api/v0/sensor-data/filter?windspeed=highest&limit=1
//average