summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-04 10:45:14 -0500
committerSam Anthony <sam@samanthony.xyz>2024-11-04 10:45:14 -0500
commitd97eb666b84fd2368aeade810abcdf535c542a89 (patch)
tree5352c1491970db77452dac9872f7db77dfe5fbcf /api
parent34831bbc59b0cb62ec837e1791457cf3bd4574ce (diff)
downloadsoen422-d97eb666b84fd2368aeade810abcdf535c542a89.zip
api: add descriptions
Diffstat (limited to 'api')
-rw-r--r--api10
1 files changed, 5 insertions, 5 deletions
diff --git a/api b/api
index d6774a3..ab01f63 100644
--- a/api
+++ b/api
@@ -1,7 +1,7 @@
-Method Path Query
+Method Path Query Description
-POST /humidity <float RH>
-POST /target_humidity <float RH>
-GET /humidity
-GET /target_humidity
+POST /humidity ?<string room ID>&<float RH> Set the measured humidity of a room.
+POST /target_humidity <float RH> Set the target humidity for the building.
+GET /humidity Get the average humidity of the building.
+GET /target_humidity Get the target humidity of the building.
POST /duty_cycle <TODO> \ No newline at end of file