MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "batchcomplete": "",
    "query": {
        "logevents": [
            {
                "logid": 3,
                "ns": 0,
                "title": "Create page",
                "pageid": 3,
                "logpage": 3,
                "revid": 7,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Lkyn",
                "timestamp": "2025-01-23T07:38:48Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<inputbox> type=create width=30 break=no buttonlabel=Create new article placeholder=Article title </inputbox>\u201d"
            },
            {
                "logid": 2,
                "ns": 8,
                "title": "MediaWiki:Sidebar",
                "pageid": 2,
                "logpage": 2,
                "revid": 2,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Lkyn",
                "timestamp": "2025-01-22T09:39:20Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c * navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help-mediawiki * \u65b0\u5efa\u9875\u9762 ** \u65b0\u5efa\u9875\u9762 | Special:CreatePage * SEARCH * TOOLBOX * LANGUAGES\u201d"
            },
            {
                "logid": 1,
                "ns": 0,
                "title": "\u9996\u9875",
                "pageid": 1,
                "logpage": 1,
                "revid": 1,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "MediaWiki default",
                "timestamp": "2025-01-22T04:22:18Z",
                "comment": ""
            }
        ]
    }
}