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": "Prod",
                        "timestamp": "2023-04-18T03:21:51Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "<templatestyles src=\"Template:Main Page/styles.css\" />\n<div class=\"mp-lights\" {{#ifeq:{{#time: M}}|Dec||style=\"display:none\"}}></div><div class=\"mp-intro {{#ifeq:{{#time: M}}|Dec|mp-dec}}\"><div class=\"mp-welcome\">\n{{Main Page/Welcome}}\n</div><div class=\"mp-links\">\n{{Main Page/Category Links}}\n</div></div><div class=\"mp-today {{#ifeq:{{#time: M}}|Dec|mp-dec}}\">\n{{Main Page/Today}}\n</div><div class=\"mp-boxes {{#ifeq:{{#time: M}}|Dec|mp-dec}}\"><div><span>Featured Article</span><hr/>\n{{Main Page/Featured Article}}\n</div><div><span>Latest News</span><hr/>\n{{News}}\n</div><div><span>Did You Know...</span><hr/>\n{{Main Page/Did You Know}}\n</div><div><span>Ongoing Work</span><hr/>\n{{Main Page/Ongoing Work}}\n</div></div><div class=\"mp-niwa {{#ifeq:{{#time: M}}|Dec|mp-dec}}\">\n{{NIWA}}\n</div><div class=\"mp-series {{#ifeq:{{#time: M}}|Dec|mp-dec}}\">\n{{Main Page/Series}}\n</div>\n\n[[Category:Wars Wiki]]"
                            }
                        },
                        "comment": "move to background"
                    }
                ]
            }
        ]
    }
}