change discovery api in REST (ws interface is live view only)