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": 7,
                "ns": 2,
                "title": "User:Admin",
                "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-02-11T12:28:19Z",
                "comment": ""
            },
            {
                "logid": 6,
                "ns": 2,
                "title": "User:Admin",
                "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-02-11T12:28:18Z",
                "comment": ""
            },
            {
                "logid": 5,
                "ns": 2,
                "title": "User:Mallory",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "infinity",
                    "flags": [
                        "nocreate",
                        "noautoblock",
                        "noemail",
                        "nousertalk"
                    ],
                    "blockId": 1,
                    "sitewide": ""
                },
                "type": "block",
                "action": "block",
                "user": "Maintenance script",
                "timestamp": "2025-02-11T12:26:19Z",
                "comment": "Blocking account for testing"
            },
            {
                "logid": 4,
                "ns": 2,
                "title": "User:Mallory",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 6
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "Mallory",
                "timestamp": "2025-02-11T12:26:19Z",
                "comment": ""
            },
            {
                "logid": 3,
                "ns": 2,
                "title": "User:Bob",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 5
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "Bob",
                "timestamp": "2025-02-11T12:26:18Z",
                "comment": ""
            },
            {
                "logid": 2,
                "ns": 2,
                "title": "User:Alice",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 4
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "Alice",
                "timestamp": "2025-02-11T12:26: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-02-11T12:26:11Z",
                "comment": ""
            }
        ]
    }
}