Changes in Devices REST API. Preparing to implement Events module.