#How to create a new *interactive* Chapter in a Study
5 messages · Page 1 of 1 (latest)
Try adding a query parameter mode with the value gamebook
I tried that and it didn't work, the Analysis mode is still set to Normal analysis
Oh sorry, it should be in the body, same as with the other parameterers, pgn, name, orientation and variant
https://lichess.org/api#tag/studies/POST/api/study/{studyId}/import-pgn
(I found the parameter in a client library (https://github.com/tors42/chariot/blob/fd3e5a881f490fb2b9e25aa002eef5f16fed8a81/src/chariot/chariot/internal/impl/StudiesHandler.java#L94) and didn't notice it was for the body)
That worked! Thank you