MediaWiki API 結果

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

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

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

{
    "continue": {
        "rvcontinue": "20140927042356|2022",
        "continue": "||"
    },
    "query": {
        "pages": {
            "7": {
                "pageid": 7,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "zhwiki>PingvenoH",
                        "anon": "",
                        "timestamp": "2012-02-25T01:54:11Z",
                        "comment": "1 revision: \u7af9\u5712Wiki Feb 25"
                    },
                    {
                        "user": "Sylveon",
                        "timestamp": "2014-08-18T07:52:01Z",
                        "comment": "1\u500b\u4fee\u8a02"
                    },
                    {
                        "user": "Mp607",
                        "timestamp": "2014-08-18T15:40:33Z",
                        "comment": "fix redirect to \u9996\u9801"
                    },
                    {
                        "user": "Xiplus",
                        "timestamp": "2014-08-24T10:24:21Z",
                        "comment": "\u96d9\u91cd\u91cd\u5b9a\u5411"
                    },
                    {
                        "user": "Sylveon-bot",
                        "timestamp": "2014-09-08T14:05:01Z",
                        "comment": "\u6b63\u5728\u91cd\u5b9a\u5411\u5230 [[\u7af9\u5712Wiki\uff1a\u9996\u9801]]"
                    }
                ]
            }
        }
    }
}