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": {
        "logevents": [
            {
                "logid": 8,
                "ns": 640,
                "title": "EntitySchema:E1",
                "pageid": 142,
                "logpage": 142,
                "revid": 144,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Alice",
                "timestamp": "2025-04-09T08:52:38Z",
                "comment": "/* entityschema-summary-newschema-nolabel */test EntitySchema"
            },
            {
                "logid": 7,
                "ns": 2,
                "title": "User:Patch Demo",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "electionadmin",
                        "interface-admin",
                        "sysop"
                    ],
                    "newgroups": [
                        "bureaucrat",
                        "electionadmin",
                        "interface-admin",
                        "sysop",
                        "checkuser"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "electionadmin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "electionadmin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "checkuser",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Maintenance script",
                "timestamp": "2025-04-09T08:50:22Z",
                "comment": ""
            },
            {
                "logid": 6,
                "ns": 2,
                "title": "User:Patch Demo",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "interface-admin",
                        "sysop"
                    ],
                    "newgroups": [
                        "bureaucrat",
                        "interface-admin",
                        "sysop",
                        "electionadmin"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "electionadmin",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Maintenance script",
                "timestamp": "2025-04-09T08:50:21Z",
                "comment": ""
            },
            {
                "logid": 5,
                "ns": 2,
                "title": "User:Mallory",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "infinity",
                    "flags": [
                        "nocreate",
                        "noautoblock",
                        "noemail",
                        "nousertalk"
                    ],
                    "blockId": 1,
                    "sitewide": "",
                    "duration-l10n": "infinite"
                },
                "type": "block",
                "action": "block",
                "user": "Maintenance script",
                "timestamp": "2025-04-09T08:50:19Z",
                "comment": "Blocking account for testing"
            },
            {
                "logid": 4,
                "ns": 2,
                "title": "User:Mallory",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 7
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "Mallory",
                "timestamp": "2025-04-09T08:50:18Z",
                "comment": ""
            },
            {
                "logid": 3,
                "ns": 2,
                "title": "User:Bob",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 6
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "Bob",
                "timestamp": "2025-04-09T08:50:17Z",
                "comment": ""
            },
            {
                "logid": 2,
                "ns": 2,
                "title": "User:Alice",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 5
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "Alice",
                "timestamp": "2025-04-09T08:50:17Z",
                "comment": ""
            },
            {
                "logid": 1,
                "ns": 0,
                "title": "Main Page",
                "pageid": 1,
                "logpage": 1,
                "revid": 1,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "MediaWiki default",
                "timestamp": "2025-04-09T08:50:08Z",
                "comment": ""
            }
        ]
    }
}