HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceChangelogLog In
Changelog
added

v1.5.0

Summary: added update building route

New

  • PATCH /api/v1/buildings/{buildingtId} this route allows for updating the name, size and address of a building

Updated

  • the allowed values for the size field on the building object are now more strict, and will only accept integers of [0, 1, 5000, 10000, 20000]. The openapi spec had implicitly defined this as the description noted the accepted values, but the route input validation was not yet enforcing it
  • the building object was inadvertently returning a field called fullAddress, the openapi spec did not show this field, so the field has been removed from the building object output

Fixed

  • the GET /api/v1/buildings/{buildingId}/thermostats route was returning invalid thermostat IDs, it now correctly returns the actual thermostatId for each device