Did you look at possibly reversing the payload from the API into the device (vs. from the webapp into the API), and if so did it seem tractable?
Nice write up thank you for sharing.
Nice write up thank you for sharing.
If yes, then I sort of[1] do this for the "status" part of the response, so I can give useful error messages back (e.g. wrong "structure id")
[1] https://github.com/emilburzo/nest-rest/blob/master/src/main/...