MediaWiki API resultaat.

Dit is de HTML uitvoer van het JSON formaat. HTML is geschikt voor het debuggen, maar ongeschikt voor applicatiegebruik.

Geef de parameter format mee om het uitvoerformaat te wijzigen. Geef format=json mee om de niet-HTML uitvoer van het JSON formaat te zien.

Bekijk de volledige documentatie, of de API hulp voor meer informatie.

{
    "batchcomplete": "",
    "query": {
        "pages": [
            {
                "ns": 0,
                "title": "API",
                "missing": ""
            },
            {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "MediaWiki default",
                        "timestamp": "2009-07-08T08:42:32Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "{{MainTemplate\n\n| welcome = Welcome to '''{{SITENAME}}!'''\n| blurb = You can put a short description of your wiki here.\n| about_title = About this site\n| about_content =\nThis is your new site! Feel free to start editing right away!\n\nIf you need any help, don't hesitate to contact ShoutWiki's [[Special:ListUsers/staff|Customer Support Team]].\n\n| featured_title = Featured Article\n| featured_content = You can put a \"featured article\" here to show off the very best pieces that your community has done — or alternatively, you can use this space for something else if featured articles aren't \"your thing\".\n\n| didyouknow_title = Did you know...\n| didyouknow_content =\n* ...that you can add your own \"did you know\" tidbits right here?\n\n| news_title = News\n| news_content =\n* This wiki was started!\n}}"
                            }
                        },
                        "comment": ""
                    }
                ]
            }
        ]
    }
}