I'm working on implementing studies for the mobile app.
I'm currently using the public /api/study/<id>.pgn endpoint, as with the PGN format I can conveniently reuse a lot of code from the analysis board.
However, I noticed that when the study chapter mode is "Interactive lesson", some of the comments are missing from the PGN, like "hints" and the comment of "When any other wrong move is played:"
It looks like they are only included in the internal /study/<id> JSON representation (treeParts) - Is there no way around parsing treeParts for me? Maybe we could include those special comments in the PGN with some kind of special tag?