API:REST API/Pages

Get wikitext
Returns the contents of a wiki page as wikitext, the page license, and information about the latest revision. This endpoint responds to the presence a logged-in user and displays content appropriate to that user's permissions.

HTML
HTML endpoints require RESTBase configured with VirtualRESTService.

Get HTML
Returns information about a wiki page, including the link to download the contents of the page as HTML, the page license, and information about the latest revision.

Get HTML only
Returns the HTML contents of a wiki page without JSON metadata.

Get HTML offline
Returns wiki page metadata and HTML.

Get languages
Searches connected wikis for pages with the same topic in different languages. Returns an array of language objects that include the name of the language, the language code, and the translated page title. This endpoint responds to the presence a logged-in user and displays content appropriate to that user's permissions.

Get media files
Returns information about media files included in a wiki page. This endpoint responds to the presence a logged-in user and displays content appropriate to that user's permissions.