Files
MSE-PI-E2EEDA-Plein-de-eeee…/db/get-db.http

12 lines
310 B
HTTP

@room-id = B3
### GET last value of temp, co2, humidity, windows states
GET http://localhost:8080/api/v1/rooms/{{room-id}}/current
### GET history of a room
@window = 1 day
GET http://localhost:8080/api/v1/rooms/{{room-id}}/history?window={{window}}
### GET all rooms
GET http://localhost:8080/api/v1/rooms