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": "Ollieparanoid",
                        "timestamp": "2023-07-03T06:49:42Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "<!--\n\n    ******************************************************\n    *** USE THIS SCRIPT TO ADD NEW ICONS:              ***\n    *** https://gitlab.com/postmarketOS/wiki/issues/22 ***\n    ******************************************************\n\n--><div style=\"max-width: 1200px;\">\n\n<div class=\"res-img\" style=\"float: left; width: 70%;\">\n[[File:Postmarketos-shirt-logo.png]]\n</div>\n\n<div style=\"float: left; width: 260px; background: white\">\n<div style=\"border: 1px solid lightgray; background: #f8f8f8; padding: 0px 10px; width:260px;\">\n[[About postmarketOS|postmarketOS extends Alpine Linux to run on smartphones and other mobile devices.]]\n</div>\n\n<div style=\"margin-top: 40px; width: 350px; padding-left: 15px\">\n<!-- OVERVIEW -->\n{{mainpage-button|smartphone|Devices}}\n{{mainpage-button|gtk-about|:Category:Interface|User Interfaces}}\n{{mainpage-button|start-here|Applications_by_category|Apps}}\n{{mainpage-button|camera-photo|Special:ListFiles|Gallery}}\n{{mainpage-button|emblem-shared|:Category:Community|Community}}\n\n\n<!-- GUIDES -->\n{{mainpage-button|document-save|Installation|Installation}}\n{{mainpage-button|application-menu|Porting_to_a_new_device|Porting}}\n{{mainpage-button|system-run|Mainlining|Mainlining}}\n{{mainpage-button|applications-utilities|:Category:Guide|''More Guides''}}\n\n\n<!-- CONTRIBUTING / TECHNICAL STUFF -->\n{{mainpage-button|emote-love|Contributing}}\n{{mainpage-button|folder-documents|:Category:Technical Reference|Technical Reference}}\n{{mainpage-button|emblem-important|Troubleshooting}}\n\n</div>\n</div>"
                            }
                        },
                        "comment": "remove the FAQ button, the FAQ in the wiki has been removed, there's only one on the homepage now"
                    }
                ]
            }
        ]
    }
}