MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json

參見完整文件,或API說明以取得更多資訊。

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20230114155748|821",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 831,
                "ns": 6,
                "title": "\u6a94\u6848:2023-\u97f3\u6a02\u6703.png",
                "pageid": 681,
                "logpage": 681,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Ray",
                "timestamp": "2023-01-15T00:54:29Z",
                "comment": ""
            },
            {
                "logid": 830,
                "ns": 6,
                "title": "\u6a94\u6848:2023-\u97f3\u6a02\u6703.png",
                "pageid": 681,
                "logpage": 681,
                "params": {
                    "img_sha1": "qy4qf18qqo4b3w12aqoq6pacwlgkmul",
                    "img_timestamp": "2023-01-15T00:54:29Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Ray",
                "timestamp": "2023-01-15T00:54:29Z",
                "comment": ""
            },
            {
                "logid": 829,
                "ns": 0,
                "title": "Mediawiki 1.2 \u79fb\u690d\u81f3 1.39",
                "pageid": 680,
                "logpage": 680,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Ray",
                "timestamp": "2023-01-15T00:51:07Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c= \u820a\u7cfb\u7d71\u7248\u672c =  https://wiki.dila.edu.tw/pages/\u7279\u6b8a:Version   * Ubuntu 10 * PHP 5.3.2-1ubuntu4.30 (apache2handler) * MySQL 5.1.73-0ubuntu0.10.04.1 * MediaWiki 1.12.0  * \u4e3b\u6a5f: buddhistinformatics.dila.edu.tw  * \u4e3b\u6a5f\u4e0a\u4f4d\u7f6e\uff1a/data/sites/wiki.ddbc.edu.tw\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 828,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:Ray",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 3
                },
                "type": "newusers",
                "action": "create2",
                "user": "Root",
                "timestamp": "2023-01-15T00:39:28Z",
                "comment": ""
            },
            {
                "logid": 827,
                "ns": 6,
                "title": "\u6a94\u6848:Pro-git-4-15.png",
                "pageid": 679,
                "logpage": 679,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Root",
                "timestamp": "2023-01-14T15:57:48Z",
                "comment": "== \u6458\u8981 ==\nImporting file"
            },
            {
                "logid": 826,
                "ns": 6,
                "title": "\u6a94\u6848:Pro-git-4-15.png",
                "pageid": 679,
                "logpage": 679,
                "params": {
                    "img_sha1": "qwb7n8q8poa3qtt0mvd7y4u22ruei4i",
                    "img_timestamp": "2023-01-14T15:57:48Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Root",
                "timestamp": "2023-01-14T15:57:48Z",
                "comment": "== \u6458\u8981 ==\nImporting file"
            },
            {
                "logid": 825,
                "ns": 6,
                "title": "\u6a94\u6848:\u4e0a\u4e0b\u677f\u773c.png",
                "pageid": 678,
                "logpage": 678,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Root",
                "timestamp": "2023-01-14T15:57:48Z",
                "comment": "== \u6458\u8981 ==\nImporting file"
            },
            {
                "logid": 824,
                "ns": 6,
                "title": "\u6a94\u6848:\u4e0a\u4e0b\u677f\u773c.png",
                "pageid": 678,
                "logpage": 678,
                "params": {
                    "img_sha1": "mw5a9fj0imp430omunmd8fpks3ek3ck",
                    "img_timestamp": "2023-01-14T15:57:48Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Root",
                "timestamp": "2023-01-14T15:57:48Z",
                "comment": "== \u6458\u8981 ==\nImporting file"
            },
            {
                "logid": 823,
                "ns": 6,
                "title": "\u6a94\u6848:Pro-git-3-9.png",
                "pageid": 677,
                "logpage": 677,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Root",
                "timestamp": "2023-01-14T15:57:48Z",
                "comment": "== \u6458\u8981 ==\nImporting file"
            },
            {
                "logid": 822,
                "ns": 6,
                "title": "\u6a94\u6848:Pro-git-3-9.png",
                "pageid": 677,
                "logpage": 677,
                "params": {
                    "img_sha1": "k75juirhy0z1bb393d4yh03c13k16tg",
                    "img_timestamp": "2023-01-14T15:57:48Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Root",
                "timestamp": "2023-01-14T15:57:48Z",
                "comment": "== \u6458\u8981 ==\nImporting file"
            }
        ]
    }
}