MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260201190104|2158",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 2168,
                "ns": 0,
                "title": "\u8840\u767e\u5408\u602a\u8ac7",
                "pageid": 528,
                "logpage": 528,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:17:07Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c{| class=\"wikitable\" style=\"float:right; margin-left: 10px; margin-top: 0px;\" |- ! colspan=\"2\"  |\u8840\u767e\u5408\u602a\u8ac7 |- | colspan=\"2\" |\u6a94\u6848:LilyGhoststories title\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 2167,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories2 title.jpg",
                "pageid": 527,
                "logpage": 527,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:12:05Z",
                "comment": "\u5df2\u522a\u9664\u820a\u4fee\u8a02 20260201191154!LilyGhoststories2_title.jpg"
            },
            {
                "logid": 2166,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories2 title.jpg",
                "pageid": 527,
                "logpage": 527,
                "params": {
                    "img_sha1": "91gjjwmentck6c0smpo808bygk2ov7w",
                    "img_timestamp": "2026-02-01T19:11:54Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:11:54Z",
                "comment": ""
            },
            {
                "logid": 2165,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories2 title.jpg",
                "pageid": 527,
                "logpage": 527,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:07:11Z",
                "comment": ""
            },
            {
                "logid": 2164,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories2 title.jpg",
                "pageid": 527,
                "logpage": 527,
                "params": {
                    "img_sha1": "jybctgow1cwti1g6ora8ay476q7bu5y",
                    "img_timestamp": "2026-02-01T19:07:11Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:07:11Z",
                "comment": ""
            },
            {
                "logid": 2163,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories title.jpg",
                "pageid": 526,
                "logpage": 526,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:06:54Z",
                "comment": ""
            },
            {
                "logid": 2162,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories title.jpg",
                "pageid": 526,
                "logpage": 526,
                "params": {
                    "img_sha1": "rrqzt1qf4mhr6let58adzrxoku5uijp",
                    "img_timestamp": "2026-02-01T19:06:54Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:06:54Z",
                "comment": ""
            },
            {
                "logid": 2161,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories title.jpg",
                "pageid": 526,
                "logpage": 524,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:04:15Z",
                "comment": ""
            },
            {
                "logid": 2160,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories2 title.jpg",
                "pageid": 527,
                "logpage": 525,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:03:33Z",
                "comment": ""
            },
            {
                "logid": 2159,
                "ns": 6,
                "title": "\u6a94\u6848:LilyGhoststories2 title.jpg",
                "pageid": 527,
                "logpage": 525,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Slandchan",
                "timestamp": "2026-02-01T19:01:04Z",
                "comment": ""
            }
        ]
    }
}