devicehive-java-server icon indicating copy to clipboard operation
devicehive-java-server copied to clipboard

Refactor /device API to have a separate endpoint for Equipment update

Open demon-xxi opened this issue 10 years ago • 0 comments

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.

demon-xxi avatar Sep 28 '15 01:09 demon-xxi