Closed mmalecki closed 1 month ago
That sounds like a good idea, if you want please go ahead and fix it in the v2_dev branch. This will becoming the new release
Thanks @seeul8er. Code changes made in #76, just struggling to find out how to get the frontend built, any advice welcome :).
Fixed with #77
While I was working on #73, I noticed that the API (including the one in the v2 dev branch) is not really RESTful. Would you be open to collaborating/merging a PR for making it so?
As an example:
GET /api/settings/request
=>GET /api/settings
POST /api/settings/change
=>POST (or PATCH) /api/settings
to achieve the typical CRUD-over-REST API style, as well asGET /api/system/reboot
toPOST /api/system/reboot
to satisfy the RESTful requirement ofGET
requests not having side-effects.