MediaWiki API 結果

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

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

參見完整文件,或API幫助以獲取更多信息。

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "1459": {
                "pageid": 1459,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Verosso",
                        "timestamp": "2007-02-09T09:35:01Z",
                        "comment": ""
                    },
                    {
                        "user": "Vsy",
                        "timestamp": "2006-02-08T11:54:24Z",
                        "comment": "\u56de\u964d\u5230209.123.8.145\u7684\u6700\u5f8c\u4e00\u6b21\u7de8\u8f2f"
                    },
                    {
                        "user": "Jopdfkurekls",
                        "timestamp": "2006-02-08T10:06:06Z",
                        "comment": ""
                    },
                    {
                        "user": "209.123.8.145",
                        "anon": "",
                        "timestamp": "2006-01-13T20:09:26Z",
                        "comment": ""
                    },
                    {
                        "user": "Josesun",
                        "timestamp": "2005-04-08T21:18:24Z",
                        "comment": "Main Page \u79fb\u52d5\u5230 \u9996\u9801"
                    }
                ]
            }
        }
    }
}