MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250428160831|930",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 940,
                "ns": 0,
                "title": "\u5bb9\u5668\u8fdb\u7a0b\u56e0io\u5bfc\u81f4cacheMemory\u8f83\u9ad8\u5904\u7406\u968f\u8bb0",
                "pageid": 431,
                "logpage": 431,
                "revid": 1681,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-10-22T10:18:45Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u5c31\u597d\u50cfharbor\u7684registry\u5bb9\u5668\uff0c\u56e0\u4e3a\u7ecf\u5e38\u6709io\uff0c\u6240\u4ee5\u6bd4\u8f83\u5bb9\u6613\u89e6\u53d1\u8fd9\u79cd\u73b0\u8c61\u3002   \u6216\u8005\u9891\u7e41\u8ffd\u52a0\u5199\u65e5\u5fd7\u5230\u6587\u4ef6\u7684\u8fdb\u7a0b\uff0c\u4e5f\u4f1a\u89e6\u53d1\u8fd9\u79cd\u73b0\u8c61    \u5982\u679c\u662fcgroup2\uff0c\u5c31\u53ef\u4ee5\u7528cgroup2 \u7684mem.high\u5904\u7406\u3002\u627e\u5230\u76f8\u5e94\u7684cgroup2\u8def\u5f84\uff0c\u914d\u7f6emem.high\u5373\u53ef    \u4ee5harbor\u4e3a\u4f8b   ffffff [[\u5206\u7c7b:K8s]] {{DEFAULTSORT:container\u5bb9\u5668\u8fdb\u7a0b\u56e0io\u5bfc\u81f4cacheMemory\u8f83\u9ad8\u5904\u7406\u968f\u8bb0}}\u201d"
            },
            {
                "logid": 939,
                "ns": 0,
                "title": "Nexus3-\u8fd0\u7ef4\u968f\u8bb0",
                "pageid": 430,
                "logpage": 430,
                "revid": 1671,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-09-26T10:41:51Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201csonatype nexus3  === \u6309\u7167repository \u7edf\u8ba1\u7a7a\u95f4\u5360\u7528 ===  java -jar ./lib/support/nexus-orient-console.jar    CONNECT PLOCAL:/nexus-data/db/component admin admin      select bucket.repository_name as repository,sum(size) as bytes from asset group by bucket.repository_name order by bytes desc limit 10;\u201d"
            },
            {
                "logid": 938,
                "ns": 0,
                "title": "\u5bb9\u5668\u4e3b\u52a8\u56de\u6536cache-memory\u968f\u8bb0",
                "pageid": 429,
                "logpage": 429,
                "revid": 1669,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-09-22T07:35:33Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u6682\u8bb0\uff0c\u5f85\u8be6\u7ec6\u6d4b\u8bd5  \u901a\u8fc7\u4fee\u6539cgroup2 \u7684memory.high \u53ef\u4ee5\u89e6\u53d1\u7cfb\u7edf\u5230\u8fbe\u7279\u5b9a\u503c\u65f6\u56de\u6536\u5185\u5b58  \u5f71\u54cd\u9762\u5f85\u8bc4\u4f30\u3002  \u5bf9\u90a3\u79cd\u56e0\u4e3a\u64cd\u4f5c\u6587\u4ef6\u8bfb\u5199\u5e26\u6765\u7684cache memory\u5360\u7528\uff0c\u7279\u522b\u4f7f\u7528\uff0c\u5982harbor \u7684 registry \u8fdb\u7a0b   \u9700\u8981\u66f4\u8fdb\u4e00\u6b65\u7684\u6d4b\u8bd5\uff1a  \u5728\u4e0d\u4eba\u4e3a\u5e72\u9884memory.high \u7684\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u4e00\u4e2a\u5bb9\u5668cache memory \u975e\u5e38\u9ad8\uff0crss\u975e\u5e38\u4f4e\uff0c\u5230\u8fbe99\u7cfb\u7edf\u662f\u5426\u4f1a\u56de\u6536\uff1f\u4e3a\u4ec0\u4e48\u56de\u6536\uff1f\u4ec0\u4e48\u53c2\u6570\u63a7\u5236?  \u5185\u6838\u53c2\u6570 <c\u2026\u201d"
            },
            {
                "logid": 937,
                "ns": 0,
                "title": "\u4e00\u4e9bmikrotik-routeros-script\u6298\u817e\u968f\u8bb0",
                "pageid": 0,
                "logpage": 420,
                "revid": 1663,
                "params": {
                    "target_ns": 0,
                    "target_title": "\u4e00\u4e9brouteros-script\u6298\u817e\u968f\u8bb0",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "Admin",
                "timestamp": "2025-07-28T07:18:08Z",
                "comment": ""
            },
            {
                "logid": 936,
                "ns": 0,
                "title": "\u4e00\u4e9brouteros-script\u6298\u817e\u968f\u8bb0",
                "pageid": 420,
                "logpage": 420,
                "revid": 1661,
                "params": {
                    "target_ns": 0,
                    "target_title": "\u4e00\u4e9bmikrotik-routeros-script\u6298\u817e\u968f\u8bb0",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "Admin",
                "timestamp": "2025-07-28T07:14:59Z",
                "comment": ""
            },
            {
                "logid": 935,
                "ns": 0,
                "title": "Elasticsearch7\u5728\u5bb9\u5668\u4e2d\u8fd0\u884c\u7684\u65f6\u5019\u662f\u600e\u4e48\u611f\u77e5\u5230\u5185\u5b58limit\u7136\u540e\u4f20\u9012\u7ed9java\u7684xms\u548cxmx\u53c2\u6570",
                "pageid": 428,
                "logpage": 428,
                "revid": 1654,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-06-19T05:46:33Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u9996\u5148\uff0c\u770b\u4e00\u4e0belasticsearch\u5bb9\u5668\u7684\u542f\u52a8\u547d\u4ee4\uff0c\u907f\u514d\u88ab<code>exec</code> \u8ff7\u60d1  [root@gzu1 ~]# docker inspect 1.1.1.1/library/elasticsearch:7.17.5| jq '.[].ContainerConfig | {Cmd,Entrypoint} '  {    \"Cmd\": [      \"/bin/sh\",      \"-c\",      \"#(nop) \",      \"CMD [\\\"eswrapper\\\"]\"    ],    \"Entrypoint\": [      \"/bin/tini\",      \"--\",      \"/usr/local/bin/docker-entrypoint.sh\"    ]  } \u8fdb\u5165\u5230 es \u5bb9\u5668\u4e2d\u786e\u8ba4\uff0c\u4e0e1\u53f7\u8fdb\u7a0b\u662f\u9884\u671f\u4e00\u81f4\u7684  [root@gz\u2026\u201d"
            },
            {
                "logid": 934,
                "ns": 6,
                "title": "\u6587\u4ef6:Kubectl apply patch strategy.png",
                "pageid": 427,
                "logpage": 427,
                "revid": 1650,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-05-07T10:42:11Z",
                "comment": ""
            },
            {
                "logid": 933,
                "ns": 6,
                "title": "\u6587\u4ef6:Kubectl apply patch strategy.png",
                "pageid": 427,
                "logpage": 427,
                "revid": 1650,
                "params": {
                    "img_sha1": "a2f1cejse0lyw7mjm6esomcidm3ggtf",
                    "img_timestamp": "2025-05-07T10:42:10Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Admin",
                "timestamp": "2025-05-07T10:42:10Z",
                "comment": ""
            },
            {
                "logid": 932,
                "ns": 6,
                "title": "\u6587\u4ef6:Kubectl apply merge.png",
                "pageid": 426,
                "logpage": 426,
                "revid": 1649,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Admin",
                "timestamp": "2025-05-07T10:39:49Z",
                "comment": ""
            },
            {
                "logid": 931,
                "ns": 6,
                "title": "\u6587\u4ef6:Kubectl apply merge.png",
                "pageid": 426,
                "logpage": 426,
                "revid": 1649,
                "params": {
                    "img_sha1": "cg7mj4wrcwgahlahx30eo5vsdxehcud",
                    "img_timestamp": "2025-05-07T10:39:49Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Admin",
                "timestamp": "2025-05-07T10:39:49Z",
                "comment": ""
            }
        ]
    }
}