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.