Get a chess puzzle by its id.
Parameters
Output
Encoding
application/jsonErrors
PuzzleNotFound
No puzzle exists with the given id. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Get a chess puzzle by its id.",
"errors": [
{
"description": "No puzzle exists with the given id.",
"name": "PuzzleNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"ref": "org.lichess.puzzle.defs#puzzleView",
"type": "ref"
}
},
"parameters": {
"properties": {
"id": {
"description": "the id of the puzzle to fetch.",
"type": "string"
}
},
"required": [
"id"
],
"type": "params"
},
"type": "query"
}