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": "",
    "continue": {
        "gapcontinue": "Reply_Response_Patterns",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "3303": {
                "pageid": 3303,
                "ns": 0,
                "title": "Reboot Boards due to low Memory with notification",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "set this in scheduler to get lost memory back and to get a reboot when it needs to do this\n\n\n<pre>\n:global datum [/system clock get date];\n:global time [/system clock get time];\n/system resource\n:if ([get free-memory]< 25000) do=[\n/tool e-mail send server=*.*.*.* to=\"alert@yours.net\" subject=[/system identity get name] \n\nfrom=\"alert@yours.net\" body=(\" on $datum at $time the memory on this repeater got to \", [/system resource \n\nget free-memory])\n/system reboot;\n]};\n</pre>\n\non the if statement you will need to set the 25000 depending on board type \nIE \n532a = 25000\n153 = 12000\nand so on \nI put this in scheduler to run at 3am once a day\n\n===Using percentages===\n<pre>\n:global datum [/system clock get date];\n:global time [/system clock get time];\n:local percentfree ((100 * [/system resource get free-memory]) / [/system resource get total-memory])\n\n/system resource\n:if ($percentfree < 5) do={\n  /tool e-mail send server=*.*.*.* to=\"alert@yours.net\" subject=[/system identity get name] from=\"alert@yours.net\" body=(\" on $datum at $time the memory on this repeater got to \", [/system resource get free-memory])\n  /system reboot;\n};\n</pre>\nWill notify and reboot if free memory < 5%\n\n--[[User:Dshove|Doug]] 09:26, 24 July 2009 (EEST)"
                    }
                ]
            },
            "6216": {
                "pageid": 6216,
                "ns": 0,
                "title": "Remove BUSY status DHCP Leases to solve malfunction of DHCP server",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": ""
                    }
                ]
            }
        }
    }
}