MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20251223223542|176",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 186,
                "ns": 0,
                "title": "\u9ea6\u5409\u514b\u670d\u52a1\u5668\u66f4\u65b0\u65e5\u5fd7",
                "pageid": 104,
                "logpage": 104,
                "revid": 227,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Gardel",
                "timestamp": "2026-01-16T16:06:57Z",
                "comment": "Auto upload from local wiki"
            },
            {
                "logid": 185,
                "ns": 0,
                "title": "\u5feb\u901f\u65c5\u884c",
                "pageid": 20,
                "logpage": 20,
                "params": {
                    "curid": 37,
                    "previd": 0
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:37:12Z",
                "comment": ""
            },
            {
                "logid": 184,
                "ns": 6,
                "title": "\u6587\u4ef6:\u94dc\u5e01\u94b1\u5305\uff08\u5408\u6210\u914d\u65b9\uff09.png",
                "pageid": 103,
                "logpage": 103,
                "revid": 224,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:35:45Z",
                "comment": "Auto upload from local wiki"
            },
            {
                "logid": 183,
                "ns": 6,
                "title": "\u6587\u4ef6:\u94dc\u5e01\u94b1\u5305\uff08\u5408\u6210\u914d\u65b9\uff09.png",
                "pageid": 103,
                "logpage": 103,
                "revid": 224,
                "params": {
                    "img_sha1": "dc2tvxntvin4nl7mzy0y75emk1mvwh1",
                    "img_timestamp": "2025-12-23T22:35:45Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:35:45Z",
                "comment": "Auto upload from local wiki"
            },
            {
                "logid": 182,
                "ns": 6,
                "title": "\u6587\u4ef6:\u94c1\u5e01\u94b1\u5305\uff08\u5408\u6210\u914d\u65b9\uff09.png",
                "pageid": 102,
                "logpage": 102,
                "revid": 223,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:35:44Z",
                "comment": "Auto upload from local wiki"
            },
            {
                "logid": 181,
                "ns": 6,
                "title": "\u6587\u4ef6:\u94c1\u5e01\u94b1\u5305\uff08\u5408\u6210\u914d\u65b9\uff09.png",
                "pageid": 102,
                "logpage": 102,
                "revid": 223,
                "params": {
                    "img_sha1": "e2ext60xy5soioqn4wuf65mioroehrq",
                    "img_timestamp": "2025-12-23T22:35:44Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:35:44Z",
                "comment": "Auto upload from local wiki"
            },
            {
                "logid": 180,
                "ns": 6,
                "title": "\u6587\u4ef6:\u94bb\u77f3\u94b1\u5305\uff08\u5408\u6210\u914d\u65b9\uff09.png",
                "pageid": 101,
                "logpage": 101,
                "revid": 222,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:35:44Z",
                "comment": "Auto upload from local wiki"
            },
            {
                "logid": 179,
                "ns": 6,
                "title": "\u6587\u4ef6:\u94bb\u77f3\u94b1\u5305\uff08\u5408\u6210\u914d\u65b9\uff09.png",
                "pageid": 101,
                "logpage": 101,
                "revid": 222,
                "params": {
                    "img_sha1": "a6rg2h37qf9kaz61jndzn6e91tfzls6",
                    "img_timestamp": "2025-12-23T22:35:44Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:35:44Z",
                "comment": "Auto upload from local wiki"
            },
            {
                "logid": 178,
                "ns": 6,
                "title": "\u6587\u4ef6:\u91d1\u5e01\u94b1\u5305\uff08\u5408\u6210\u914d\u65b9\uff09.png",
                "pageid": 100,
                "logpage": 100,
                "revid": 221,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:35:43Z",
                "comment": "Auto upload from local wiki"
            },
            {
                "logid": 177,
                "ns": 6,
                "title": "\u6587\u4ef6:\u91d1\u5e01\u94b1\u5305\uff08\u5408\u6210\u914d\u65b9\uff09.png",
                "pageid": 100,
                "logpage": 100,
                "revid": 221,
                "params": {
                    "img_sha1": "ashghxfkbr1r1owzpj9e89lj5fkcejq",
                    "img_timestamp": "2025-12-23T22:35:43Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Gardel",
                "timestamp": "2025-12-23T22:35:43Z",
                "comment": "Auto upload from local wiki"
            }
        ]
    }
}