MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250223014501|1",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 11,
                "ns": 0,
                "title": "\u6bd4\u5229\u00b7\u6d77\u7075\u987f",
                "pageid": 6,
                "logpage": 6,
                "revid": 12,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "NowaraShone",
                "timestamp": "2025-02-25T10:23:53Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c='''''\u6bd4\u5229\u00b7\u6d77\u7075\u987f'''''=\u201d"
            },
            {
                "logid": 10,
                "ns": 2,
                "title": "\u7528\u6237:\u767d\u5495\u5495",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "bot"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "bot",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "NowaraShone",
                "timestamp": "2025-02-25T09:49:48Z",
                "comment": ""
            },
            {
                "logid": 9,
                "ns": 2,
                "title": "\u7528\u6237:\u4e16\u79cb",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "sysop",
                        "interface-admin",
                        "bureaucrat",
                        "suppress",
                        "push-subscription-manager"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "suppress",
                            "expiry": "infinity"
                        },
                        {
                            "group": "push-subscription-manager",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "NowaraShone",
                "timestamp": "2025-02-25T09:25:07Z",
                "comment": ""
            },
            {
                "logid": 8,
                "ns": 4,
                "title": "\u54f2\u2642\u5b66\u4e2d\u6587\u7ef4\u57fa:\u9690\u79c1\u653f\u7b56",
                "pageid": 5,
                "logpage": 5,
                "revid": 8,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "NowaraShone",
                "timestamp": "2025-02-25T08:22:19Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u54f2\u5b66\u4e2d\u6587\u7ef4\u57fa\u975e\u5e38\u91cd\u89c6\u4fe1\u606f\u7684\u4fdd\u62a4\uff0c\u5728\u4f7f\u7528\u54f2\u5b66\u4e2d\u6587\u7ef4\u57fa\u7684\u6240\u6709\u4ea7\u54c1\u548c\u670d\u52a1\u524d\uff0c\u8bf7\u60a8\u52a1\u5fc5\u4ed4\u7ec6\u9605\u8bfb\u5e76\u900f\u5f7b\u7406\u89e3\u672c\u58f0\u660e\u3002\u4e00\u65e6\u60a8\u9009\u62e9\u4f7f\u7528\uff0c\u5373\u8868\u793a\u60a8\u8ba4\u53ef\u5e76\u63a5\u53d7\u672c\u6761\u6b3e\u73b0\u6709\u5185\u5bb9\u53ca\u5176\u53ef\u80fd\u968f\u65f6\u66f4\u65b0\u7684\u5185\u5bb9\u3002  \u9664\u4e86\u5728\u6cd5\u5f8b\u8981\u6c42\u8303\u56f4\u5185\uff0c\u4efb\u4f55\u4eba\u90fd\u4e0d\u5f97\u62ab\u9732\u6216\u6545\u610f\u66b4\u9732\u7528\u6237\u5bc6\u7801 \u548c/\u6216 \u4e3a\u8bc6\u522b\u7528\u6237\u800c\u751f\u6210\u7684Cookie\u3002\u7528\u6237\u5e10\u6237\u4e00\u65e6\u5efa\u7acb\u5c31\u4e0d\u80fd\u88ab\u5220\u9664\u3002\u6839\u636e\u5404\u4e2a\u72ec\u7acb\u9879\u76ee\u2026\u201d"
            },
            {
                "logid": 7,
                "ns": 4,
                "title": "\u54f2\u2642\u5b66\u4e2d\u6587\u7ef4\u57fa:\u514d\u8d23\u58f0\u660e",
                "pageid": 4,
                "logpage": 4,
                "revid": 7,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "NowaraShone",
                "timestamp": "2025-02-25T08:19:09Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div style=\"text-align: center; font-size: x-large; padding: 1em;\">\u54f2\u5b66\u4e2d\u6587\u7ef4\u57fa\u4e0d\u4fdd\u8bc1\u5176\u5185\u5bb9\u7684\u6b63\u786e\u6027</div>  \u54f2\u5b66\u4e2d\u6587\u7ef4\u57fa\u4ee5\u53ca\u54f2\u5b66\u4e2d\u6587\u7ef4\u57fa\u4e4b\u5b50\u7ad9\u70b9\u6240\u6709\u8bbe\u5b9a\u90fd\u4e0d\u5177\u6709\u73b0\u5b9e\u53ef\u6bd4\u6027\uff0c\u4efb\u4f55\u5c06\u672cWIKI\u4e2d\u8bbe\u5b9a\u4e0e\u73b0\u5b9e\u5bf9\u6bd4\u7684\u884c\u4e3a\u90fd\u662f\u65e0\u8da3\u4ee5\u53ca\u65e0\u7528\u7684\u3002  \u4efb\u4f55\u51fa\u73b0\u7684 \u79d1\u5b66\u672f\u8bed\u3001\u516c\u5f0f\u3001\u5b9a\u5f8b\u90fd\u4e0d\u4fdd\u8bc1\u5177\u6709\u5b8c\u5168\u7684\u79d1\u5b66\u6027\uff1b\u56fd\u5bb6\u3001\u5730\u533a\u3001\u5730\u7406\u8bbe\u5b9a\u4ea6\u4e0d\u5f71\u5c04\u4efb\u4f55\u73b0\u5b9e\u5b58\u5728\u3002  *\u7531\u4e8ewiki\u91c7\u2026\u201d"
            },
            {
                "logid": 6,
                "ns": 4,
                "title": "\u54f2\u2642\u5b66\u4e2d\u6587\u7ef4\u57fa:\u5173\u4e8e",
                "pageid": 3,
                "logpage": 3,
                "revid": 6,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "NowaraShone",
                "timestamp": "2025-02-25T08:15:21Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c===\u54f2\u2642\u5b66\u4e2d\u6587\u7ef4\u57fa\u662f\u7531\u56fd\u5185\u54f2\u5b66\u7231\u597d\u8005\u56e2\u4f53--\u5929\u6ee1\u5bab\u642d\u5efa\u5e76\u534f\u4f5c\u7f16\u5199\u7684\u975e\u8425\u5229wiki\u7c7b\u8d44\u6599\u7ad9\u70b9\u3002=== \u5929\u6ee1\u5babQQ\u7fa4\u804a\u94fe\u63a5\uff1ahttps://qm.qq.com/q/57AvTuoxgA\u201d"
            },
            {
                "logid": 5,
                "ns": 2,
                "title": "\u7528\u6237:\u767d\u5495\u5495",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 5
                },
                "type": "newusers",
                "action": "create",
                "user": "\u767d\u5495\u5495",
                "timestamp": "2025-02-25T06:06:44Z",
                "comment": ""
            },
            {
                "logid": 4,
                "ns": 8,
                "title": "MediaWiki:Common.css",
                "pageid": 2,
                "logpage": 2,
                "revid": 2,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "NowaraShone",
                "timestamp": "2025-02-25T00:19:14Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c#p-logo a {     background-size: contain !important;     background-position: center !important;     width: 135px !important;     height: 135px !important; }\u201d"
            },
            {
                "logid": 3,
                "ns": 2,
                "title": "\u7528\u6237:\u4e16\u79cb",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 4
                },
                "type": "newusers",
                "action": "create",
                "user": "\u4e16\u79cb",
                "timestamp": "2025-02-23T02:54:25Z",
                "comment": ""
            },
            {
                "logid": 2,
                "ns": 2,
                "title": "\u7528\u6237:\u5c0f\u4ef6\u8d27",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 3
                },
                "type": "newusers",
                "action": "create",
                "user": "\u5c0f\u4ef6\u8d27",
                "timestamp": "2025-02-23T02:07:47Z",
                "comment": ""
            }
        ]
    }
}