Requests a position be analyzed, intermediate and final results are sent to the given channel. The final response is returned as well.
Number of captures black has
Board position state
Channel identifier, for instance ai-position-analysis-stream-review-
Komi
Whose turn it is
Ruleset to use
UUID identifying the request
Number of captures white has
Subscribers to analyze position calls
Un-subscribers to analyze position calls
The AI review id we're basing our analysis off of
The move number we're branching from
The game id we're analyzing
AI UUID
Move string
Relay an already analyzed position out to any other viewers
Channel identifier, for instance ai-position-analysis-stream-review-
The AI review id we're basing our analysis off of
The game id we're reviewing
AI UUID
AI UUID
Authenticate with the server.
Prior to authentication, you should perform a GET request to
/api/v1/ui/config
to get the current configuration. Within the returned JSON
you will find all of the necessary fields to authenticate.
Optional
bot_Bot API key, if applicable
Optional
bot_Bot username connecting, if applicable
Optional
client?: stringClient name (your application name)
Optional
client_Client version string.
Optional
device_Client generated unique id for the device.
The JSON Web Token (user_jwt
field) from /api/v1/ui/config
. If
connecting as a guest, send ""
Optional
language?: stringISO 639-1 language code used on this device.
Optional
language_The version of the translation dictionary.
Optional
user_Browser user agent (or websocket library)
Sends a ping to the server. This message should be sent regularly. The default interval is 10 seconds. This keeps the connection alive and allows a client to measure clock drift and latency, both of which are vital to adjusting the client's game clock displays.
Client timestamp - milliseconds since epoch
Last clock drift measurement, or 0
Last latency measurement, or 0
This is an exhaustive list of the messages that the client can send to the AI servers.