Get Building Occupancy
GET/buildings/occupancy/:buildingId
Get the current occupancy and temperature of the common spaces based on the Building Id
Request
Responses
- 200
- 400
- 404
Returns a JSON object containing a list of common spaces in a building, each with the total current occupants and room temperature
Building Id not provided or in a bad format
Building not found