Issuing request on https://lichess.org/api/challenge/ai with omitting color parameter, setting it as white, black, or random, always results in returned json receiving "player": "white" instead of the correct color. Opening the actual game in browser sets colors correctly.
Example response to request with "level": 8, "clock.limit": 10800, "clock.increment": 180, "color": "black".
Issuing request on
https://lichess.org/api/challenge/ai
with omitting color parameter, setting it as white, black, or random, always results in returned json receiving "player": "white" instead of the correct color. Opening the actual game in browser sets colors correctly.Example response to request with "level": 8, "clock.limit": 10800, "clock.increment": 180, "color": "black".
If you check the actual game you can see that I got color black as intended but not stated in response.