{"note":"OpenAPI conversion -- returning structured metadata","name":"wikimedia-org","description":"Math API","version":"1.0.0","base_url":"https://wikimedia.org/api/rest_v1","endpoints":3,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Math API\n@base https://wikimedia.org/api/rest_v1\n@version 1.0.0\n@auth ApiKey cookie in header\n@endpoints 3\n@toc media(3)\n\n@endpoint POST /media/math/check/{type}\n@desc Check and normalize a TeX formula.\n@required {type: str(tex/inline-tex/chem) # The input type of the given formula; can be tex or inline-tex}\n@returns(200) Information about the checked formula\n@errors {400: Invalid type}\n\n@endpoint GET /media/math/formula/{hash}\n@desc Get a previously-stored formula\n@required {hash: str # The hash string of the previous POST data}\n@returns(200) Information about the checked formula\n@errors {404: Data for the given hash cannot be found}\n\n@endpoint GET /media/math/render/{format}/{hash}\n@desc Get rendered formula in the given format.\n@required {format: str(svg/mml/png) # The output format; can be svg or mml, hash: str # The hash string of the previous POST data}\n@returns(200) The rendered formula\n@errors {404: Unknown format or hash ID}\n\n@end\n"}