MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260616093045|16",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 26,
                "ns": 6,
                "title": "\u6587\u4ef6:Beijing2.jpg",
                "pageid": 21,
                "logpage": 21,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Koiori",
                "timestamp": "2026-06-16T15:41:57Z",
                "comment": ""
            },
            {
                "logid": 25,
                "ns": 6,
                "title": "\u6587\u4ef6:Beijing2.jpg",
                "pageid": 21,
                "logpage": 21,
                "params": {
                    "img_sha1": "ehcuinn8nbmfsir01ep263h6qtiogev",
                    "img_timestamp": "2026-06-16T15:41:57Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Koiori",
                "timestamp": "2026-06-16T15:41:57Z",
                "comment": ""
            },
            {
                "logid": 24,
                "ns": 8,
                "title": "MediaWiki:Common.css",
                "pageid": 20,
                "logpage": 20,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Koiori",
                "timestamp": "2026-06-16T11:51:11Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u653e\u7f6e\u7684CSS\u5c06\u5e94\u7528\u4e8e\u6240\u6709\u76ae\u80a4 */ /* \u5168\u7ad9\u9875\u9762\u80cc\u666f */ body {     background-image: url(\"/images/beijing.jpg\");     background-size: cover;       /* \u94fa\u6ee1\u5168\u5c4f\uff0c\u4e0d\u53d8\u5f62 */     background-attachment: fixed; /* \u6eda\u52a8\u9875\u9762\u80cc\u666f\u4e0d\u8ddf\u7740\u52a8 */     background-repeat: no-repeat;     background-position: center center; } /* \u8ba9\u6587\u5b57\u533a\u57df\u534a\u900f\u660e\uff0c\u9632\u6b62\u770b\u4e0d\u6e05\u6587\u5b57\uff08\u53ef\u9009\uff0c\u5f3a\u70c8\u5efa\u8bae\u52a0\uff09 */ .mw-parser-output {     background: r\u2026\u201d"
            },
            {
                "logid": 23,
                "ns": 6,
                "title": "\u6587\u4ef6:Beijing.jpg",
                "pageid": 19,
                "logpage": 19,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Koiori",
                "timestamp": "2026-06-16T11:50:42Z",
                "comment": ""
            },
            {
                "logid": 22,
                "ns": 6,
                "title": "\u6587\u4ef6:Beijing.jpg",
                "pageid": 19,
                "logpage": 19,
                "params": {
                    "img_sha1": "85w7e5sr6lew326bhdeptv3xkb278o4",
                    "img_timestamp": "2026-06-16T11:50:41Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Koiori",
                "timestamp": "2026-06-16T11:50:41Z",
                "comment": ""
            },
            {
                "logid": 21,
                "ns": 6,
                "title": "\u6587\u4ef6:Hua1.png",
                "pageid": 18,
                "logpage": 18,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Koiori",
                "timestamp": "2026-06-16T10:28:01Z",
                "comment": ""
            },
            {
                "logid": 20,
                "ns": 6,
                "title": "\u6587\u4ef6:Hua1.png",
                "pageid": 18,
                "logpage": 18,
                "params": {
                    "img_sha1": "02j447m4whgrbxqjpz3j57t90utah79",
                    "img_timestamp": "2026-06-16T10:28:01Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Koiori",
                "timestamp": "2026-06-16T10:28:01Z",
                "comment": ""
            },
            {
                "logid": 19,
                "ns": 6,
                "title": "\u6587\u4ef6:Qi1.png",
                "pageid": 17,
                "logpage": 17,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Koiori",
                "timestamp": "2026-06-16T10:26:30Z",
                "comment": ""
            },
            {
                "logid": 18,
                "ns": 6,
                "title": "\u6587\u4ef6:Qi1.png",
                "pageid": 17,
                "logpage": 17,
                "params": {
                    "img_sha1": "teykp91akgjsmr3welktwsqjs4334yr",
                    "img_timestamp": "2026-06-16T10:26:30Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Koiori",
                "timestamp": "2026-06-16T10:26:30Z",
                "comment": ""
            },
            {
                "logid": 17,
                "ns": 0,
                "title": "\u53f2\u52aa\u6bd4",
                "pageid": 16,
                "logpage": 16,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Koiori",
                "timestamp": "2026-06-16T09:31:02Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c1\u201d"
            }
        ]
    }
}