org.lichess.puzzle.getById

Get a chess puzzle by its id.

Repository @pds.dad did:plc:rnpkyqnmsw4ipey6eotbdnnf not from the namespace authority
Details · query
Kindquery
Authoritypuzzle.lichess.org
Indexed
cid bafyreibk5ara5kv5wroqdz2ameufazwqz7kwyvk7yglj6yf76oc7bedc3q

Checks

Valid
  • unlimited-string defs.main.parameters.properties.idNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "org.lichess.puzzle.getById",
  "lexicon": 1
}