MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "accontinue": "\u666e\u901a\u89d2\u8272",
        "continue": "-||"
    },
    "query": {
        "allcategories": [
            {
                "size": 5,
                "pages": 0,
                "files": 0,
                "subcats": 5,
                "*": "\u4e16\u754c"
            },
            {
                "size": 6,
                "pages": 6,
                "files": 0,
                "subcats": 0,
                "*": "\u4e2d\u578b\u602a\u7269"
            },
            {
                "size": 3,
                "pages": 3,
                "files": 0,
                "subcats": 0,
                "*": "\u5168\u9762\u578b"
            },
            {
                "size": 9,
                "pages": 9,
                "files": 0,
                "subcats": 0,
                "*": "\u53f2\u8bd7\u89d2\u8272"
            },
            {
                "size": 8,
                "pages": 8,
                "files": 0,
                "subcats": 0,
                "*": "\u542b\u6709\u53d7\u635f\u6587\u4ef6\u94fe\u63a5\u7684\u9875\u9762"
            },
            {
                "size": 9,
                "pages": 9,
                "files": 0,
                "subcats": 0,
                "*": "\u5bd2\u51b0\u4e16\u754c"
            },
            {
                "size": 12,
                "pages": 12,
                "files": 0,
                "subcats": 0,
                "*": "\u5c0f\u578b\u602a\u7269"
            },
            {
                "size": 36,
                "pages": 32,
                "files": 0,
                "subcats": 4,
                "*": "\u602a\u7269"
            },
            {
                "size": 6,
                "pages": 6,
                "files": 0,
                "subcats": 0,
                "*": "\u6218\u5229\u54c1\u6a21\u677f"
            },
            {
                "size": 4,
                "pages": 4,
                "files": 0,
                "subcats": 0,
                "*": "\u654f\u6377\u578b"
            }
        ]
    }
}