MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gatcontinue": "Documentation|91",
        "continue": "gatcontinue||"
    },
    "query": {
        "pages": {
            "8": {
                "pageid": 8,
                "ns": 10,
                "title": "Template:\u793e\u54e1\u8cc7\u8a0a\u6846"
            },
            "9": {
                "pageid": 9,
                "ns": 10,
                "title": "Template:Infobox"
            },
            "80": {
                "pageid": 80,
                "ns": 0,
                "title": "\u984c\u76ee\u6558\u8ff0\u6545\u4e8b"
            },
            "84": {
                "pageid": 84,
                "ns": 0,
                "title": "TPS"
            },
            "85": {
                "pageid": 85,
                "ns": 10,
                "title": "Template:Memo"
            },
            "87": {
                "pageid": 87,
                "ns": 10,
                "title": "Template:Ifsubst"
            },
            "90": {
                "pageid": 90,
                "ns": 10,
                "title": "Template:Str left"
            },
            "99": {
                "pageid": 99,
                "ns": 10,
                "title": "Template:Loop"
            },
            "116": {
                "pageid": 116,
                "ns": 10,
                "title": "Template:Y"
            },
            "117": {
                "pageid": 117,
                "ns": 10,
                "title": "Template:N"
            }
        }
    }
}