#Setting preferences via the API

10 messages · Page 1 of 1 (latest)

regal scarab
hollow rover
#

The Lichess API documentation doesn't cover that endpoint - the Lichess API is documented at https://lichess.org/api

I think the endpoint you are trying to use is intended for the mobile application.

regal scarab
#

Ah that's what I suspected. I was trying to add a new preference to the app ("clockSound"), but I wanted to test the Api via curl first

sharp sphinx
#

premove is there

#

but that endpoint is indeed for the mobile app only

#

so you can't hit it with curl, sorry

regal scarab
sharp sphinx
#

Yes. You can send a PR for it, or ask in an issue