MediaWiki API 结果

这是JSON格式的HTML表示。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML表示,设置format=json

参见完整文档,或API 帮助以获取更多信息。

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data has changed. To receive raw query-continue data, use the 'rawcontinue' parameter. To silence this warning, pass an empty string for 'continue' in the initial query."
        }
    },
    "batchcomplete": "",
    "continue": {
        "accontinue": "\u5176\u4ed6\u8bbe\u5907\u9a71\u52a8",
        "continue": "-||"
    },
    "query": {
        "allcategories": [
            {
                "size": 0,
                "pages": 0,
                "files": 0,
                "subcats": 0,
                "*": "Test"
            },
            {
                "size": 0,
                "pages": 0,
                "files": 0,
                "subcats": 0,
                "*": "Windows10"
            },
            {
                "size": 0,
                "pages": 0,
                "files": 0,
                "subcats": 0,
                "*": "Windows7"
            },
            {
                "size": 0,
                "pages": 0,
                "files": 0,
                "subcats": 0,
                "*": "Windows8/8.1"
            },
            {
                "size": 0,
                "pages": 0,
                "files": 0,
                "subcats": 0,
                "*": "WindowsXP"
            },
            {
                "size": 0,
                "pages": 0,
                "files": 0,
                "subcats": 0,
                "*": "\u4e0b\u8f7d\u5de5\u5177"
            },
            {
                "size": 6,
                "pages": 6,
                "files": 0,
                "subcats": 0,
                "*": "\u4e3b\u677f\u9a71\u52a8"
            },
            {
                "size": 5,
                "pages": 5,
                "files": 0,
                "subcats": 0,
                "*": "\u5176\u4ed6\u5355\u9879\u670d\u52a1"
            },
            {
                "size": 0,
                "pages": 0,
                "files": 0,
                "subcats": 0,
                "*": "\u5176\u4ed6\u64cd\u4f5c\u7cfb\u7edf"
            },
            {
                "size": 36,
                "pages": 36,
                "files": 0,
                "subcats": 0,
                "*": "\u5176\u4ed6\u8bbe\u5907"
            }
        ]
    }
}