Math

Get rendered formula in the given format.

Changed on

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: this endpoint is will be removed in the near future. Consider using client-side MathJax rendering instead.Stability: deprecated.

get/media/math/render/{format}/{hash}

Request

  • Base URL: https://wikimedia.org/api/rest_v1
  • URL: https://wikimedia.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