MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "pages": [
            {
                "ns": 0,
                "title": "API",
                "missing": ""
            },
            {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Twhayes",
                        "timestamp": "2018-06-22T15:30:30Z",
                        "comment": "",
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "<!-- This portal was created using subst:box portal skeleton  -->\n\n<div style=\"float:right; width:100%\">\n\n{{:{{FULLPAGENAME}}/box-header|<big>Welcome to the US Armed Forces Wiki</big>|:{{FULLPAGENAME}}/Intro |:{{FULLPAGENAME}}/Intro}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n</div>\n\n<!-- COMMENTED OUT X - will not display\n<div style=\"float:left; width:60%;\"> END COMMENT X--> <!-- This width added to the the margin below to equal 99%-->\n\n<!-- COMMENTED OUT XX\n\n{{:{{FULLPAGENAME}}/box-header|''Selected article''|:{{FULLPAGENAME}}/Selected article|:{{FULLPAGENAME}}/Selected article}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n{{:{{FULLPAGENAME}}/box-header|''Selected picture''|:{{FULLPAGENAME}}/Selected picture|:{{FULLPAGENAME}}/Selected picture}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n{{:{{FULLPAGENAME}}/box-header|''Selected biography''|:{{FULLPAGENAME}}/Selected biography|:{{FULLPAGENAME}}/Selected biography}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n{{:{{FULLPAGENAME}}/box-header|''Did you know...''|:{{FULLPAGENAME}}/Did you know|:{{FULLPAGENAME}}/Did you know}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n</div>\nEND COMMENT XX -->\n\n<div style=\"float:right; width:100%\"> <!-- This margin should be right of the above -->\n\n{{:{{FULLPAGENAME}}/box-header|''Featured Links''|:{{FULLPAGENAME}}/Related portals|:{{FULLPAGENAME}}/Related portals}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n{{:{{FULLPAGENAME}}/box-header|''Selected Match Results''|:{{FULLPAGENAME}}/{{PAGENAME}} news|:{{FULLPAGENAME}}/{{PAGENAME}} news}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n{{:{{FULLPAGENAME}}/box-header|''Things You Can Do''|:{{FULLPAGENAME}}/Categories|:{{FULLPAGENAME}}/Categories}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n</div>\n\n\n<!-- COMMENTED OUT XXX\n{{:{{FULLPAGENAME}}/box-header|''Quotes''|:{{FULLPAGENAME}}/Quotes|:{{FULLPAGENAME}}/Quotes}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n\n\n<div style=\"float:right; width:100%\">\n\n{{:{{FULLPAGENAME}}/box-header|''{{PAGENAME}} topics''|:{{FULLPAGENAME}}/{{PAGENAME}} topics|:{{FULLPAGENAME}}/{{PAGENAME}} topics}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n</div>\n\n<div style=\"float:left; width:60%;\"> END COMMENT XXX<!-- This width added to the the margin below to equal 99%-->\n\n<!-- COMMENTED OUT XXXX\n{{:{{FULLPAGENAME}}/box-header|''Things you can do''|:{{FULLPAGENAME}}/Things you can do|:{{FULLPAGENAME}}/Things you can do}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n</div>\n\n<div style=\"float:right; width:39%\">  END COMMENT XXXX --> <!-- This margin should be right of the above -->\n<!-- COMMENT OUT XXXXX\n{{:{{FULLPAGENAME}}/box-header|''WikiProjects''|:{{FULLPAGENAME}}/WikiProjects|:{{FULLPAGENAME}}/WikiProjects}}\n{{:{{FULLPAGENAME}}/box-footer|}}\n\n</div>\nEND COMMENT XXXXX -->\n\n<div style=\"float:right; width:100%\">\n\n\n<!--{{portals}}\n-->\n</div>\n\n<!-- {{Purgepage}}\n-->\n__NOTOC__ __NOEDITSECTION__\n\n\n[[Category:{{PAGENAME}}|*{{FULLPAGENAME}}]]\n<!-- Recategorize Category:Portals under construction to an appropriate subcategory of Category:Portals\n     once the portal is ready for viewing by non-editors. -->\n[[Category:Portals under construction|{{PAGENAME}}]]"
                    }
                ]
            }
        ]
    }
}