Hi! A few things changed with the REST API after upgrading to v4.x.x.
- The Get Thermostat API now returns serialized JSON data instead of actual JSON.
- Recently, the Update API has been returning an error message along with a success payload.
PUT /open-api/v1/rest/thermostats/{uuid}
Returns 200 (success) but includes an error… go figure.
{
"status": "OK",
"message": "success",
"data": {
"error": 400,
"data": {},
"message": "Failed to update thermostat data."
},
"headers": {
"headers": {}
}
}
Has something changed on the server side? I haven’t made any upgrades recently. Would upgrading to the latest version help?
Thank you!