MediaWiki API 结果

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

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

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

{
    "continue": {
        "tlcontinue": "1|828|Namespace_detect/config",
        "continue": "||"
    },
    "query": {
        "pages": {
            "1": {
                "pageid": 1,
                "ns": 0,
                "title": "\u9996\u9875",
                "templates": [
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Copyright"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Ombox"
                    },
                    {
                        "ns": 828,
                        "title": "\u6a21\u5757:Arguments"
                    },
                    {
                        "ns": 828,
                        "title": "\u6a21\u5757:Category handler"
                    },
                    {
                        "ns": 828,
                        "title": "\u6a21\u5757:Category handler/blacklist"
                    },
                    {
                        "ns": 828,
                        "title": "\u6a21\u5757:Category handler/config"
                    },
                    {
                        "ns": 828,
                        "title": "\u6a21\u5757:Category handler/data"
                    },
                    {
                        "ns": 828,
                        "title": "\u6a21\u5757:Category handler/shared"
                    },
                    {
                        "ns": 828,
                        "title": "\u6a21\u5757:Message box"
                    },
                    {
                        "ns": 828,
                        "title": "\u6a21\u5757:Message box/configuration"
                    }
                ]
            }
        }
    }
}