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.

{
    "parse": {
        "title": "API",
        "pageid": 0,
        "text": {
            "*": "<div class=\"mw-content-ltr mw-parser-output\" lang=\"en\" dir=\"ltr\"><p>The Sandbox is a place to try out editing and just play around. It is for those new to wikis and for testing. \n</p><p>To sign your name, click the <span class=\"mw-default-size\" typeof=\"mw:Error mw:File\"><a href=\"/index.php?title=Special:Upload&amp;wpDestFile=Signa.jpg\" class=\"new\" title=\"File:Signa.jpg\"><span class=\"mw-file-element mw-broken-media\">Signature icon</span></a></span> signature icon. Or, just insert 4 tildes (~~~~). \n</p>\n<div id=\"toc\" class=\"toc\" role=\"navigation\" aria-labelledby=\"mw-toc-heading\"><input type=\"checkbox\" role=\"button\" id=\"toctogglecheckbox\" class=\"toctogglecheckbox\" style=\"display:none\" /><div class=\"toctitle\" lang=\"en\" dir=\"ltr\"><h2 id=\"mw-toc-heading\">Contents</h2><span class=\"toctogglespan\"><label class=\"toctogglelabel\" for=\"toctogglecheckbox\"></label></span></div>\n<ul>\n<li class=\"toclevel-1\"><a href=\"#Level_2_Title\"><span class=\"tocnumber\">1</span> <span class=\"toctext\">Level 2 Title</span></a>\n<ul>\n<li class=\"toclevel-2\"><a href=\"#Level_3_Title\"><span class=\"tocnumber\">1.1</span> <span class=\"toctext\">Level 3 Title</span></a>\n<ul>\n<li class=\"toclevel-3\"><a href=\"#Level_4_Title\"><span class=\"tocnumber\">1.1.1</span> <span class=\"toctext\">Level 4 Title</span></a>\n<ul>\n<li class=\"toclevel-4\"><a href=\"#Level_5_Title\"><span class=\"tocnumber\">1.1.1.1</span> <span class=\"toctext\">Level 5 Title</span></a>\n<ul>\n<li class=\"toclevel-5\"><a href=\"#Level_6_Title\"><span class=\"tocnumber\">1.1.1.1.1</span> <span class=\"toctext\">Level 6 Title</span></a></li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</div>\n\n<div class=\"mw-heading mw-heading2\"><h2 id=\"Level_2_Title\">Level 2 Title</h2><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/index.php?title=Sandbox&amp;action=edit&amp;section=T-1\" title=\"Edit section: Level 2 Title\"><span>edit</span></a><span class=\"mw-editsection-bracket\">]</span></span></div>\n<div class=\"mw-heading mw-heading3\"><h3 id=\"Level_3_Title\">Level 3 Title</h3><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/index.php?title=Sandbox&amp;action=edit&amp;section=T-2\" title=\"Edit section: Level 3 Title\"><span>edit</span></a><span class=\"mw-editsection-bracket\">]</span></span></div>\n<div class=\"mw-heading mw-heading4\"><h4 id=\"Level_4_Title\">Level 4 Title</h4><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/index.php?title=Sandbox&amp;action=edit&amp;section=T-3\" title=\"Edit section: Level 4 Title\"><span>edit</span></a><span class=\"mw-editsection-bracket\">]</span></span></div>\n<div class=\"mw-heading mw-heading5\"><h5 id=\"Level_5_Title\">Level 5 Title</h5><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/index.php?title=Sandbox&amp;action=edit&amp;section=T-4\" title=\"Edit section: Level 5 Title\"><span>edit</span></a><span class=\"mw-editsection-bracket\">]</span></span></div>\n<div class=\"mw-heading mw-heading6\"><h6 id=\"Level_6_Title\">Level 6 Title</h6><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/index.php?title=Sandbox&amp;action=edit&amp;section=T-5\" title=\"Edit section: Level 6 Title\"><span>edit</span></a><span class=\"mw-editsection-bracket\">]</span></span></div>\n<p>What about some <i>italic</i> and <b>bold</b> text? <i><b>Like This!</b></i>\n</p><p><br />\n</p>\n<dl><dd><dl><dd><dl><dd>Also <u>underline</u></dd></dl></dd></dl></dd></dl>\n<p>Or you can <s>strikethrough</s>\n</p><p>Or do <span style=\"color:red;\">red text</span>\n</p><p>And you can make it <i><b><u><s><span style=\"color:red;\">italic, bold, underlined, strikethrough, and red</span></s></u></b></i>!\n</p><p>A link\n</p>\n<hr />\n<pre>to <a href=\"/wiki/Martin_the_Warrior\" title=\"Martin the Warrior\">Martin the Warrior</a>.\n</pre>\n<p>A link to <a href=\"/wiki/Martin_the_Warrior\" title=\"Martin the Warrior\">a very famous Redwall character</a>.\n</p>\n<ul><li>This</li>\n<li>is</li>\n<li>a</li>\n<li>list</li></ul>\n<ol><li>and</li>\n<li>another</li>\n<li>list</li></ol>\n<dl><dd>Indents whole paragraph</dd></dl>\n<dl><dd><dl><dd>Indents even more</dd></dl></dd></dl>\n<dl><dd><dl><dd><dl><dd>Indents e.m.</dd></dl></dd></dl></dd></dl>\n<dl><dd><dl><dd><dl><dd><dl><dd>Indents still more</dd></dl></dd></dl></dd></dl></dd></dl>\n<dl><dd><dl><dd><dl><dd><dl><dd><dl><dd>etc.</dd></dl></dd></dl></dd></dl></dd></dl></dd></dl>\n<dl><dd><dl><dd><dl><dd><dl><dd><dl><dd><dl><dd>etc</dd></dl></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl>\n<dl><dd><dl><dd><dl><dd><dl><dd><dl><dd><dl><dd><dl><dd>etc.</dd></dl></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl>\n<p><br />\n</p>\n<ul><li>so</li></ul>\n<ul><li>this</li></ul>\n<ul><li>is</li></ul>\n<ul><li>a</li></ul>\n<ul><li>List?</li></ul>\n<hr />\n<ul><li>Yes</li></ul>\n<ul><li>this</li></ul>\n<ul><li>is</li></ul>\n<ul><li>a</li></ul>\n<ul><li>list</li></ul>\n<p><b>This is bold</b> and <i>This is italic</i>\n</p><p><a href=\"/wiki/Gingivere_Greeneyes\" title=\"Gingivere Greeneyes\">Gingivere Greeneyes</a>\n</p><p><br />\n</p>\n<div id=\"my-image-container\"></div>\n<div id=\"my-image\"><a rel=\"nofollow\" class=\"external free\" href=\"https://miro.medium.com/max/1400/0*xMaFF2hSXpf_kIfG.jpg\">https://miro.medium.com/max/1400/0*xMaFF2hSXpf_kIfG.jpg</a></div>\n<div id=\"text-input-div\">Text to display</div>  \n<div id=\"url-input-div\"><a rel=\"nofollow\" class=\"external free\" href=\"https://example.com\">https://example.com</a></div>\n<!-- \nNewPP limit report\nCached time: 20261112220702\nCache expiry: 86400\nReduced expiry: false\nComplications: [show\u2010toc]\nCPU time usage: 0.079 seconds\nReal time usage: 0.405 seconds\nPreprocessor visited node count: 11/1000000\nRevision size: 19/2097152 bytes\nPost\u2010expand include size: 1473/2097152 bytes\nTemplate argument size: 0/2097152 bytes\nHighest expansion depth: 3/100\nExpensive parser function count: 0/100\nUnstrip recursion depth: 0/20\nUnstrip post\u2010expand size: 6/5000000 bytes\n-->\n<!--\nTransclusion expansion time report (%,ms,calls,template)\n100.00%   33.994      1 Redwall_Wiki_Clone:Sandbox\n100.00%   33.994      1 -total\n-->\n\n<!-- Render ID 634c16d1-dee5-11f1-93e4-61d7b20c9ea8 -->\n</div>"
        },
        "langlinks": [],
        "categories": [
            {
                "sortkey": "",
                "hidden": "",
                "*": "Pages_with_broken_file_links"
            },
            {
                "sortkey": "",
                "*": "Redwall_Wiki"
            }
        ],
        "links": [
            {
                "ns": 0,
                "exists": "",
                "*": "Gingivere Greeneyes"
            },
            {
                "ns": 0,
                "exists": "",
                "*": "Martin the Warrior"
            }
        ],
        "templates": [
            {
                "ns": 4,
                "exists": "",
                "*": "Redwall Wiki Clone:Sandbox"
            },
            {
                "ns": 0,
                "exists": "",
                "*": "Sandbox"
            }
        ],
        "images": [
            "Signa.jpg"
        ],
        "externallinks": [
            "https://miro.medium.com/max/1400/0*xMaFF2hSXpf_kIfG.jpg",
            "https://example.com"
        ],
        "sections": [
            {
                "toclevel": 1,
                "level": "2",
                "line": "Level 2 Title",
                "number": "1",
                "index": "T-1",
                "fromtitle": "Sandbox",
                "byteoffset": null,
                "anchor": "Level_2_Title",
                "linkAnchor": "Level_2_Title"
            },
            {
                "toclevel": 2,
                "level": "3",
                "line": "Level 3 Title",
                "number": "1.1",
                "index": "T-2",
                "fromtitle": "Sandbox",
                "byteoffset": null,
                "anchor": "Level_3_Title",
                "linkAnchor": "Level_3_Title"
            },
            {
                "toclevel": 3,
                "level": "4",
                "line": "Level 4 Title",
                "number": "1.1.1",
                "index": "T-3",
                "fromtitle": "Sandbox",
                "byteoffset": null,
                "anchor": "Level_4_Title",
                "linkAnchor": "Level_4_Title"
            },
            {
                "toclevel": 4,
                "level": "5",
                "line": "Level 5 Title",
                "number": "1.1.1.1",
                "index": "T-4",
                "fromtitle": "Sandbox",
                "byteoffset": null,
                "anchor": "Level_5_Title",
                "linkAnchor": "Level_5_Title"
            },
            {
                "toclevel": 5,
                "level": "6",
                "line": "Level 6 Title",
                "number": "1.1.1.1.1",
                "index": "T-5",
                "fromtitle": "Sandbox",
                "byteoffset": null,
                "anchor": "Level_6_Title",
                "linkAnchor": "Level_6_Title"
            }
        ],
        "tocdata": {
            "sections": [
                {
                    "tocLevel": 1,
                    "hLevel": 2,
                    "line": "Level 2 Title",
                    "number": "1",
                    "index": "T-1",
                    "fromTitle": "Sandbox",
                    "anchor": "Level_2_Title"
                },
                {
                    "tocLevel": 2,
                    "hLevel": 3,
                    "line": "Level 3 Title",
                    "number": "1.1",
                    "index": "T-2",
                    "fromTitle": "Sandbox",
                    "anchor": "Level_3_Title"
                },
                {
                    "tocLevel": 3,
                    "hLevel": 4,
                    "line": "Level 4 Title",
                    "number": "1.1.1",
                    "index": "T-3",
                    "fromTitle": "Sandbox",
                    "anchor": "Level_4_Title"
                },
                {
                    "tocLevel": 4,
                    "hLevel": 5,
                    "line": "Level 5 Title",
                    "number": "1.1.1.1",
                    "index": "T-4",
                    "fromTitle": "Sandbox",
                    "anchor": "Level_5_Title"
                },
                {
                    "tocLevel": 5,
                    "hLevel": 6,
                    "line": "Level 6 Title",
                    "number": "1.1.1.1.1",
                    "index": "T-5",
                    "fromTitle": "Sandbox",
                    "anchor": "Level_6_Title"
                }
            ],
            "extensionData": []
        },
        "showtoc": "",
        "parsewarnings": [],
        "displaytitle": "<span lang=\"en\" dir=\"ltr\"><span class=\"mw-page-title-main\">API</span></span>",
        "iwlinks": [],
        "properties": []
    }
}