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": {
            "-1": {
                "ns": 0,
                "title": "API",
                "missing": ""
            },
            "2024": {
                "pageid": 2024,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Yaron Koren",
                        "timestamp": "2014-11-25T02:06:57Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "<div id=\"mainpage\"></div>\n<big>'''Welcome to Discourse DB.'''</big> {{#cargo_query:table=Items|fields=COUNT(*)}} opinion items in {{#cargo_query:table=Topics|fields=COUNT(*)}} topics, and counting!\n\nDiscourse DB is a new kind of site: a database that uses the power and ease-of-use of wiki technology to collect the opinions of the world's journalists and commentators about ongoing political events and issues. For more information, please read [[DiscourseDB:About|about Discourse DB]], [[DiscourseDB:What Discourse DB is not|what Discourse DB is not]], and general [[Help:Contents|help]] for the entire site.\n<em>Want to add an op-ed or blog post?  [[Help:How to add content|Read the quick how-to guide.]]</em>\n\n{|style=\"border-spacing:8px;margin:0px -8px\"\n|class=\"MainPageBG\" style=\"width:45%;border:1px solid #cef2e0;background-color:#f5fffa;vertical-align:top;color:#000\"|\n{|width=\"100%\" cellpadding=\"2\" cellspacing=\"5\" style=\"vertical-align:top;background-color:#f5fffa\"\n! <h2 style=\"margin:0;background-color:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3bfb1;text-align:left;color:#000;padding:0.2em 0.4em;\">Noteworthy Topics</h2>\n|-\n|style=\"color:#000\"|{{:Topics of interest}}\n|-\n! <h2 style=\"margin:0;background-color:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;\">Main Topic Themes</h2>\n|-\n|style=\"color:#000\"|{{:Main topic themes}}\n|-\n|}<!-- Start of right-column -->\n|class=\"MainPageBG\" style=\"width:55%;border:1px solid #cedff2;background-color:#f5faff;vertical-align:top\"|\n{| width=\"100%\" cellpadding=\"2\" cellspacing=\"5\" style=\"vertical-align:top;background-color:#f5faff\"\n! <h2 style=\"margin:0;background:#cedff2;font-size:120%;font-weight:bold;border:1px solid #a3bfb1;text-align:left;color:#000;padding:0.2em 0.4em;\">Latest Items [[Recent items|(more)]]</h2>\n|-\n|style=\"color:#000\"|{{:Latest items}}\n|-\n\n|}\n|}\n\n<big>'''Adding content to the site is easy,'''</big> and it does not require registration. To add content immediately, you can go to [http://discoursedb.org/add_item.php Add an item]. For an explanation of the various templates, you can go to [[Help:Template text]]. For a detailed, step-by-step tutorial on adding content to the site, go to [[Help:How to add content]]."
                            }
                        },
                        "comment": "Changed queries"
                    }
                ]
            }
        }
    }
}