Removed the deprecated REST API in favor of websocket api