MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "rccontinue": "20190215203002|2001",
        "continue": "-||"
    },
    "query": {
        "recentchanges": [
            {
                "type": "log",
                "ns": 0,
                "title": "\u514d\u5bc6\u78bc\u5c31\u80fd\u4ee5 ssh \u767b\u5165\u5176\u4ed6\u4e3b\u6a5f",
                "pageid": 1441,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2011,
                "timestamp": "2023-06-18T20:23:03Z"
            },
            {
                "type": "log",
                "ns": 0,
                "title": "Ubench",
                "pageid": 1559,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2010,
                "timestamp": "2021-02-28T19:56:29Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u5728 FreeBSD \u4e0a\u4f7f\u7528 rsync \u5099\u4efd/\u50b3\u8f38\u8cc7\u6599",
                "pageid": 1436,
                "revid": 1830,
                "old_revid": 1749,
                "rcid": 2009,
                "timestamp": "2019-06-18T17:39:40Z"
            },
            {
                "type": "log",
                "ns": 0,
                "title": "\u6c99\u76d2",
                "pageid": 1410,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2008,
                "timestamp": "2019-06-18T17:38:19Z"
            },
            {
                "type": "log",
                "ns": 0,
                "title": "FreeBSD UFS2 acl \u521d\u63a2",
                "pageid": 1430,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2007,
                "timestamp": "2019-06-18T17:35:21Z"
            },
            {
                "type": "log",
                "ns": 0,
                "title": "Apache Web Server tunning",
                "pageid": 1574,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2006,
                "timestamp": "2019-06-18T17:34:32Z"
            },
            {
                "type": "log",
                "ns": 0,
                "title": "DomingoFrazer244920",
                "pageid": 1651,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2005,
                "timestamp": "2019-06-18T17:33:01Z"
            },
            {
                "type": "log",
                "ns": 0,
                "title": "Apache Web Server performance tunning",
                "pageid": 1573,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2004,
                "timestamp": "2019-06-18T17:32:30Z"
            },
            {
                "type": "edit",
                "ns": 0,
                "title": "\u70ba sendmail \u52a0\u639b milter-greylist",
                "pageid": 1440,
                "revid": 1829,
                "old_revid": 1499,
                "rcid": 2003,
                "timestamp": "2019-02-15T20:31:22Z"
            },
            {
                "type": "log",
                "ns": 6,
                "title": "\u6a94\u6848:Wiki.png",
                "pageid": 1423,
                "revid": 0,
                "old_revid": 0,
                "rcid": 2002,
                "timestamp": "2019-02-15T20:30:14Z"
            }
        ]
    }
}