MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "qpoffset": 10,
        "continue": "-||"
    },
    "query": {
        "querypage": {
            "name": "Ancientpages",
            "results": [
                {
                    "value": "20180122085336",
                    "timestamp": "2018-01-22T08:53:36Z",
                    "ns": 0,
                    "title": "P2P"
                },
                {
                    "value": "20180122140156",
                    "timestamp": "2018-01-22T14:01:56Z",
                    "ns": 0,
                    "title": "Algorithm"
                },
                {
                    "value": "20180122140157",
                    "timestamp": "2018-01-22T14:01:57Z",
                    "ns": 0,
                    "title": "Pager"
                },
                {
                    "value": "20180122140157",
                    "timestamp": "2018-01-22T14:01:57Z",
                    "ns": 0,
                    "title": "Beacon"
                },
                {
                    "value": "20180122140158",
                    "timestamp": "2018-01-22T14:01:58Z",
                    "ns": 0,
                    "title": "Build"
                },
                {
                    "value": "20180122140159",
                    "timestamp": "2018-01-22T14:01:59Z",
                    "ns": 0,
                    "title": "Daemon"
                },
                {
                    "value": "20180122140200",
                    "timestamp": "2018-01-22T14:02:00Z",
                    "ns": 0,
                    "title": "Hierarchy"
                },
                {
                    "value": "20180122140200",
                    "timestamp": "2018-01-22T14:02:00Z",
                    "ns": 0,
                    "title": "Driver"
                },
                {
                    "value": "20180122140201",
                    "timestamp": "2018-01-22T14:02:01Z",
                    "ns": 0,
                    "title": "Promise"
                },
                {
                    "value": "20180122140202",
                    "timestamp": "2018-01-22T14:02:02Z",
                    "ns": 0,
                    "title": "RAM disk"
                }
            ]
        }
    }
}