API and documentation for the webcast websocket protocol