devicehive-java-server
devicehive-java-server copied to clipboard
Refactor /device API to have a separate endpoint for Equipment update
I have removed device equipment update via PUT /device/register endpoint as it goes against REST policy by mixing two resources as well as does not map to underlying classes model in the code.
As it currently has GET /device/{id}/equipment endpoint, there should be corresponding PUT endpoint.