Skip to content

Commit

Permalink
Document /api/games/export/imports
Browse files Browse the repository at this point in the history
  • Loading branch information
allanjoseph98 committed Jan 25, 2024
1 parent 722e9e8 commit 04c1357
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/specs/lichess-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1691,6 +1691,28 @@ paths:
application/json:
schema:
example: {"id": "R6iLjwz5", "url": "https://lichess.org/R6iLjwz5"}

/api/games/export/imports:
get:
operationId: apiImportedGamesUser
summary: Export your imported games
description : Download all games imported by you. Games are exported in PGN format.
tags:
- Games
security:
- OAuth2: []
responses:
"200":
description: "Imported games in PGN format"
headers:
Access-Control-Allow-Origin:
schema:
type: string
default: "'*'"
content:
application/x-chess-pgn:
schema:
$ref: '#/components/schemas/GamePgn'

/api/tv/channels:
get:
Expand Down

0 comments on commit 04c1357

Please sign in to comment.