MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20241123123044|2144",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 2154,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:\u56fd\u5bb6\u712f",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 83
                },
                "type": "newusers",
                "action": "create",
                "user": "\u56fd\u5bb6\u712f",
                "timestamp": "2025-04-19T23:36:57Z",
                "comment": ""
            },
            {
                "logid": 2153,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:\u4f46\u5982\u679c\u4e8c\u4e2a\u4eba\u8fc7",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 82
                },
                "type": "newusers",
                "action": "create",
                "user": "\u4f46\u5982\u679c\u4e8c\u4e2a\u4eba\u8fc7",
                "timestamp": "2025-04-12T23:24:43Z",
                "comment": ""
            },
            {
                "logid": 2152,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:Fsefwerfewf",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 81
                },
                "type": "newusers",
                "action": "create",
                "user": "Fsefwerfewf",
                "timestamp": "2025-04-12T22:57:32Z",
                "comment": ""
            },
            {
                "logid": 2151,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:Derdtgey",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 80
                },
                "type": "newusers",
                "action": "create",
                "user": "Derdtgey",
                "timestamp": "2025-03-29T13:15:14Z",
                "comment": ""
            },
            {
                "logid": 2150,
                "ns": 0,
                "title": "\u88ab\u907a\u7559\u7684\u591c\u5e55\u7d30\u8a9e",
                "pageid": 523,
                "logpage": 523,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Slandchan",
                "timestamp": "2025-02-14T14:34:50Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c{| class=\"wikitable\" style=\"float:right; margin-left: 10px; margin-top: 0px;\" |- ! colspan=\"2\" |\u88ab\u907a\u7559\u7684\u591c\u5e55\u7d30\u8a9e |- |  colspan=\"2\" |\u6a94\u6848:LWN title.jpg\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 2149,
                "ns": 6,
                "title": "\u6a94\u6848:LWN title.jpg",
                "pageid": 522,
                "logpage": 522,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Slandchan",
                "timestamp": "2025-02-14T12:44:02Z",
                "comment": "\u5df2\u522a\u9664\u820a\u4fee\u8a02 20250214124350!LWN_title.jpg"
            },
            {
                "logid": 2148,
                "ns": 6,
                "title": "\u6a94\u6848:LWN title.jpg",
                "pageid": 522,
                "logpage": 522,
                "params": {
                    "img_sha1": "25fkpnkk2u21h8r7rq5n5hnpa27hash",
                    "img_timestamp": "2025-02-14T12:43:50Z"
                },
                "type": "upload",
                "action": "overwrite",
                "user": "Slandchan",
                "timestamp": "2025-02-14T12:43:50Z",
                "comment": ""
            },
            {
                "logid": 2147,
                "ns": 6,
                "title": "\u6a94\u6848:LWN title.jpg",
                "pageid": 522,
                "logpage": 522,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Slandchan",
                "timestamp": "2025-02-14T12:43:02Z",
                "comment": ""
            },
            {
                "logid": 2146,
                "ns": 6,
                "title": "\u6a94\u6848:LWN title.jpg",
                "pageid": 522,
                "logpage": 522,
                "params": {
                    "img_sha1": "1kbx8ia2wx77nims1va2cmisev4rip1",
                    "img_timestamp": "2025-02-14T12:43:01Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Slandchan",
                "timestamp": "2025-02-14T12:43:01Z",
                "comment": ""
            },
            {
                "logid": 2145,
                "ns": 0,
                "title": "\u8840\u767e\u5408\u8f2a\u8ff4",
                "pageid": 521,
                "logpage": 521,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Slandchan",
                "timestamp": "2024-11-23T12:32:25Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c{| class=\"wikitable\" style=\"float:right; margin-left: 10px; margin-top: 0px;\" |- ! colspan=\"2\"  |\u8840\u767e\u5408\u8f2a\u8ff4 |- | colspan=\"2\" |\u6a94\u6848:Lily title.jpg|217px|\u2026\u300d\u7684\u65b0\u9801\u9762"
            }
        ]
    }
}