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 of a logged-in user and displays content appropriate to that user's permissions.

 Request examples 

 Request parameters 

 Responses 

 Response schema 

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.

HTML endpoints require RESTBase configured with VirtualRESTService.

 Request examples 

 Request parameters 

 Responses 

 Response schema 

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

 Request examples 

 Request parameters 

 Responses 

Get HTML offline
Returns wiki page metadata and HTML.

 Request examples 

 Request parameters 

 Responses 

 Response schema 

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 of a logged-in user and displays content appropriate to that user's permissions.

 Request examples 

 Request parameters 

 Responses 

 Response schema 

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

 Request examples 

 Request parameters 

 Responses 

 Response schema