MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20190826032029|22",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 32,
                "ns": 0,
                "title": "Nginx",
                "pageid": 27,
                "logpage": 27,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Yaosong",
                "timestamp": "2023-06-15T05:59:25Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c==location\u7684\u4f18\u5148\u7ea7==  \u5728Nginx\u4e2d\uff0clocation\u7684\u4f18\u5148\u7ea7\u987a\u5e8f\u5982\u4e0b\uff1a  *\u7cbe\u786e\u5339\u914d\uff08=\uff09 *\u524d\u7f00\u5b57\u7b26\u4e32\u5339\u914d\uff08^~\uff09 *\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\uff08~\u548c~*\uff09 *\u2026\u201d"
            },
            {
                "logid": 31,
                "ns": 0,
                "title": "Golang",
                "pageid": 26,
                "logpage": 26,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Yaosong",
                "timestamp": "2023-01-13T09:30:15Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<br /><blockquote></blockquote>  <code>pprofFile, pprofErr := os.Create(\"cpu.pprof\")</code>   <code>if pprofErr != nil {</code>     <code>log.Fatal(pprofErr)</code>\u2026\u201d"
            },
            {
                "logid": 30,
                "ns": 0,
                "title": "\u8def\u7531\u5668",
                "pageid": 25,
                "logpage": 25,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Yaosong",
                "timestamp": "2019-12-28T06:11:10Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u5c0f\u7c73\u8def\u7531\u5668ss  \u5c0f\u7c73\u8def\u7531\u5668ssh\u6743\u9650   \u5b89\u88c5misstar\u5de5\u5177\u7bb1 https://bbs.misstar.com/?thread-6.htm  \u7528\u4e0d\u4e86\u95ee\u9898\u4fee\u590d https://bbs.misstar.com/?thread-191\u2026\u201d"
            },
            {
                "logid": 29,
                "ns": 0,
                "title": "Nas",
                "pageid": 24,
                "logpage": 24,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Yaosong",
                "timestamp": "2019-12-10T14:38:28Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u8bb0\u5f55\u4e0bqnap ts453bmini\u7684\u88c5\u673a\u6d41\u7a0b\u3002  # \u8d2d\u4e70 ## \u4eac\u4e1c\u4e70\u7684ts453bmini ## \u4e1c\u829dTR200 480G ssd\u3002\u673a\u5668\u4e0d\u5e26\u786c\u76d8\uff0c\u4e70\u4e86\u4e2assd\u653e\u7b2c\u4e00\u4e2a\u76d8\u4f4d\uff0c\u6253\u7b97\u2026\u201d"
            },
            {
                "logid": 28,
                "ns": 6,
                "title": "\u6587\u4ef6:F450Gdmz\u8bbe\u7f6e.png",
                "pageid": 23,
                "logpage": 23,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Yaosong",
                "timestamp": "2019-12-10T14:05:31Z",
                "comment": ""
            },
            {
                "logid": 27,
                "ns": 6,
                "title": "\u6587\u4ef6:F450Gdmz\u8bbe\u7f6e.png",
                "pageid": 23,
                "logpage": 23,
                "params": {
                    "img_sha1": "pmxa1wojvuzfb2hkil1eh4hrg0sjiub",
                    "img_timestamp": "2019-12-10T14:05:31Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Yaosong",
                "timestamp": "2019-12-10T14:05:31Z",
                "comment": ""
            },
            {
                "logid": 26,
                "ns": 0,
                "title": "\u7b97\u6cd5",
                "pageid": 22,
                "logpage": 22,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Yaosong",
                "timestamp": "2019-11-28T09:37:27Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c== \u5e38\u7528\u9650\u6d41\u7b97\u6cd5\u8bbe\u8ba1 == * \u8ba1\u6570\u5668\u6cd5 * \u6f0f\u6876\u7b97\u6cd5 * \u4ee4\u724c\u6876\u7b97\u6cd5\u201d"
            },
            {
                "logid": 25,
                "ns": 0,
                "title": "\u529e\u4e8b",
                "pageid": 21,
                "logpage": 21,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Yaosong",
                "timestamp": "2019-11-18T10:15:19Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c  [http://ggfw.rsj.sh.gov.cn/ \u4e0a\u6d77\u5e02\u4eba\u529b\u8d44\u6e90\u548c\u793e\u4f1a\u4fdd\u969c\u5c40\u516c\u5171\u670d\u52a1\u5e73\u53f0]\u201d"
            },
            {
                "logid": 24,
                "ns": 0,
                "title": "Windows",
                "pageid": 20,
                "logpage": 20,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Yaosong",
                "timestamp": "2019-11-18T10:03:54Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c== \u67e5\u770b80\u7aef\u53e3\u5360\u7528\u7684\u7a0b\u5e8f == # netstat  -aon|findstr  \"80\" # \u62ff\u5230\u4e0a\u4e00\u6b65\u8fd4\u56de\u7684pid\uff0ctasklist|findstr {{PID}}\u201d"
            },
            {
                "logid": 23,
                "ns": 0,
                "title": "\u9762\u8bd5",
                "pageid": 19,
                "logpage": 16,
                "params": {
                    "target_ns": 0,
                    "target_title": "\u5e38\u89c1\u95ee\u9898"
                },
                "type": "move",
                "action": "move",
                "user": "Yaosong",
                "timestamp": "2019-09-02T09:59:19Z",
                "comment": ""
            }
        ]
    }
}