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": {
        "lecontinue": "20251130033820|63",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 96,
                "ns": 2,
                "title": "User:LukeSock",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "tempaccountviewer"
                    ],
                    "newgroups": [
                        "sysop",
                        "tempaccountviewer"
                    ],
                    "oldmetadata": [
                        {
                            "group": "tempaccountviewer",
                            "expiry": "2026-12-02T05:06:29Z"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "2026-12-02T05:06:29Z"
                        },
                        {
                            "group": "tempaccountviewer",
                            "expiry": "2026-12-02T05:06:29Z"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Luke",
                "timestamp": "2025-12-09T20:51:45Z",
                "comment": "needed for testing"
            },
            {
                "logid": 94,
                "ns": 4,
                "title": "Test Wiki:Sandbox",
                "pageid": 6,
                "logpage": 6,
                "params": {
                    "type": "revision",
                    "ids": [
                        20
                    ],
                    "old": {
                        "bitmask": 0
                    },
                    "new": {
                        "bitmask": 4,
                        "user": ""
                    }
                },
                "type": "delete",
                "action": "revision",
                "user": "Luke (WickedGov)",
                "timestamp": "2025-12-09T18:48:28Z",
                "comment": "Testing"
            },
            {
                "logid": 93,
                "ns": 2,
                "title": "User:185.77.168.42",
                "pageid": 0,
                "logpage": 0,
                "params": {},
                "type": "gblblock",
                "action": "whitelist",
                "user": "Luke",
                "timestamp": "2025-12-05T12:36:48Z",
                "comment": "testing"
            },
            {
                "logid": 92,
                "ns": 4,
                "title": "Test Wiki:Sandbox",
                "pageid": 6,
                "logpage": 6,
                "params": {
                    "curid": 18,
                    "previd": 13
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Luke",
                "timestamp": "2025-12-05T04:31:04Z",
                "comment": ""
            },
            {
                "logid": 80,
                "ns": 2,
                "title": "User:LukeSock",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "1 week",
                    "flags": [
                        "nocreate",
                        "noautoblock"
                    ],
                    "restrictions": {
                        "pages": [
                            {
                                "page_ns": 0,
                                "page_title": "Main Page"
                            }
                        ]
                    },
                    "blockId": 3,
                    "finalTargetCount": 2,
                    "expiry": "2025-12-12T03:39:06Z",
                    "duration-l10n": "7 days"
                },
                "type": "block",
                "action": "block",
                "user": "Luke",
                "timestamp": "2025-12-05T03:39:06Z",
                "comment": "Test block B"
            },
            {
                "logid": 79,
                "ns": 2,
                "title": "User:LukeSock",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "1 day",
                    "flags": [
                        "nocreate",
                        "noautoblock"
                    ],
                    "blockId": 2,
                    "sitewide": "",
                    "expiry": "2025-12-06T03:38:41Z",
                    "duration-l10n": "1 day"
                },
                "type": "block",
                "action": "block",
                "user": "Luke",
                "timestamp": "2025-12-05T03:38:41Z",
                "comment": "Test block A"
            },
            {
                "logid": 77,
                "ns": 2,
                "title": "User:~2025-12",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 18
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "~2025-12",
                "temp": "",
                "timestamp": "2025-12-05T03:18:14Z",
                "comment": ""
            },
            {
                "logid": 69,
                "ns": 2,
                "title": "User:LukeSock",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 17
                },
                "type": "newusers",
                "action": "forcecreatelocal",
                "user": "Luke",
                "timestamp": "2025-12-02T05:05:58Z",
                "comment": "needed to assign rights"
            },
            {
                "logid": 68,
                "ns": 2,
                "title": "User:TestUser14",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "1 week",
                    "flags": [
                        "nocreate",
                        "noautoblock"
                    ],
                    "sitewide": "",
                    "expiry": "2025-12-07T19:23:51Z",
                    "duration-l10n": "7 days"
                },
                "type": "block",
                "action": "block",
                "user": "Luke",
                "timestamp": "2025-11-30T19:23:51Z",
                "comment": "Test block A"
            },
            {
                "logid": 64,
                "ns": 0,
                "title": "Sandbox",
                "pageid": 8,
                "logpage": 8,
                "revid": 19,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "~2025-11",
                "temp": "",
                "timestamp": "2025-11-30T03:38:30Z",
                "comment": "Redirected page to [[Test Wiki:Sandbox]]"
            }
        ]
    }
}