#How to check Patron user status?
4 messages · Page 1 of 1 (latest)
At the top of the API documentation page, there's a download link where you can get the OpenAPI specification, and it contains this description in the components part,
...
"PatronColor": {
"type": "integer",
"description": "Players can choose a color for their Patron wings.\nSee [here for the color mappings](https://github.com/lichess-org/lila/blob/master/ui/lib/css/abstract/_patron-colors.scss).\n",
"minimum": 1,
"maximum": 10
},
...
Thank you. What is not clear to me is if the PatronColor field is sufficient to know if the user has a patron status. A patron field or patronTier field would make much more sense to me. So the question is: why wa spatron field been deprecated (I couldn't find the info) and what is the correct way to check patron status?
Oh, this channel is for support with the Lichess API,
not about design decisions... 😅
I don't think Lichess publishes design decisions anywhere,
but GitHub would probably be the closest thing - i.e issues and pull requests.
And maybe commit messages, but that's kinda tricky to consume. Typically code changes happen in https://github.com/lichess-org/lila first, and then the api-repository you linked to is updated afterwards.
♞ lichess.org: the forever free, adless and open source chess server ♞ - lichess-org/lila