MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260821051736|708",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "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"
            },
            {
                "logid": 711,
                "ns": 14,
                "title": "\u5206\u985e:Projects",
                "pageid": 244,
                "logpage": 244,
                "revid": 567,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:17:56Z",
                "comment": "Refactor: category description"
            },
            {
                "logid": 710,
                "ns": 0,
                "title": "Microchip, 8-bit",
                "pageid": 243,
                "logpage": 243,
                "revid": 544,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:17:49Z",
                "comment": "Refactor: add [[Category:Boards and SoCs\r]]"
            },
            {
                "logid": 709,
                "ns": 0,
                "title": "Application - DS1302, RTC module",
                "pageid": 242,
                "logpage": 242,
                "revid": 504,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Tommy",
                "timestamp": "2026-08-21T05:17:37Z",
                "comment": "Refactor: add [[Category:Projects\r]]"
            }
        ]
    }
}