Math
Get rendered formula in the given format.
Given a request hash, renders a TeX formula into its mathematic representation in the given format. When a request is issued to the /media/math/check/{format} POST endpoint, the response contains the x-resource-location header denoting the hash ID of the POST data. Once obtained, this endpoint has to be used to obtain the actual render.
NOTE: the use of this endpoint is strongly discouraged. Instead, use the identical endpoint of the (canonical) Math API on the wikimedia.org domain.
Stability: deprecated.
get/media/math/render/{format}/{hash}
Request
- Base URL: https://en.wikipedia.org/api/rest_v1
- URL: https://en.wikipedia.org/api/rest_v1/media/math/render/{format}/{hash}
- Auth: none declared
Path parameters
format'svg' | 'mml' | 'png' required
The output format; can be svg or mml
hashstring required
The hash string of the previous POST data
Response
The rendered formula
Changes
No recorded changes to this operation across all 1 revision of this API.