REST and WebSocket APIs for OSGi Device Abstraction Layer