diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-04 11:03:53 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-04 11:03:53 -0500 |
| commit | e563642584280d2b085b9842f4ca65f6b434d6a5 (patch) | |
| tree | 6fe8a197912feccad6d66a739796bc7b340d750a | |
| parent | ba7d760a2f832465fdeddc64241a7bb378d68b5e (diff) | |
| download | soen422-e563642584280d2b085b9842f4ca65f6b434d6a5.zip | |
api: room key/val query in POST /humidity
| -rw-r--r-- | api | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |