Get HTML for a specific title/revision & optionally timeuuid.
Stability: stable
Request
- Base URL: https://en.wikipedia.org/api/rest_v1
- URL: https://en.wikipedia.org/api/rest_v1/page/html/{title}/{revision}
- Auth: none declared
Path parameters
Page title. Use underscores instead of spaces. Use percent-encoding. Example: Main_Page.
The revision
Query parameters
Requests for redirect pages return HTTP 302 with a redirect target in Location header and content in the body. To get a 200 response instead, supply false to the redirect parameter.
Whether to temporary stash data-parsoid metadata in order to support transforming the modified content later. If this parameter is set, requests are rate-limited on a per-client basis (max 5 requests per second per client)
Headers
The desired language variant code for wikis where LanguageConverter is enabled. Example: sr-el for Latin transcription of the Serbian language.
Response
The html for the given page, revision and tid.
See the MediaWiki DOM spec for a description of the MediaWiki-specific semantic markup in this HTML. Note that additional metadata is available in the HTML head.
This HTML can be edited using arbitrary HTML tools. The modified HTML can be converted back to wikitext using the /transform/html/to/wikitext{/title}{/revision} entry point.
Changes
No recorded changes to this operation across all 1 revision of this API.