MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "accontinue": "\u4fe1\u4ef0",
        "continue": "-||"
    },
    "query": {
        "allcategories": [
            {
                "size": 2,
                "pages": 2,
                "files": 0,
                "subcats": 0,
                "*": "\u36bb"
            },
            {
                "size": 3,
                "pages": 3,
                "files": 0,
                "subcats": 0,
                "*": "\u4e00\u90e8"
            },
            {
                "size": 2,
                "pages": 1,
                "files": 0,
                "subcats": 1,
                "*": "\u4e16\u754c\u8a08\u5283"
            },
            {
                "size": 1,
                "pages": 0,
                "files": 0,
                "subcats": 1,
                "*": "\u4e16\u754c\u8a08\u5283\u6240\u9304\u4e4b\u66f2"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "\u4e16\u754c\u8a08\u5283\u66f8\u4e0b\u66f2"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "\u4e82"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "\u4e8c\u5b57\u8a5e"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "\u4f2f\u7406"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "\u4f5b\u6559"
            },
            {
                "size": 2,
                "pages": 2,
                "files": 0,
                "subcats": 0,
                "*": "\u4f5b\u862d\u897f\u4eba"
            }
        ]
    }
}