Stream incoming events
Changed onStream the events reaching a lichess user in real time as ndjson.
An empty line is sent every 7 seconds for keep alive purposes.
Each non-empty line is a JSON object containing a type field. Possible values are:
- gameStart Start of a game
- gameFinish Completion of a game
- challenge A player sends you a challenge or you challenge someone
- challengeCanceled A player cancels their challenge to you
- challengeDeclined The opponent declines your challenge
When the stream opens, all current challenges and games are sent.
Only one global event stream can be active at a time. When the stream opens, the previous one with the same access token is closed.
Request
- Base URLhttps://lichess.org
- URLhttps://lichess.org/api/stream/event
- AuthOAuth 2Authorization code: https://lichess.org/oauthToken URL: https://lichess.org/api/token scopes: challenge:read, bot:play, board:play
Response
The stream of events reaching the logged in user.
Changes
- info
the response property
///////became required for the status - info
the response property
///////became required for the status - info
the response property
///////became required for the status - info
the response property
///////////became required for the status - info
the response property
///////////became required for the status - info
the response property
///////////became required for the status - info
the response property
///////became required for the status - info
the response property
///////became required for the status - info
the response property
///////became required for the status
- info