MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "qpoffset": 10,
        "continue": "-||"
    },
    "query": {
        "querypage": {
            "name": "Ancientpages",
            "results": [
                {
                    "value": "20060902094003",
                    "timestamp": "2006-09-02T09:40:03Z",
                    "ns": 0,
                    "title": "\u9996\u9801"
                },
                {
                    "value": "20060903181727",
                    "timestamp": "2006-09-03T18:17:27Z",
                    "ns": 0,
                    "title": "GDB Usage"
                },
                {
                    "value": "20060903184153",
                    "timestamp": "2006-09-03T18:41:53Z",
                    "ns": 0,
                    "title": "\u7db2\u8def\u8df3\u7dda"
                },
                {
                    "value": "20060903184242",
                    "timestamp": "2006-09-03T18:42:42Z",
                    "ns": 0,
                    "title": "\u7db2\u8def\u983b\u5bec\u898f\u683c"
                },
                {
                    "value": "20060903213110",
                    "timestamp": "2006-09-03T21:31:10Z",
                    "ns": 0,
                    "title": "\u70ba FreeBSD \u52a0\u5165 ipfw \u9632\u706b\u7246"
                },
                {
                    "value": "20060903214637",
                    "timestamp": "2006-09-03T21:46:37Z",
                    "ns": 0,
                    "title": "\u8b93 sendmail \u64cb\u9664\u6d6e\u52d5 IP \u50b3\u9001\u7684\u4fe1\u4ef6"
                },
                {
                    "value": "20060903215010",
                    "timestamp": "2006-09-03T21:50:10Z",
                    "ns": 0,
                    "title": "\u70ba sendmail \u7684\u5916\u9001\u4fe1\u4ef6\u52a0\u5165\u5bc4\u4ef6\u8005\u8eab\u4efd\u8a8d\u8b49\u8cc7\u8a0a"
                },
                {
                    "value": "20060903220449",
                    "timestamp": "2006-09-03T22:04:49Z",
                    "ns": 0,
                    "title": "Advice for Computer Science College Students"
                },
                {
                    "value": "20061204221304",
                    "timestamp": "2006-12-04T22:13:04Z",
                    "ns": 0,
                    "title": "FREEBSD SECURITY HOW-TO"
                },
                {
                    "value": "20061230062520",
                    "timestamp": "2006-12-30T06:25:20Z",
                    "ns": 0,
                    "title": "\u4f7f\u7528 MRTG \u642d\u914d Net-SNMP \u76e3\u6e2c\u7cfb\u7d71\u7db2\u8def\u6d41\u91cf"
                }
            ]
        }
    }
}