MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "accontinue": "Installation_Server",
        "continue": "-||"
    },
    "query": {
        "allcategories": [
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "Available Plugins"
            },
            {
                "size": 7,
                "pages": 7,
                "files": 0,
                "subcats": 0,
                "*": "Developer documentation"
            },
            {
                "size": 8,
                "pages": 8,
                "files": 0,
                "subcats": 0,
                "*": "Development"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "HowTo-Technical"
            },
            {
                "size": 7,
                "pages": 7,
                "files": 0,
                "subcats": 0,
                "*": "Installation"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "Installation Database"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "Installation Development Prerequisites"
            },
            {
                "size": 7,
                "pages": 7,
                "files": 0,
                "subcats": 0,
                "*": "Installation Eclipse"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "Installation Installer"
            },
            {
                "size": 1,
                "pages": 1,
                "files": 0,
                "subcats": 0,
                "*": "Installation Linux"
            }
        ]
    }
}