MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250309013722|2139",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 2149,
                "ns": 0,
                "title": "Python \u521b\u5efa\u865a\u62df\u73af\u5883",
                "pageid": 1566,
                "logpage": 1566,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-07-21T02:02:39Z",
                "comment": "\u5efa\u7acb\u5185\u5bb9\u4e3a\u201c\u4f7f\u7528 Python \u5185\u7f6e\u7684 venv \u6a21\u5757\u521b\u5efa\u865a\u62df\u73af\u5883\uff08Python 3.3+ \u81ea\u5e26\uff09\uff1a<syntaxhighlight lang=\"bat\"> python -m venv myenv </syntaxhighlight>\u6fc0\u6d3b\u865a\u62df\u2026\u201d\u7684\u65b0\u9875\u9762"
            },
            {
                "logid": 2148,
                "ns": 6,
                "title": "\u6587\u4ef6:Jmeter\u4e2d\u5904\u7406\u5668\u7684\u6267\u884c\u987a\u5e8f.png",
                "pageid": 1565,
                "logpage": 1565,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Jihongchang",
                "timestamp": "2025-07-11T15:46:05Z",
                "comment": ""
            },
            {
                "logid": 2147,
                "ns": 6,
                "title": "\u6587\u4ef6:Jmeter\u4e2d\u5904\u7406\u5668\u7684\u6267\u884c\u987a\u5e8f.png",
                "pageid": 1565,
                "logpage": 1565,
                "params": {
                    "img_sha1": "3opf6emnihwjkbp8u7vm9h2s8dnfadi",
                    "img_timestamp": "2025-07-11T15:46:05Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Jihongchang",
                "timestamp": "2025-07-11T15:46:05Z",
                "comment": ""
            },
            {
                "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": ""
            }
        ]
    }
}