MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "accontinue": "\u4eba\u5f62\u8bed\u97f3",
        "continue": "-||"
    },
    "query": {
        "allcategories": [
            {
                "size": 8,
                "pages": 8,
                "files": 0,
                "subcats": 0,
                "*": "Imported vocabulary"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "Mooncell\u529f\u80fd\u6a21\u677f"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "Name\u53c3\u6578\u548c\u5be6\u969b\u4e0d\u540c\u7684\u5c0e\u822a\u6846"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "PRTS\u529f\u80fd\u6a21\u677f"
            },
            {
                "size": 6,
                "pages": 6,
                "files": 0,
                "subcats": 0,
                "*": "\u4e0a\u4f4d\u51c0\u5316\u8005"
            },
            {
                "size": 24,
                "pages": 24,
                "files": 0,
                "subcats": 0,
                "*": "\u4e0b\u4f4d\u51c0\u5316\u8005"
            },
            {
                "size": 7,
                "pages": 7,
                "files": 0,
                "subcats": 0,
                "*": "\u4e2d\u4f4d\u51c0\u5316\u8005"
            },
            {
                "size": 5,
                "pages": 5,
                "files": 0,
                "subcats": 0,
                "*": "\u4e2d\u9636\u71b5"
            },
            {
                "size": 6,
                "pages": 6,
                "files": 0,
                "subcats": 0,
                "*": "\u4e3b\u7ebf\u6d3b\u52a8"
            },
            {
                "size": 93,
                "pages": 93,
                "files": 0,
                "subcats": 0,
                "*": "\u4eba\u5f62"
            }
        ]
    }
}