summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-04 11:03:53 -0500
committerSam Anthony <sam@samanthony.xyz>2024-11-04 11:03:53 -0500
commite563642584280d2b085b9842f4ca65f6b434d6a5 (patch)
tree6fe8a197912feccad6d66a739796bc7b340d750a
parentba7d760a2f832465fdeddc64241a7bb378d68b5e (diff)
downloadsoen422-e563642584280d2b085b9842f4ca65f6b434d6a5.zip
api: room key/val query in POST /humidity
-rw-r--r--api10
1 files changed, 5 insertions, 5 deletions
diff --git a/api b/api
index ab01f63..fb51277 100644
--- a/api
+++ b/api
@@ -1,7 +1,7 @@
-Method Path Query Description
+Method Path Query Description
-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 /humidity ?room=<string room ID>&humidity=<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