MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250309013234|2136",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 2146,
                "ns": 0,
                "title": "JdbcTemplate \u6279\u91cf\u64cd\u4f5c",
                "pageid": 1564,
                "logpage": 1564,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-06-07T09:37:25Z",
                "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c1\u201d\u7684\u65b0\u9875\u9762"
            },
            {
                "logid": 2145,
                "ns": 0,
                "title": "Dockerfile",
                "pageid": 1563,
                "logpage": 1563,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-06-05T12:43:16Z",
                "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c1\u201d\u7684\u65b0\u9875\u9762"
            },
            {
                "logid": 2144,
                "ns": 0,
                "title": "\u652f\u6301 HTTPS",
                "pageid": 1562,
                "logpage": 1562,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-06-04T12:57:13Z",
                "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c\u652f\u6301\u201d\u7684\u65b0\u9875\u9762"
            },
            {
                "logid": 2143,
                "ns": 0,
                "title": "Java String \u5b57\u7b26\u4e32\u6c60",
                "pageid": 1561,
                "logpage": 1561,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-03-23T03:16:41Z",
                "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c<syntaxhighlight lang=\"java\"> public class StringPoolTest {      // \u6d4b\u8bd5\u4f7f\u7528\u53cc\u5f15\u53f7\u521b\u5efa\u5b57\u7b26\u4e32     public static void testStringLiteral() {         Stri\u2026\u201d\u7684\u65b0\u9875\u9762"
            },
            {
                "logid": 2142,
                "ns": 0,
                "title": "Eclipse Memory Analyzer\uff08MAT\uff09\u5206\u6790JVM\u5806\u8f6c\u50a8\u6587\u4ef6",
                "pageid": 1560,
                "logpage": 1560,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-03-09T01:50:43Z",
                "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c\u72ec\u7acb\u5305\u4e0b\u8f7d\u5730\u5740\uff1a  https://eclipse.dev/mat/download/\u201d\u7684\u65b0\u9875\u9762"
            },
            {
                "logid": 2141,
                "ns": 0,
                "title": "Jmap",
                "pageid": 1559,
                "logpage": 1555,
                "params": {
                    "target_ns": 0,
                    "target_title": "Jmap dump JVM heap"
                },
                "type": "move",
                "action": "move",
                "user": "Jihongchang",
                "timestamp": "2025-03-09T01:38:10Z",
                "comment": ""
            },
            {
                "logid": 2140,
                "ns": 0,
                "title": "Jhat",
                "pageid": 1558,
                "logpage": 1556,
                "params": {
                    "target_ns": 0,
                    "target_title": "Jhat \u5206\u6790JVM\u5806\u8f6c\u50a8\u6587\u4ef6"
                },
                "type": "move",
                "action": "move",
                "user": "Jihongchang",
                "timestamp": "2025-03-09T01:37:22Z",
                "comment": ""
            },
            {
                "logid": 2139,
                "ns": 0,
                "title": "Jhat \u5206\u6790JVM\u5806\u8f6c\u50a8\u6587\u4ef6",
                "pageid": 1556,
                "logpage": 1557,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Jihongchang",
                "timestamp": "2025-03-09T01:37:22Z",
                "comment": "\u5220\u9664\u4ee5\u4fbf\u79fb\u52a8[[Jhat]]"
            },
            {
                "logid": 2138,
                "ns": 0,
                "title": "Jhat \u5206\u6790JVM\u5806\u8f6c\u50a8\u6587\u4ef6",
                "pageid": 1556,
                "logpage": 1557,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-03-09T01:36:24Z",
                "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c[[Jhat]]\u201d\u7684\u65b0\u9875\u9762"
            },
            {
                "logid": 2137,
                "ns": 0,
                "title": "Jhat",
                "pageid": 1558,
                "logpage": 1556,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-03-09T01:35:34Z",
                "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c<syntaxhighlight lang=\"bat\"> jhat heapdump.hprof </syntaxhighlight>\u201d\u7684\u65b0\u9875\u9762"
            }
        ]
    }
}