MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20060903174835|1472",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2006-08-31T06:48:11Z",
                        "comment": ""
                    },
                    {
                        "revid": 1423,
                        "parentid": 1,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T19:31:29Z",
                        "comment": ""
                    },
                    {
                        "revid": 1424,
                        "parentid": 1423,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T19:31:46Z",
                        "comment": ""
                    },
                    {
                        "revid": 1425,
                        "parentid": 1424,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T19:32:12Z",
                        "comment": ""
                    },
                    {
                        "revid": 1426,
                        "parentid": 1425,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T19:33:04Z",
                        "comment": ""
                    },
                    {
                        "revid": 1428,
                        "parentid": 1426,
                        "user": "203.70.152.52",
                        "anon": "",
                        "timestamp": "2006-09-02T09:39:31Z",
                        "comment": ""
                    },
                    {
                        "revid": 1429,
                        "parentid": 1428,
                        "user": "203.70.152.52",
                        "anon": "",
                        "timestamp": "2006-09-02T09:40:03Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u9996\u9801"
            },
            {
                "pageid": 1405,
                "revisions": [
                    {
                        "revid": 1405,
                        "parentid": 0,
                        "user": "211.22.198.166",
                        "anon": "",
                        "timestamp": "2006-08-31T07:07:53Z",
                        "comment": ""
                    },
                    {
                        "revid": 1430,
                        "parentid": 1405,
                        "user": "203.70.152.52",
                        "anon": "",
                        "timestamp": "2006-09-02T09:40:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 1438,
                        "parentid": 1430,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T09:59:58Z",
                        "comment": "Redirecting to [[\u7279\u6b8a:Categories]]"
                    }
                ],
                "ns": 4,
                "title": "\u555f\u793a\u9304:Community Portal"
            },
            {
                "pageid": 1406,
                "revisions": [
                    {
                        "revid": 1406,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T08:15:50Z",
                        "comment": ""
                    },
                    {
                        "revid": 1407,
                        "parentid": 1406,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T08:17:33Z",
                        "comment": ""
                    },
                    {
                        "revid": 1408,
                        "parentid": 1407,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T08:18:01Z",
                        "comment": ""
                    },
                    {
                        "revid": 1409,
                        "parentid": 1408,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T08:18:53Z",
                        "comment": ""
                    },
                    {
                        "revid": 1410,
                        "parentid": 1409,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T08:19:07Z",
                        "comment": ""
                    },
                    {
                        "revid": 1419,
                        "parentid": 1410,
                        "user": "WikiADM",
                        "timestamp": "2006-08-31T19:14:38Z",
                        "comment": ""
                    },
                    {
                        "revid": 1420,
                        "parentid": 1419,
                        "user": "WikiADM",
                        "timestamp": "2006-08-31T19:15:07Z",
                        "comment": ""
                    }
                ],
                "ns": 4,
                "title": "\u555f\u793a\u9304:\u5e6b\u52a9"
            },
            {
                "pageid": 1407,
                "revisions": [
                    {
                        "revid": 1411,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T08:47:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 1412,
                        "parentid": 1411,
                        "user": "203.70.154.221",
                        "anon": "",
                        "timestamp": "2006-08-31T18:02:11Z",
                        "comment": ""
                    },
                    {
                        "revid": 1413,
                        "parentid": 1412,
                        "user": "203.70.154.221",
                        "anon": "",
                        "timestamp": "2006-08-31T18:54:28Z",
                        "comment": ""
                    },
                    {
                        "revid": 1414,
                        "parentid": 1413,
                        "user": "203.70.154.221",
                        "anon": "",
                        "timestamp": "2006-08-31T19:06:50Z",
                        "comment": ""
                    },
                    {
                        "revid": 1417,
                        "parentid": 1414,
                        "minor": "",
                        "user": "WikiADM",
                        "timestamp": "2006-08-31T19:13:21Z",
                        "comment": "Wiki \u7de8\u8f2f\u8a9e\u6cd5\u5217\u8868\u79fb\u52d5\u5230\u5e6b\u52a9:Wiki \u7de8\u8f2f\u8a9e\u6cd5\u5217\u8868"
                    },
                    {
                        "revid": 1457,
                        "parentid": 1417,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T18:48:33Z",
                        "comment": ""
                    },
                    {
                        "revid": 1458,
                        "parentid": 1457,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T18:49:20Z",
                        "comment": ""
                    }
                ],
                "ns": 12,
                "title": "\u4f7f\u7528\u8aaa\u660e:Wiki \u7de8\u8f2f\u8a9e\u6cd5\u5217\u8868"
            },
            {
                "pageid": 1408,
                "revisions": [
                    {
                        "revid": 1415,
                        "parentid": 0,
                        "user": "203.70.154.221",
                        "anon": "",
                        "timestamp": "2006-08-31T19:08:06Z",
                        "comment": ""
                    },
                    {
                        "revid": 1416,
                        "parentid": 1415,
                        "user": "203.70.154.221",
                        "anon": "",
                        "timestamp": "2006-08-31T19:08:56Z",
                        "comment": ""
                    },
                    {
                        "revid": 1452,
                        "parentid": 1416,
                        "minor": "",
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T11:30:05Z",
                        "comment": "Protected \"[[\u5206\u985e:\u5e6b\u52a9\u6587\u4ef6]]\" [edit=autoconfirmed:move=autoconfirmed]"
                    }
                ],
                "ns": 14,
                "title": "\u5206\u985e:\u5e6b\u52a9\u6587\u4ef6"
            },
            {
                "pageid": 1411,
                "revisions": [
                    {
                        "revid": 1422,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T19:17:19Z",
                        "comment": ""
                    }
                ],
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:JoeHorn"
            },
            {
                "pageid": 1412,
                "revisions": [
                    {
                        "revid": 1427,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-08-31T19:33:39Z",
                        "comment": ""
                    }
                ],
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:WikiADM"
            },
            {
                "pageid": 1413,
                "revisions": [
                    {
                        "revid": 1431,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T09:41:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 1432,
                        "parentid": 1431,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T09:42:00Z",
                        "comment": ""
                    },
                    {
                        "revid": 1433,
                        "parentid": 1432,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T09:43:53Z",
                        "comment": ""
                    },
                    {
                        "revid": 1434,
                        "parentid": 1433,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T09:44:24Z",
                        "comment": ""
                    },
                    {
                        "revid": 1435,
                        "parentid": 1434,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T09:44:35Z",
                        "comment": ""
                    }
                ],
                "ns": 4,
                "title": "\u555f\u793a\u9304:\u95dc\u65bc"
            },
            {
                "pageid": 1414,
                "revisions": [
                    {
                        "revid": 1436,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T09:52:17Z",
                        "comment": ""
                    }
                ],
                "ns": 4,
                "title": "\u555f\u793a\u9304:General disclaimer"
            },
            {
                "pageid": 1415,
                "revisions": [
                    {
                        "revid": 1437,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T09:57:00Z",
                        "comment": "Redirecting to [[\u5e6b\u52a9:Wiki \u7de8\u8f2f\u8a9e\u6cd5\u5217\u8868]]"
                    }
                ],
                "ns": 4,
                "title": "\u555f\u793a\u9304:\u5982\u4f55\u7de8\u8f2f\u9801\u9762"
            },
            {
                "pageid": 1416,
                "revisions": [
                    {
                        "revid": 1439,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T10:11:23Z",
                        "comment": ""
                    },
                    {
                        "revid": 1440,
                        "parentid": 1439,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T10:11:54Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u7db2\u8def\u983b\u5bec\u898f\u683c"
            },
            {
                "pageid": 1417,
                "revisions": [
                    {
                        "revid": 1441,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T10:12:09Z",
                        "comment": ""
                    },
                    {
                        "revid": 1442,
                        "parentid": 1441,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T10:12:16Z",
                        "comment": ""
                    },
                    {
                        "revid": 1454,
                        "parentid": 1442,
                        "minor": "",
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T11:30:31Z",
                        "comment": "Protected \"[[\u5206\u985e:\u7db2\u8def\u76f8\u95dc\u6587\u4ef6]]\" [edit=autoconfirmed:move=autoconfirmed]"
                    }
                ],
                "ns": 14,
                "title": "\u5206\u985e:\u7db2\u8def\u76f8\u95dc\u6587\u4ef6"
            },
            {
                "pageid": 1420,
                "revisions": [
                    {
                        "revid": 1446,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T11:20:00Z",
                        "comment": ""
                    },
                    {
                        "revid": 1447,
                        "parentid": 1446,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T11:21:54Z",
                        "comment": ""
                    },
                    {
                        "revid": 1448,
                        "parentid": 1447,
                        "minor": "",
                        "user": "JoeHorn",
                        "timestamp": "2006-09-02T11:24:05Z",
                        "comment": "\u7db2\u8def\u8df3\u7dda\u79fb\u52d5\u5230\u6587\u4ef6:\u7db2\u8def\u8df3\u7dda"
                    },
                    {
                        "revid": 1450,
                        "parentid": 1448,
                        "minor": "",
                        "user": "WikiADM",
                        "timestamp": "2006-09-02T11:26:14Z",
                        "comment": "\u6587\u4ef6:\u7db2\u8def\u8df3\u7dda\u79fb\u52d5\u5230\u7db2\u8def\u8df3\u7dda"
                    },
                    {
                        "revid": 1459,
                        "parentid": 1450,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-03T17:12:32Z",
                        "comment": ""
                    },
                    {
                        "revid": 1460,
                        "parentid": 1459,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-03T17:13:16Z",
                        "comment": ""
                    },
                    {
                        "revid": 1461,
                        "parentid": 1460,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-03T17:13:40Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u7db2\u8def\u8df3\u7dda"
            },
            {
                "pageid": 1428,
                "revisions": [
                    {
                        "revid": 1467,
                        "parentid": 0,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-03T17:47:48Z",
                        "comment": ""
                    },
                    {
                        "revid": 1468,
                        "parentid": 1467,
                        "user": "JoeHorn",
                        "timestamp": "2006-09-03T17:47:59Z",
                        "comment": ""
                    }
                ],
                "ns": 14,
                "title": "\u5206\u985e:\u8cc7\u6599\u5f59\u6574"
            }
        ]
    }
}