lichess-org / api

Lichess API documentation and examples
https://lichess.org/api
GNU Affero General Public License v3.0
435 stars 145 forks source link

Token test API response does not match docs #260

Closed MarkZH closed 1 year ago

MarkZH commented 1 year ago

The documentation for the "Test multiple OAuth tokens" endpoint says that the scopes field is a comma-delimited list. On or before June 15, 2023, the actual delimiters changed to a comma and space. Either the documentation or the lila code should be updated to reconcile the difference.

Recent example:

{'lip_XXX': {'userId': 'genetic_chess_bot',
             'scopes': 'preference:read, challenge:read, challenge:write',
             'expires': None}}