Studies
Import PGN into a study
Changed onImports arbitrary PGN into an existing study. Creates a new chapter in the study. If the PGN contains multiple games (separated by 2 or more newlines) then multiple chapters will be created within the study. Note that a study can contain at most 64 chapters.
post/api/study/{studyId}/import-pgn
Request
- Base URLhttps://lichess.org
- URLhttps://lichess.org/api/study/{studyId}/import-pgn
- AuthOAuth 2Authorization code: https://lichess.org/oauthToken URL: https://lichess.org/api/token scopes: study:write
Path parameters
studyIdstring required
ID of the study
Request body application/x-www-form-urlencoded
Response
The chapters that were created.
Changes
- info
added the optional property
to the response with the status
- info
- info
the
request property default valuewhitewas removed
- info