Expand description
Account, user and bot endpoints.
Structs§
Functions§
- autocomplete
- Lichess’s
GET /api/player/autocomplete: players whose name starts with (then contains)term, for a type-ahead list. Withobject=true,{"result": [{id, name, online}]}; otherwise a JSON array of names. The computer’s accounts (ai-level-N) aren’t offered: it’s played withPOST /api/challenge/ai. - bots_
online - Bots seen in the last ten minutes, as NDJSON users.
- me
GET /api/account: Lichess’s, plus what this server adds about you:roleshere (admin, manager), whether your passkey check is done (staff: “checked”, “pending” or absent), how many passkeys you have and whether an Apple ID is linked (apple).- playing
- upgrade
- Make this account a bot. Lichess’s rules: irreversible, and only for an account that hasn’t played a game.
- user