MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "qpoffset": 10,
        "continue": "-||"
    },
    "query": {
        "querypage": {
            "name": "Ancientpages",
            "results": [
                {
                    "value": "20210905083249",
                    "timestamp": "2021-09-05T08:32:49Z",
                    "ns": 0,
                    "title": "Main Page"
                },
                {
                    "value": "20210905225920",
                    "timestamp": "2021-09-05T22:59:20Z",
                    "ns": 0,
                    "title": "Mediawiki\u5b98\u65b9\u7db2\u9801"
                },
                {
                    "value": "20210905235417",
                    "timestamp": "2021-09-05T23:54:17Z",
                    "ns": 0,
                    "title": "\u9ad8\u968e\u99d5\u8a13\u73ed01-02"
                },
                {
                    "value": "20210906050626",
                    "timestamp": "2021-09-06T05:06:26Z",
                    "ns": 0,
                    "title": "2008\u5e74\u651d\u5f71\u4f5c\u54c1\u96c6"
                },
                {
                    "value": "20210906052017",
                    "timestamp": "2021-09-06T05:20:17Z",
                    "ns": 0,
                    "title": "\u4e94\u6708\u5929\u5341\u842c\u4eba\u6f14\u5531\u6703"
                },
                {
                    "value": "20210906052607",
                    "timestamp": "2021-09-06T05:26:07Z",
                    "ns": 0,
                    "title": "2009\u5e74\u651d\u5f71\u4f5c\u54c1\u96c6"
                },
                {
                    "value": "20210906054849",
                    "timestamp": "2021-09-06T05:48:49Z",
                    "ns": 0,
                    "title": "\u6c34\u6e73\u6d1e\u5341\u4e09\u5c64\u7149\u9285\u5ee0"
                },
                {
                    "value": "20210907084650",
                    "timestamp": "2021-09-07T08:46:50Z",
                    "ns": 0,
                    "title": "2015\u5e74\u4f5c\u54c1\u7d00\u9304"
                },
                {
                    "value": "20210907084716",
                    "timestamp": "2021-09-07T08:47:16Z",
                    "ns": 0,
                    "title": "2012\u5e74\u4f5c\u54c1\u7d00\u9304"
                },
                {
                    "value": "20210907084733",
                    "timestamp": "2021-09-07T08:47:33Z",
                    "ns": 0,
                    "title": "2010\u5e74\u4f5c\u54c1\u7d00\u9304"
                }
            ]
        }
    }
}