merged websocket-api.md into api.md