Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specs/lichess-api.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: "3.1.0"
info:
version: 2.0.135
version: 2.0.136
title: Lichess.org API reference
contact:
name: "Lichess.org API"
Expand Down
12 changes: 12 additions & 0 deletions specs/tags/studies/api-study-studyId-import-pgn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ post:
default: white
variant:
$ref: "../../schemas/VariantKey.yaml"
mode:
type: string
description: |
Analysis mode.
If not specified, Normal analysis.
* practice - Practise with Computer
* conceal - Hide next moves
* gamebook - Interactive lesson
enum:
- practice
- conceal
- gamebook
required:
- pgn
responses:
Expand Down
1 change: 1 addition & 0 deletions src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1902,6 +1902,7 @@ export class Lichess {
name?: string;
orientation?: "white" | "black";
variant?: schemas.VariantKey;
mode?: "practice" | "conceal" | "gamebook";
};
},
) {
Expand Down