MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20240128130738|309",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 638,
                "ns": 0,
                "title": "Ns102:\u6c49\u8bd1\u82f1",
                "pageid": 0,
                "logpage": 391,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "\u91d1\u7559\u5e86",
                "timestamp": "2025-01-08T08:43:16Z",
                "comment": "\u4e0d\u7528\u4e86"
            },
            {
                "logid": 637,
                "ns": 0,
                "title": "Ns102:\u6761\u76ee\u5206\u7c7b",
                "pageid": 0,
                "logpage": 367,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "\u91d1\u7559\u5e86",
                "timestamp": "2025-01-08T08:43:05Z",
                "comment": "\u4e0d\u7528\u4e86"
            },
            {
                "logid": 636,
                "ns": 0,
                "title": "Ns102:\u540c\u4e49\u8bcd",
                "pageid": 0,
                "logpage": 409,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "\u91d1\u7559\u5e86",
                "timestamp": "2025-01-08T08:42:49Z",
                "comment": "\u4e0d\u7528\u4e86"
            },
            {
                "logid": 635,
                "ns": 0,
                "title": "Ns102:\u53cd\u4e49\u8bcd",
                "pageid": 0,
                "logpage": 408,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "\u91d1\u7559\u5e86",
                "timestamp": "2025-01-08T08:42:29Z",
                "comment": "\u4e0d\u7528\u4e86"
            },
            {
                "logid": 634,
                "ns": 6,
                "title": "File:\u73fe\u4ee3\u6f22\u8a9e\u8a5e\u5178\u521d\u7248\u6a23\u66f8\u9001\u6838\u55ae.png",
                "pageid": 1547,
                "logpage": 1547,
                "params": {
                    "img_sha1": "3y2c84hqxb87cm4c7cxfqzriutruce0",
                    "img_timestamp": "2024-02-28T01:51:09Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Imported>\u91d1\u7559\u5e86",
                "anon": "",
                "timestamp": "2024-02-28T01:51:09Z",
                "comment": ""
            },
            {
                "logid": 627,
                "ns": 6,
                "title": "File:\u91d1\u5b57\u793e\u6241\u6b63\u4f53.png",
                "pageid": 1482,
                "logpage": 1482,
                "params": {
                    "img_sha1": "itvr2jau1kp2wafelujy2ayg57r1q2e",
                    "img_timestamp": "2024-01-28T13:10:23Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Imported>\u91d1\u7559\u5e86",
                "anon": "",
                "timestamp": "2024-01-28T13:10:23Z",
                "comment": ""
            },
            {
                "logid": 628,
                "ns": 6,
                "title": "File:\u91d1\u5b57\u793e\u5f97\u6b63\u4f53.png",
                "pageid": 1483,
                "logpage": 1483,
                "params": {
                    "img_sha1": "kqrgfpgqoinkdxrqzros8rhzzoxakmm",
                    "img_timestamp": "2024-01-28T13:09:50Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Imported>\u91d1\u7559\u5e86",
                "anon": "",
                "timestamp": "2024-01-28T13:09:50Z",
                "comment": ""
            },
            {
                "logid": 633,
                "ns": 6,
                "title": "File:\u91d1\u5b57\u793e\u771f\u597d\u4f53.png",
                "pageid": 1535,
                "logpage": 1535,
                "params": {
                    "img_sha1": "eh8s612rwe5adwlhcdcazvbbn256hag",
                    "img_timestamp": "2024-01-28T13:09:28Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Imported>\u91d1\u7559\u5e86",
                "anon": "",
                "timestamp": "2024-01-28T13:09:28Z",
                "comment": ""
            },
            {
                "logid": 632,
                "ns": 6,
                "title": "File:\u91d1\u5b57\u793e\u60f3\u8c61\u4f53.png",
                "pageid": 1534,
                "logpage": 1534,
                "params": {
                    "img_sha1": "7njx8rokw3uu9i3lt6t9kcyh1lfd51r",
                    "img_timestamp": "2024-01-28T13:08:58Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Imported>\u91d1\u7559\u5e86",
                "anon": "",
                "timestamp": "2024-01-28T13:08:58Z",
                "comment": ""
            },
            {
                "logid": 631,
                "ns": 6,
                "title": "File:\u91d1\u5b57\u793e\u6726\u80e7\u4f53.png",
                "pageid": 1533,
                "logpage": 1533,
                "params": {
                    "img_sha1": "ab5kpaz1cn4yr91g00gyqqautamctan",
                    "img_timestamp": "2024-01-28T13:08:37Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Imported>\u91d1\u7559\u5e86",
                "anon": "",
                "timestamp": "2024-01-28T13:08:37Z",
                "comment": ""
            }
        ]
    }
}