Dear flespi users!
Tomorrow, July 4 after 12:00 UTC we are planning to install an update changing our registry level API.
This change affecting creating (POST) and editing (PUT) devices using the REST API.
In short, the device "ident" and "phone" JSON fields will be placed in the separate object named "configuration". The schema of that object will be defined by selected device type and may vary for different types.
For backward compatibility, we will accept "ident" and "phone" fields at the old place and automatically create a "configuration" object for such incoming REST API requests. Receiving (GET) device information will also include both "ident", "phone" and "configuration" fields with the same data.
This backward compatibility will be preserved for a few months and we will additionally update you on the exact date when we will turn it off.
There is a very small subset of devices (less than 0.01% of all created devices), containing a password in their "ident" fields after a colon char (":"). For those devices, there will be additional field "password" in the "configuration" object, and the substring of "ident" field after colon char will be moved into this new field. The "password" field will be available only in "configuration" field, no backward compatibility possible for it.
After installing the update we will notify you when new REST API will be available. Please review your flespi platform integration and update it to use the new "configuration" field in the REST API.
And soon we will post a detailed blog post explaining all recent changes in our REST API.