Skip to content

Commit

Permalink
Merge pull request #398 from allanjoseph98/accuracy
Browse files Browse the repository at this point in the history
Clarify that accuracy is only available in JSON
  • Loading branch information
ornicar authored Nov 30, 2024
2 parents 51787e9 + 4c28856 commit fa84286
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions doc/specs/schemas/GameUser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ properties:
type: number
acpl:
type: number
accuracy:
type: number
required: [inaccuracy, mistake, blunder, acpl]
team:
type: string
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ get:
- in: query
name: accuracy
description: |
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available.
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available. Only available in JSON.
schema:
type: boolean
default: false
Expand Down
2 changes: 1 addition & 1 deletion doc/specs/tags/bulkpairings/api-bulk-pairing-id-games.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ get:
- in: query
name: accuracy
description: |
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available.
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available. Only available in JSON.
schema:
type: boolean
default: false
Expand Down
2 changes: 1 addition & 1 deletion doc/specs/tags/games/api-games-export-_ids.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ post:
- in: query
name: accuracy
description: |
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available.
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available. Only available in JSON.
schema:
type: boolean
default: false
Expand Down
2 changes: 1 addition & 1 deletion doc/specs/tags/games/api-games-user-username.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ get:
- in: query
name: accuracy
description: |
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available.
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available. Only available in JSON.
schema:
type: boolean
default: false
Expand Down
2 changes: 1 addition & 1 deletion doc/specs/tags/games/api-user-username-current-game.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ get:
- in: query
name: accuracy
description: |
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available.
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available. Only available in JSON.
schema:
type: boolean
default: false
Expand Down
2 changes: 1 addition & 1 deletion doc/specs/tags/games/game-export-gameId.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ get:
- in: query
name: accuracy
description: |
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available.
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available. Only available in JSON.
schema:
type: boolean
default: false
Expand Down
2 changes: 1 addition & 1 deletion doc/specs/tags/swisstournaments/api-swiss-id-games.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ get:
- in: query
name: accuracy
description: |
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available.
Include [accuracy percent](https://lichess.org/page/accuracy) of each player, when available. Only available in JSON.
schema:
type: boolean
default: false
Expand Down

0 comments on commit fa84286

Please sign in to comment.