MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。

參見完整文件,或API說明以取得更多資訊。

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260821051756|711",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 721,
                "ns": 0,
                "title": "Application - 3-axis accelerometer, GID-SSS U10",
                "pageid": 0,
                "logpage": 251,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Tommy",
                "timestamp": "2026-08-23T08:41:24Z",
                "comment": "Created in error: '_' should have been '/'"
            },
            {
                "logid": 720,
                "ns": 0,
                "title": "Application - 3-axis accelerometer, GID-SSS U10",
                "pageid": 0,
                "logpage": 251,
                "revid": 591,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-23T07:58:38Z",
                "comment": "Consistency: fix external-link syntax, heading case and wikilink form"
            },
            {
                "logid": 719,
                "ns": 0,
                "title": "Application - Alexa",
                "pageid": 99,
                "logpage": 99,
                "params": {
                    "type": "revision",
                    "ids": [
                        502,
                        101
                    ],
                    "old": {
                        "bitmask": 0
                    },
                    "new": {
                        "bitmask": 1,
                        "content": ""
                    }
                },
                "type": "delete",
                "action": "revision",
                "user": "Tommy",
                "timestamp": "2026-08-23T07:34:08Z",
                "comment": "Redact leaked AWS credentials"
            },
            {
                "logid": 718,
                "ns": 8,
                "title": "MediaWiki:Common.css",
                "pageid": 250,
                "logpage": 250,
                "revid": 579,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:35:17Z",
                "comment": "Site styling: readability, gallery and code block polish"
            },
            {
                "logid": 717,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:Tommy",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "sysop"
                    ],
                    "newgroups": [
                        "bureaucrat",
                        "sysop",
                        "interface-admin"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "Maintenance script",
                "timestamp": "2026-08-21T05:35:16Z",
                "comment": "Site styling"
            },
            {
                "logid": 716,
                "ns": 14,
                "title": "\u5206\u985e:Connectivity",
                "pageid": 249,
                "logpage": 249,
                "revid": 572,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:17:57Z",
                "comment": "Refactor: category description"
            },
            {
                "logid": 715,
                "ns": 14,
                "title": "\u5206\u985e:Software Engineering",
                "pageid": 248,
                "logpage": 248,
                "revid": 571,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:17:57Z",
                "comment": "Refactor: category description"
            },
            {
                "logid": 714,
                "ns": 14,
                "title": "\u5206\u985e:Sensors and Modules",
                "pageid": 247,
                "logpage": 247,
                "revid": 570,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:17:56Z",
                "comment": "Refactor: category description"
            },
            {
                "logid": 713,
                "ns": 14,
                "title": "\u5206\u985e:Software and Tools",
                "pageid": 246,
                "logpage": 246,
                "revid": 569,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:17:56Z",
                "comment": "Refactor: category description"
            },
            {
                "logid": 712,
                "ns": 14,
                "title": "\u5206\u985e:Boards and SoCs",
                "pageid": 245,
                "logpage": 245,
                "revid": 568,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:17:56Z",
                "comment": "Refactor: category description"
            }
        ]
    }
}